Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam. Engage with interactive quizzes and detailed explanations tailored to help you master key concepts. Ensure you're ready for a successful career in the cloud computing industry!

Practice this question and more.


When using `gcloud compute ssh`, which flag shows the underlying SSH command?

  1. --dry-run

  2. --force

  3. --verbose

  4. --quiet

The correct answer is: --dry-run

The flag --dry-run when used with the gcloud compute ssh command shows the underlying SSH command. Option B --force instead forces gcloud to continue running despite an error which is not relevant to the actual SSH command. Option C: --verbose prints more info about the operation but not the SSH command. Option D: --quiet will only show SSH command output without SSH key fingerprints.