Google Cloud Associate Cloud Engineer — Question 286

You are managing a fleet of Compute Engine Linux instances in a Google Cloud project. Your company's engineering team requires SSH access to all instances to perform routine maintenance tasks. You need to manage the SSH access for the engineering team, and you want to minimize operational overhead when engineers join or leave the team. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because using OS Login with a Google Group allows centralized management of SSH access, reducing overhead when team members change. Option A is not ideal as sharing a single key poses security risks, while option B requires individual key management which increases operational tasks. Option C does not provide SSH access directly, as the Compute Viewer IAM role lacks permissions for SSH access.