What is the best way to root a 2012 Nexus 7 running 5.1.1 Lollipop?
Use the Nexus Root Toolkit. It is the easiest method, and will walk you through all the steps (setting up drivers, etc.)

Here's a link: http://www.wugfresh.com/