Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


You need to connect to one of your Compute Engine instances using SSH. You’ve already authenticated gcloud, but you don’t have an SSH key deployed yet. What’s the quickest method to establish an SSH connection?




Explanation:

The correct answer is B because gcloud compute ssh is the most straightforward and efficient method to establish an SSH connection. It automatically handles key generation and adds the key to the project's metadata for authentication. This command simplifies the process by eliminating the need for manual key management and IP address lookup, making it the quickest way to connect. For more details, refer to the GCP documentation on gcloud compute ssh.

Powered ByGPT-5