We are given a set of alkaline earth metals and their corresponding densities. To match the metals with their densities, we need to refer to their known values:
- \( \text{Be} \) has a density of \( 1.74 \, \text{g/cm}^3 \),
- \( \text{Mg} \) has a density of \( 1.84 \, \text{g/cm}^3 \),
- \( \text{Ca} \) has a density of \( 2.63 \, \text{g/cm}^3 \),
- \( \text{Sr} \) has a density of \( 1.55 \, \text{g/cm}^3 \).
Thus, the correct matching is:
A - III, B - II, C - I, D - IV.