Operational team needs administrative SSH access to many Compute Engine VMs; each employee has a Google account. To deploy credentials efficiently and ensure access is attributable, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Have each team member generate an SSH key pair and add their public key to their Google account. Grant the compute.osAdminLogin role to the Google group for this team..
Why this is the answer
The correct approach leverages OS Login, which integrates SSH access with Google identities. By having each team member generate their own SSH key pair and adding the public key to their Google account, their SSH access is directly tied to their individual identity. Granting the compute.osAdminLogin role to a Google Group simplifies management; all members of that group automatically gain administrative SSH access to VMs with OS Login enabled. This method ensures individual accountability and centralized access control. Distributing a single private key (options 1 and 4) is insecure and makes accountability impossible. Manually collecting and deploying individual public keys via a configuration management tool (option 2) is less efficient and scalable than OS Login, and it doesn't inherently link SSH access to Google identities for auditing.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed