Good question. If you look at the current exam description, it uses Ambari 1.7 which does not have Views for Pig and Hive:
http://hortonworks.com/training/class/hdp-certified-developer-hdpcd-exam/
However, the HDPCD exam is about to be updated to HDP 2.3 with Ambari 2.2, so anyone preparing for our exams - make sure you know which version of Ambari and HDP your exam will be on. This information will always be available on our website:
http://hortonworks.com/training/certification/
That being said, your exam is graded by the output of your code, so it is irrelevant how you write the code. You can use any text editor and run the scripts in any way you choose.