An earthquake of 6.9 magnitude struck off the thinly-populated community of Nikolski in the U.S. state of Alaska on Monday, the U.S. Geological Survey said.