A covalent bond forms when the electronegativity difference is less than 1.7. And the polarity will depend on this difference, for it to be a non-polar molecule the difference must be equal to 0.
The options they give us have that both molecules are made up of atoms of the same element. This means that the difference in electronegativity is equal to 0. When this happens, the molecule has no polarity, that is, it is nonpolar and also has covalent bonds.
Therefore, the answer will be: Both
Both bonds between atoms are nonpolar covalent bond