Here are a few resources to prepare for the exam:
AP Computer Science Principles Course and Exam Description
AP CS Principles Exam Review by Calvin Studebaker
AP Computer Science Principles Student Page
Code High School has a 74-question practice exam