
Explanation:
Option A is correct because enabling OS Login via the metadata “enable-oslogin=true” and granting the compute.osLogin role to the dev-1 group ensures that members can only access their designated VM without broader project access. Using Cloud Shell for SSH connections adds a layer of security. Options B, C, and D are incorrect due to unnecessary steps (B), security risks associated with manual key distribution (C), and lack of access restriction to other project resources (D).
Ultimate access to all questions.
No comments yet.
You are managing a multi-tier gaming application on Compute Engine. A VM within this stack is managed by another team, dev-1, who has requested SSH access to their VM in your GCP project. Your goal is to ensure dev-1 team members can only access their VM and no other resources in the project. What is the best approach to configure this access?
A
B
C
D