A powerful 7.0 magnitude earthquake shook the Andean nation of Peru on Wednesday with its epicenter some 350 miles (560 kilometers) northeast of the capital Lima.