Spark-shell launch command for exam



Hello All,

a very small and stupid question, but want to know before i appear for exam. I am using scala language.
does below command sufficient to launch multiple spark-shell windows:

spark-shell --master yarn

if above command is not sufficient then can i launch multiple terminal window by below command. What would be the port no here for exam VM.

spark-shell --master yarn --conf spark.ui.port=



is sufficient to launch terminal