Step 1: The mechanism wanted is corticosteroid-driven surfactant synthesis, so look for the systemic glucocorticoid that crosses the placenta.
Step 2: Dexamethasone fits exactly; given antenatally when preterm delivery is expected within $24$ to $48$ hours, it boosts surfactant and cuts respiratory distress syndrome.
Step 3: Folic acid targets neural tube defects, and beclomethasone is an inhaled asthma steroid that does not reach the fetus in useful amounts. Neither matures the lung, so dexamethasone stands.
\[\boxed{\text{Dexamethasone}}\]