GCP ACE · Question 20 · Domain 3.1: Deploying and implementing Compute Engine resources
A third-party contractor needs SSH access to a specific Compute Engine instance named 'db-admin-vm'. You do not want to grant them IAM access to the Google Cloud project. You have their public SSH key.
How should you grant them access to this specific VM?
Answer options:
Add their public SSH key to the project-level metadata.
Add their public SSH key to the custom metadata of the 'db-admin-vm' instance.
Create a local user account on the VM using a startup script.
Grant them the 'Compute OS Login' IAM role on the specific instance.
50 questions · hints · full answers · grading