An airport can contain a high number of boarding gates, not all of them are used 100% of the times. It would be very inefficient to allocate space and equipment for security check at each boarding gate.<p>Furthermore security checks can induce a variable amount of delays, it's better to perform them a little earlier than actual boarding in order to amortize for eventual delays.<p>One solution would be to have another waiting room after the boarding gate security check, and force people to pass to the "boarding security check" earlier than needed, forcing them to wait in the boarding room.<p>But there is no need to allocate a single waiting room for each boarding gate, as you can assume that each boarding gate security check is performed with the same criteria, you can have a single waiting area in order to optimize space. You will have then second level boarding gates for actual boarding.<p>And of course, since people are waiting there doing nothing, you can monetize them by providing shops, bars etc.... but wait, we are back where we started