CCA 175 certification exam pyspark session


I have question to who have cleared/attended for CCA175 exam using Pyspark

How did you invoke pyspark to import avro packages during exam?
in labs i do:
pyspark --master yarn --conf saprk.ui.port=1239 --packages com.databricks:spark-avro_2.10:2.0.1

I learnt that internet will not work in exam environment, how avor libraries are imported in session?