Sodium is highly reactive and reacts explosively with acids.
Magnesium and iron reacts with dilute acids such as dilute HCl, and releases hydrogen gas. Rate of reaction is slow in case of iron as its reactivity is less than magnesium.
Gold is a noble metal. It does not react with acids, so it is least reactive in nature.