How would that be possible when you don't know the time, place or date of the attack?
I do not know that Israel did know there was going to be an attack, but the news story claims they did know, and they knew the basics of the attack. If the news story is correct, then they did know the time, place, and manner of the attack.
But let's just say they knew an attack was coming from Hamas. Gaza is a small place, so they would have known the basic place of the attack, and they could have had forces in the area to repulse the attack.
OR EVEN IF THEY HAD NO SPECIFIC INFORMATION ABOUT AN ATTACK, it would still be reasonable to think an attack was possible, and there should be forces in the area to defend against them.
Netanyahu was sure that Hamas was harmless, and he was completely wrong. If Hamas was harmless, then Egypt and Jordan being harmless too, means there is no need for forces in the south, only in the north.
How did Bush decide to do nothing about 9-11? Discuss.
What did he do to prevent 9/11? The question is not whether Bush did anything, but whether he should have been doing something. Clearly, he did nothing. I would argue that was a mistake, which he should have known even at the time.