Jamie Whincup continued his strong start to the season by taking pole position for the second race of the Desert 400 at the Bahrain International Circuit.