Incorrect!

When are you allowed to use hazard warning lights?

When stopped and temporarily obstructing traffic
Correct answer
When travelling during darkness without headlights
You selected this answer
When parked on double yellow lines to visit a shop
When travelling slowly because you're lost

DVSA theory test explanation

You must not use hazard warning lights while moving, except to warn traffic behind when you slow suddenly on a motorway or unrestricted dual carriageway. Never use hazard warning lights to excuse dangerous or illegal parking.