A magnitude-6.2 earthquake rattled Indonesia's Northern Sumatra on Monday at a depth of 23 kilometers, the country's geophysics agency (BMKG) said.