An earthquake of magnitude of 4.2 struck Assams Udalguri on Sunday morning, the National Center for Seismology (NCS) said.