If you're doing it all the time, then yes it's a problem and the DM should plan encounters better. However if you see a battle going wrong it's a quick and easy fix.
If the players attack the castle, and you've said the guards are strong, but they're about to go down in one hit, beef them up.
Especially, as it relates to the article, if you find players using all their resources and trivializing everything.