Having travelled through Ataturk quite a couple of times, I felt that this first security checkpoint was the weakest link - that was the place for IS to strike.
You can only access the IST international terminal building (departure) only by going through this x-ray checkpoint. I haven't noticed armed security personal there. The checkpoint is not well guarded, so I am not surprised the terrorist just stormed through it.