GCP ACE · Question 21 · Domain 3.1: Deploying and implementing Compute Engine resources
An external contractor needs SSH access to a specific Compute Engine instance named 'db-admin-vm' to perform maintenance. You do not want to grant them IAM access to the Google Cloud project.
How should you provide them access?
Answer options:
Grant the contractor the roles/compute.osLogin role on the project.
Ask the contractor for their public SSH key and add it to the project-level metadata.
Ask the contractor for their public SSH key and add it to the metadata of the 'db-admin-vm' instance.
Create a service account, download the JSON key, and send it to the contractor.
50 questions · hints · full answers · grading