Spark Mode Default



when i simply launch spark-shell , in which mode isit launched - local or clustered?

I am assuming it is local mode, because when I trired to find session tracking URL , I could not find any
However when i launched spark as spark-shell --master yarn , i could see the session URL .

Is this assumption correct?Btw I am testing in itversity lab.