AIF-C01 Applications of Foundation Models Practice Question
Exhibit
Refer to the exhibit.
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "bedrock:InvokeModel",
"Resource": "arn:aws:bedrock:us-east-1:123456789012:model/anthropic.claude-v2"
},
{
"Effect": "Deny",
"Action": "bedrock:InvokeModel",
"NotResource": "arn:aws:bedrock:us-east-1:123456789012:model/anthropic.claude-v2"
}
]
}
```Refer to the exhibit. An IAM policy is attached to a user. Which models can the user invoke?
⚠ Common exam trap
The AIF-C01 exam often tests the distinction between an exact resource ARN and a wildcard pattern; candidates mistakenly assume that 'claude' in the model ID implies all Claude models are allowed, but without a wildcard, only the exact model specified is permitted.
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
✓
Only Claude v2
The IAM policy explicitly allows the `bedrock:InvokeModel` action only on the resource ARN `arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2`. This means the user can invoke only the Claude v2 model. No other models, including other Claude versions or any model with 'claude' in its name, are permitted because the resource ARN is exact and does not use wildcards.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Only Claude v2
Why this is correct
The Allow grants access to Claude v2; the Deny using NotResource denies everything else.
- ✗
No models
Why it's wrong here
Allow statement grants access to Claude v2.
- ✗
Claude v2 and any model with a name containing 'claude'
Why it's wrong here
The policy only allows the specific ARN.
- ✗
Any model in the account
Why it's wrong here
The Deny restricts access to models other than Claude v2.
Go deeper
Related to this question
About these practice questions
One of 619 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.