A moderate earthquake with a magnitude of 5.9 struck Northern Sumatra, Indonesia, at 4.06am on Sunday (April 19).