It not deterministic scenario, if it was we would all use one tactic.
There are some cases where hard attacking works (eg if oppo players with many players behind the midfield and is weaker) and there are times it can be a complete disaster.
I ve experienced both.
But on the overall through many last seasons, I have concluded that playing defensive most times gives you somehow a better effciency