A magnitude-5.0 earthquake jolted central Peru at a depth of 10 kilometers on Friday, the GFZ German Research Centre for Geosciences said.