An earthquake with a preliminary magnitude of 5.7 struck Guam at 9:06 a.m., the U.S. Geological Survey reported.