The Palais des Festivals was the site of a simulated terrorist attack as part of security preparations for the Cannes flim festival.