The answer is the Deny statement blocking requests because the condition does not match the resource ARN's region. This occurs because the Deny statement uses a `StringNotEquals` condition on `aws:RequestedRegion` set to `us-east-1`, meaning the Deny applies to any request where the requested region is NOT `us-east-1`. Since the resource ARN is `arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2`, the condition evaluates the request’s region, not the resource’s region, so if the application invokes Claude v2 from a different region, the Deny triggers and blocks access. On the AWS Certified AI Practitioner AIF-C01 exam, this tests your understanding of how IAM policy evaluation logic works, especially the precedence of explicit Deny over Allow and the subtle trap of confusing `aws:RequestedRegion` with the resource ARN’s region. A common mistake is assuming the Deny only applies to the resource’s own region, but the condition actually checks the caller’s region. Memory tip: “Deny checks the call, not the ARN’s wall.”
AIF-C01 Fundamentals of Generative AI Practice Question
This AIF-C01 practice question tests your understanding of fundamentals of generative ai. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 developer attached this IAM policy to a role used by an application that invokes Claude v2 in us-east-1. The application receives an access denied error. What is the MOST likely cause?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The Deny statement is blocking requests because the condition does not match the resource ARN's region
The Deny statement uses a `StringNotEquals` condition on `aws:RequestedRegion` set to `us-east-1`. This means the Deny applies to any request where the requested region is NOT `us-east-1`. Since the resource ARN in the Deny statement is `arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2`, the condition does not match the resource's region (the resource ARN itself is in us-east-1), but the Deny is triggered when the request is made to a different region, blocking the call. The application is likely invoking the model from a region other than us-east-1, causing the Deny to take effect.
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.
✗
The Allow statement does not include a condition on the region
Why it's wrong here
Allow statements without conditions are fine; they grant permission.
✓
The Deny statement is blocking requests because the condition does not match the resource ARN's region
Why this is correct
The Deny condition checks aws:RequestedRegion, which may differ from the region in the resource ARN if requests are made to a different region.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
The Deny statement uses StringNotEquals instead of StringEquals
Why it's wrong here
StringNotEquals is correct to deny if region is not us-east-1.
✗
The resource ARN in the Allow statement is incorrect
Why it's wrong here
The ARN appears valid.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco often tests the subtle interaction between Allow and Deny statements with condition operators, where candidates mistakenly think the Deny is blocking because of a region mismatch on the resource ARN itself, rather than understanding that the Deny's condition evaluates the request's region, not the resource's region.
Detailed technical explanation
How to think about this question
The `StringNotEquals` condition operator in IAM policies evaluates to true when the request's `aws:RequestedRegion` does NOT match the specified value, causing the Deny to block requests from any region other than us-east-1. This is a common pattern for enforcing regional access boundaries, but it can inadvertently block cross-region invocations if the application's runtime region differs from the model's region. In Bedrock, foundation model ARNs are region-specific, and invoking a model from a different region (e.g., via a client SDK configured for us-west-2) will trigger the Deny even if the resource ARN is correct.
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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
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.
Fundamentals of Generative AI — This question tests Fundamentals of Generative AI — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The Deny statement is blocking requests because the condition does not match the resource ARN's region — The Deny statement uses a `StringNotEquals` condition on `aws:RequestedRegion` set to `us-east-1`. This means the Deny applies to any request where the requested region is NOT `us-east-1`. Since the resource ARN in the Deny statement is `arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2`, the condition does not match the resource's region (the resource ARN itself is in us-east-1), but the Deny is triggered when the request is made to a different region, blocking the call. The application is likely invoking the model from a region other than us-east-1, causing the Deny to take effect.
What should I do if I get this AIF-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 →
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.
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 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.