The correct answer to this question is letter D. magnesium and fluorine
The pairs of elements that is most likely to form an ionic compound is magnesium and fluorine. The ionic bond will be most of the time formed by combination of S block element with p block elements.