The correct option is B a magnetic material
Like poles of magnets repel each other. Hence, for the object to be a magnet, either of the poles of the magnet should repel the object. In case of the object being a non-magnetic material, the magnet would not even interact with the object. If the object is attracted by both the poles of the magnet, it is definitely a magnetic material.