- A
Access is denied because both the time and IP conditions are not satisfied.
The condition evaluates to false because time is after the expiration and source IP is not allowed.
- B
Access is denied because the role does not include storage.objects.create permission.
Why wrong: roles/storage.objectAdmin includes storage.objects.create for uploading.
- C
Access is granted because the condition is not evaluated for uploads.
Why wrong: Conditions are evaluated for all operations, including uploads.
- D
Access is granted because the IP condition is satisfied.
Why wrong: The IP is not in the allowed range, so the condition is not satisfied.
Quick Answer
The answer is access is denied because both the time and IP conditions are not satisfied. This result stems from the IAM condition with AND logic, where the `&&` operator in the expression `request.time < timestamp('2024-12-31T23:59:59Z') && source.ip in ['203.0.113.0/24']` requires every subcondition to be true simultaneously for the role binding to grant permissions. Since Alice’s request occurs on 2025-01-01, the time condition fails, and her IP address 198.51.100.10 is outside the allowed range, neither requirement is met, so the entire condition evaluates to false and access is denied. On the Google Professional Cloud Security Engineer exam, this scenario tests your ability to parse IAM condition expressions and understand how AND logic enforces multiple constraints, often appearing in questions about conditional role bindings for storage or compute resources. A common trap is assuming that if one condition is satisfied, partial access is granted—but with AND logic, all conditions must hold. Remember the mnemonic “AND demands all” to avoid this pitfall.
PCSE Practice Question: Configuring access within a cloud solution environment
This PCSE practice question tests your understanding of configuring access within a cloud solution environment. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
Refer to the exhibit. The output shows that Alice has the following IAM policy binding:
{
"role": "roles/storage.objectAdmin",
"members": ["user:alice@example.com"],
"condition": {
"title": "storage_access_condition",
"expression": "request.time < timestamp('2024-12-31T23:59:59Z') && source.ip in ['203.0.113.0/24']"
}
}Alice is currently working from an IP address 198.51.100.10, and the date is 2025-01-01. What is the result when Alice tries to upload an object to a bucket in this project?
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
Access is denied because both the time and IP conditions are not satisfied.
Alice's IAM policy binding includes a condition that requires both the request time to be before 2024-12-31T23:59:59Z and the source IP to be within 203.0.113.0/24. Since the current date is 2025-01-01, the time condition fails, and her IP address 198.51.100.10 is not in the allowed range. With a condition that uses AND logic, both subconditions must be true for access to be granted; because neither is satisfied, access is denied.
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.
- ✓
Access is denied because both the time and IP conditions are not satisfied.
Why this is correct
The condition evaluates to false because time is after the expiration and source IP is not allowed.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Access is denied because the role does not include storage.objects.create permission.
Why it's wrong here
roles/storage.objectAdmin includes storage.objects.create for uploading.
- ✗
Access is granted because the condition is not evaluated for uploads.
Why it's wrong here
Conditions are evaluated for all operations, including uploads.
- ✗
Access is granted because the IP condition is satisfied.
Why it's wrong here
The IP is not in the allowed range, so the condition is not satisfied.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that a condition with multiple subconditions grants access if any one subcondition is met, but the AND logic requires all subconditions to be true simultaneously.
Detailed technical explanation
How to think about this question
IAM condition expressions use the Common Expression Language (CEL) and are evaluated at request time; if any part of a conjunction (AND) evaluates to false, the entire condition fails. The timestamp comparison uses RFC 3339 format, and the source.ip attribute is derived from the TCP connection's source address, which cannot be spoofed in Google Cloud. In practice, this means a user with a valid role but failing a condition receives a 403 Forbidden error, and the audit logs will record the condition evaluation result.
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.
- →
Configuring access within a cloud solution environment — study guide chapter
Learn the concepts, then practise the questions
- →
Configuring access within a cloud solution environment practice questions
Targeted practice on this topic area only
- →
All PCSE questions
500 questions across all exam domains
- →
Google Professional Cloud Security Engineer study guide
Full concept coverage aligned to exam objectives
- →
PCSE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCSE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Configuring network security practice questions
Practise PCSE questions linked to Configuring network security.
Configuring access within a cloud solution environment practice questions
Practise PCSE questions linked to Configuring access within a cloud solution environment.
Ensuring data protection practice questions
Practise PCSE questions linked to Ensuring data protection.
Managing operations in a cloud solution environment practice questions
Practise PCSE questions linked to Managing operations in a cloud solution environment.
Supporting compliance requirements practice questions
Practise PCSE questions linked to Supporting compliance requirements.
PCSE fundamentals practice questions
Practise PCSE questions linked to PCSE fundamentals.
PCSE scenario practice questions
Practise PCSE questions linked to PCSE scenario.
PCSE troubleshooting practice questions
Practise PCSE questions linked to PCSE troubleshooting.
Practice this exam
Start a free PCSE 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 PCSE question test?
Configuring access within a cloud solution environment — This question tests Configuring access within a cloud solution environment — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Access is denied because both the time and IP conditions are not satisfied. — Alice's IAM policy binding includes a condition that requires both the request time to be before 2024-12-31T23:59:59Z and the source IP to be within 203.0.113.0/24. Since the current date is 2025-01-01, the time condition fails, and her IP address 198.51.100.10 is not in the allowed range. With a condition that uses AND logic, both subconditions must be true for access to be granted; because neither is satisfied, access is denied.
What should I do if I get this PCSE 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 →
Last reviewed: Jun 30, 2026
This PCSE 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 PCSE exam.
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.
Sign in to join the discussion.