Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
Your team needs to deploy all public SSH keys to a specific Bastion host instance within a particular project. After collecting all the keys, what is the most efficient method to deploy them with minimal steps?
A
Format the keys as required and manually upload each key one by one through the user interface.
B
Use the gcloud compute ssh command to upload all the keys at once.
gcloud compute ssh
C
Compile all keys into a properly formatted file and use the gcloud compute instances add-metadata command to upload them to each instance individually.
gcloud compute instances add-metadata
D
Compile all keys into a properly formatted file and use the gcloud compute project-info add-metadata command to upload them to the project's metadata.
gcloud compute project-info add-metadata