nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #343

You have a number of compute instances belonging to an unmanaged instances group. You need to SSH to one of the Compute Engine instances to run an ad hoc script. You've already authenticated gcloud, h

Sign in or unlock ASSOCIATE-CLOUD-ENGINEER to reveal the answer and full explanation for question #343. The question stem and answer options stay visible for context.

Submitted by saadiq_pk· Mar 30, 2026Ensuring successful operation of a cloud solution

Question

You have a number of compute instances belonging to an unmanaged instances group. You need to SSH to one of the Compute Engine instances to run an ad hoc script. You've already authenticated gcloud, however, you don't have an SSH key deployed yet. In the fewest steps possible, what's the easiest way to SSH to the instance?

Options

  • ARun gcloud compute instances list to get the IP address of the instance, then use the ssh
  • BUse the gcloud compute ssh command.
  • CCreate a key with the ssh-keygen command. Then use the gcloud compute ssh command.
  • DCreate a key with the ssh-keygen command. Upload the key to the instance. Run gcloud compute

Unlock ASSOCIATE-CLOUD-ENGINEER to see the answer

You've previewed enough free ASSOCIATE-CLOUD-ENGINEER questions. Unlock ASSOCIATE-CLOUD-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#gcloud compute ssh#SSH key management#Compute Engine access
Full ASSOCIATE-CLOUD-ENGINEER Practice