Question 211 of 500
Configuring access and securitymediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is IAM Conditions on the role binding. This is correct because IAM Conditions allow you to enforce time-based access control in Google Cloud by evaluating the `request.time` attribute against a CEL (Common Expression Language) condition, such as restricting access to Monday–Friday, 9am–5pm. When you bind the Storage Object Viewer role to the contractor, you attach a condition that checks the current time, granting permissions only within that window. On the Google Associate Cloud Engineer exam, this tests your understanding of fine-grained, attribute-based access control beyond simple role assignments—a common trap is confusing IAM Conditions with organization policies or VPC Service Controls, which handle broader constraints. Remember the memory tip: “Time-bound roles need a condition on the binding, not a policy on the resource.”

Google ACE Configuring access and security Practice Question

This ACE practice question tests your understanding of configuring access and security. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A team wants to grant a contractor the Storage Object Viewer role on a specific bucket path, but only during business hours (Monday–Friday, 9am–5pm local time). Which IAM feature supports these conditions?

Question 1mediummultiple choice
Read the full NAT/PAT explanation →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

IAM Conditions on the role binding

IAM Conditions allow you to define time-based constraints on role bindings using the `request.time` attribute. By setting a condition that restricts access to Monday–Friday, 9am–5pm, the contractor is granted the Storage Object Viewer role only during those hours. This is the native IAM feature designed for such fine-grained, attribute-based access control.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • IAM deny policies scoped to non-business hours

    Why it's wrong here

    IAM deny policies block specific permissions regardless of allow policies, but using deny policies to enforce time-based access is overly complex and error-prone compared to Conditions.

  • IAM Conditions on the role binding

    Why this is correct

    IAM Conditions allow adding time-based (date/time of day, day of week) and resource-based (resource name prefix) constraints directly to role bindings without modifying the broader IAM policy.

    Related concept

    Read the scenario before looking for a memorised answer.

  • VPC Service Controls with a time-based access policy

    Why it's wrong here

    VPC Service Controls enforce which services are accessible from a perimeter — they don't support time-of-day access restrictions on individual IAM bindings.

  • Cloud Scheduler removing and re-adding the IAM binding on a schedule

    Why it's wrong here

    Programmatically toggling IAM bindings via Cloud Scheduler is fragile, introduces latency, and is unnecessary given IAM Conditions.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between IAM Conditions (which are attribute-based and evaluated at runtime) and external scheduling mechanisms like Cloud Scheduler, leading candidates to mistakenly choose the latter as a 'valid' solution despite its lack of native IAM integration and potential for access gaps.

Detailed technical explanation

How to think about this question

IAM Conditions use the Common Expression Language (CEL) to evaluate attributes like `request.time` and `request.dayOfWeek`. The condition `request.time.getHours("America/Los_Angeles") >= 9 && request.time.getHours("America/Los_Angeles") < 17 && request.dayOfWeek in [1,2,3,4,5]` ensures access only during business hours in a specified timezone. This approach is evaluated at request time, providing granular, real-time enforcement without the need for external automation.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related ACE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free ACE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this ACE question test?

Configuring access and security — This question tests Configuring access and security — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: IAM Conditions on the role binding — IAM Conditions allow you to define time-based constraints on role bindings using the `request.time` attribute. By setting a condition that restricts access to Monday–Friday, 9am–5pm, the contractor is granted the Storage Object Viewer role only during those hours. This is the native IAM feature designed for such fine-grained, attribute-based access control.

What should I do if I get this ACE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.