An earthquake of magnitude 4.1 earthquake struck a region of Northern California between the state capital and the San Francisco Bay region on Wednesday, triggering alarms for earthquakes that are automated.