Tell them apart
The flags of Syria and Yemen are both pan-Arab horizontal tricolours with a white middle band over black, so they’re easy to mix up at a glance. This is what gives each one away:
Drill Syria, Yemen, Egypt and Iraq: each flag once, in random order. Place it on the map, then name it.