Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your organization is establishing security controls for continuous deployment pipelines targeting a critical production Google Cloud project. You need to implement an environment-aware access control mechanism for engineers who trigger and approve production release pipelines to enforce least privilege.
The solution must satisfy the following requirements:
Which approach should you implement?
Context-Aware Access in Google Cloud combines Access Context Manager (ACM), Chrome Enterprise Premium, and Identity and Access Management (IAM) Conditions. This framework enables organizations to define granular, attribute-based access policies that dynamically grant or deny permissions based on the context of the caller (such as source IP address, geographic location, and device security posture) rather than relying exclusively on user identity.
request.auth.access_levels.contains(...), IAM validates whether the incoming request satisfies the specified access level on every individual API call.Using native IAM Conditions linked to an Access Context Manager access level provides direct, programmatic enforcement at the Google Cloud resource management plane without needing custom proxy infrastructure or manual policy synchronization scripts.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.