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 must configure temporary, schedule-restricted access for a third-party security auditor in a specific Google Cloud project. The access policy must satisfy the following criteria:
roles/iam.securityReviewer).Europe/Berlin time zone.2025-12-31T23:59:59Z).Which Common Expression Language (CEL) IAM condition and policy structure should the security engineer implement?
This configuration applies an IAM Condition to a role binding using Common Expression Language (CEL) attributes, while setting the IAM allow policy schema version to version: 3.
request.time < timestamp('2025-12-31T23:59:59Z') validates that any incoming request occurs before the absolute deadline.request.time.getHours('Europe/Berlin') >= 9 && request.time.getHours('Europe/Berlin') <= 17 restrict access to the designated operational window between 09:00 and 17:00 in the specified time zone.request.time.getDayOfWeek('Europe/Berlin') >= 1 && request.time.getDayOfWeek('Europe/Berlin') <= 5 ensure that access is permitted only Monday (1) through Friday (5).version: 3 to support and evaluate conditional role bindings. If the policy version is set to 1, conditions cannot be preserved or evaluated.This approach directly satisfies least privilege and time-bounded compliance requirements in a single, declarative policy binding without requiring external automation scripts or manual interventions.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.