Of course 12.7 mm or RPGs - is not a defense. But it's better than nothing.
But from splinters fougasses and small arms should be effective ...
The terrorists who organize ambush, do not always have heavy weapons. And when there is - who knows for what purposes it will be directed in the first place? Maybe for RPGs and heavy machine guns will be more important goal in attacking transport columns.