Answer:
D. near an ocean coastline
Explanation:
The magnetic needle of a compass can be deviated by the magnetic field that the ocean has, this is important to remember because eventhough it´s not a big difference but it is significant enough to keep it in mind. Ocean can attract the magnetic needle of the compass and create a deviation on it.