The correct option is B Repulsion
Magnet always attract a magnetic material like iron. However, like poles of magnet attract and unlike poles repel. Let us assume that the object to be identified is brought near a magnet, and it attracts to the magnet. Then, it may be a magnet or a magnetic material. So, attraction cannot be a sure test.
However, if the object repelled from the magnet, then we can surely say that the object is a magnet. Hence, repulsion is a sure test for magnetism.