<em><u>Ionic bond is a type of bond that is formed between a metal and a non metal. </u></em>This type of bond occurs as a result of transfer of electrons where an atom of a metal looses electrons and that of a non metal gains electrons. Consequently, t<em><u>he atoms involved attain a stable configuration, where one becomes a cation and the other becomes an anion.</u></em>
In this case, <em><u>magnesium and silicon will form an ionic bond</u></em> because magnesium is a metal and silicon is a non metal, such that <em><u>magnesium requires to loose two electrons and silicon requires to gain four electrons to attain a stable configuration and form an ionic compound.</u></em>