Bird
0
0

You want to create an Access Policy that restricts access to a Google Cloud project only during business hours (9 AM to 5 PM) on weekdays. Which Access Context Manager feature should you use?

hard📝 Application Q8 of 15
GCP - Cloud IAM Advanced
You want to create an Access Policy that restricts access to a Google Cloud project only during business hours (9 AM to 5 PM) on weekdays. Which Access Context Manager feature should you use?
AUse a Time-based Access Level condition specifying allowed hours and days
BUse a devicePolicy condition requiring device encryption
CUse an IP subnet condition limiting access to office IPs
DUse a userRole condition granting access only to admins
Step-by-Step Solution
Solution:
  1. Step 1: Identify requirement for time-based access control

    The policy must restrict access by time and day, which requires time-based conditions.
  2. Step 2: Match features to requirement

    Only Use a Time-based Access Level condition specifying allowed hours and days mentions time-based Access Level conditions for hours and weekdays.
  3. Final Answer:

    Use a Time-based Access Level condition specifying allowed hours and days -> Option A
  4. Quick Check:

    Time-based conditions control access by hours/days [OK]
Quick Trick: Use time-based conditions for access by hours and weekdays [OK]
Common Mistakes:
  • Using device or IP conditions for time restrictions
  • Confusing user roles with time-based access
  • Ignoring time-based condition feature

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes