An earthquake of magnitude 4.2 and depth of 5.40 kilometers occurred 4.58 miles from Ridgecrest, CA in Kern County at 01:05 PM.