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 GCP project, and you do not want to use OS Login. You have generated an SSH key pair.
Which TWO steps must you take to grant them access using this key pair? (Select TWO)
Answer options:
Format the public key with the contractor's username.
Add the private key to the instance metadata of 'db-admin-vm'.
Add the public key to the project-level metadata.
Add the public key to the instance metadata of 'db-admin-vm'.
Assign the contractor the roles/compute.osLogin role.
50 questions · hints · full answers · grading