Professional Cloud Security 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.
A security engineer is rolling out strict service authorization policies for containerized microservices deployed across a Google Cloud environment. Before transitioning the policies to active blocking enforcement, the security team must evaluate the impact of a new denial policy against live production traffic to verify that legitimate services are not inadvertently blocked. Furthermore, the team needs to audit and inspect the simulated policy evaluation outcomes within Cloud Logging.
Which configuration should the security engineer implement to evaluate the policy safely without interrupting traffic?
Dry-run mode is an advanced policy evaluation mechanism in Cloud Service Mesh and Kubernetes authorization frameworks that allows security policies to be evaluated against real, live production traffic without applying active blocking enforcement. By attaching the "istio.io/dry-run": "true" annotation to the AuthorizationPolicy custom resource metadata, the mesh control plane instructs sidecar proxies to calculate policy decisions while permitting all requests to proceed.
"istio.io/dry-run": "true" ensures that the proxy evaluates every request against configured rules, allowing administrators to understand the potential impact before enforcing strict denials.dry_run_result, dry_run_policy_name, and dry_run_policy_rule).labels.dry_run_result="AuthzDenied" in Logs Explorer directly isolates requests that would have been rejected under active enforcement.Using native dry-run mode eliminates the risk of accidental production outages during security policy onboarding while generating exact audit logs of policy evaluation behavior.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.