The petting zoo is located in the Jurassic World park/hub. From the starting point, go right on the boardwalk and you'll come across a sign saying "Petting Zoo". Go in there. Simply change into a Velociraptor by either holding
or using the blue paddock next to the goal. Now just use the Raptor and run into the ball to move it. It can be tricky to get it to go where you want, but keep at it and you'll knock it into the goal just fine!
Video (not mine):
Hint: Knock 3 balls into the goal to get a gold brick!