An earthquake of magnitude 1.4 and depth of 5.40 kilometers occurred 1.61 miles from Cupertino, CA in Santa Clara County at 03:56 AM.