The correct option is A Both statements are true.
Rusting of iron happens when iron reacts with oxygen and moisture from the atmosphere. Hence, it can be prevented by cutting off the contact of the surface of the metal with the atmosphere.
This can be done by methods like painting, oiling, greasing, etc. During these methods a layer of different substance is coated on the metal surface to prevent it from further reacting with the atmospheric oxygen and water.