0
If technitium loses 7 electrons, then it will have a noble gas electronic configuration.
Magnesium is not a noble metal. Magnesium is highly reactive, a noble metal is the exact opposite.
All noble gases are non-metals, there is no metal.
Neon is a non metal, it is also a noble gas.