This AIF-C01 practice question tests your understanding of fundamentals of ai and ml. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: iAM Policy. 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. A data scientist attaches the above IAM policy to a SageMaker notebook instance role. The notebook is in the same AWS account as the S3 bucket. When trying to read a file from 's3://my-bucket/training/data.csv', the data scientist gets 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.
Why wrong: File names with spaces do not cause Access Denied; they might cause a different error if not properly URL-encoded.
B
The policy does not grant 's3:ListBucket' permission
Why wrong: s3:ListBucket is not required to read a specific object; only s3:GetObject is needed for direct access.
C
The S3 bucket is in a different Region
A different Region can cause Access Denied if the bucket policy restricts requests by Region, which is a plausible cause here.
D
The policy allows 's3:PutObject' which is not needed
Why wrong: Allowing s3:PutObject does not prevent read operations; the absence of s3:GetObject would cause the error, but this option does not state that.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The S3 bucket is in a different Region
The Access Denied error is most likely due to the S3 bucket being in a different Region. While IAM policies are global, bucket policies can include conditions that restrict access based on the request's Region. If the bucket policy denies requests from the Region where the SageMaker notebook is running, the read operation fails. The other options are incorrect: file name spaces cause a different error (NoSuchKey), s3:ListBucket is not required for direct object reads with GetObject, and allowing s3:PutObject does not cause Access Denied for reads.
Key principle: IAM Policy
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 file name contains spaces
Why it's wrong here
File names with spaces do not cause Access Denied; they might cause a different error if not properly URL-encoded.
✗
The policy does not grant 's3:ListBucket' permission
Why it's wrong here
s3:ListBucket is not required to read a specific object; only s3:GetObject is needed for direct access.
✓
The S3 bucket is in a different Region
Why this is correct
A different Region can cause Access Denied if the bucket policy restricts requests by Region, which is a plausible cause here.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
IAM Policy
✗
The policy allows 's3:PutObject' which is not needed
Why it's wrong here
Allowing s3:PutObject does not prevent read operations; the absence of s3:GetObject would cause the error, but this option does not state that.
Common exam traps
Common exam trap: answer the scenario, not the keyword
A common trap in the AIF-C01 exam is assuming that Access Denied errors are always due to missing IAM permissions. However, bucket policies and cross-Region restrictions can also cause denials even when IAM allows the action.
Detailed technical explanation
How to think about this question
Under the hood, the AWS SDK for Python (boto3) when calling `s3_client.get_object()` first issues a HEAD request to the object, but some high-level operations (e.g., `s3fs` or `pandas.read_csv('s3://...')`) may implicitly call ListObjects to verify the bucket exists or to list prefixes. The IAM policy evaluation denies any action not explicitly allowed, so missing 's3:ListBucket' blocks these implicit calls. In real-world scenarios, this is a common misconfiguration when granting only object-level permissions without bucket-level listing.
KKey Concepts to Remember
IAM Policy
S3 Bucket Policy
Cross-Region Access
s3:GetObject
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
IAM Policy
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.
Quick reference
AWS S3 Storage Class Comparison
Storage Class
Min Duration
Retrieval
Use Case
S3 Standard
None
Immediate
Frequently accessed data
S3 Standard-IA
30 days
Immediate
Infrequent access, rapid retrieval
S3 One Zone-IA
30 days
Immediate
Non-critical infrequent data
S3 Intelligent-Tiering
None
Immediate–hours
Unknown or changing access patterns
S3 Glacier Instant
90 days
Milliseconds
Archive with instant retrieval
S3 Glacier Flexible
90 days
Minutes–hours
Archive, flexible retrieval
S3 Glacier Deep Archive
180 days
Hours
Long-term compliance archive
What to study next
Got this wrong? Here's your next step.
Review iAM Policy, then practise related AIF-C01 questions on the same topic to reinforce the concept.
Fundamentals of AI and ML — This question tests Fundamentals of AI and ML — IAM Policy.
What is the correct answer to this question?
The correct answer is: The S3 bucket is in a different Region — The Access Denied error is most likely due to the S3 bucket being in a different Region. While IAM policies are global, bucket policies can include conditions that restrict access based on the request's Region. If the bucket policy denies requests from the Region where the SageMaker notebook is running, the read operation fails. The other options are incorrect: file name spaces cause a different error (NoSuchKey), s3:ListBucket is not required for direct object reads with GetObject, and allowing s3:PutObject does not cause Access Denied for reads.
What should I do if I get this AIF-C01 question wrong?
Review iAM Policy, then practise related AIF-C01 questions on the same topic to reinforce the concept.
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?
IAM Policy
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.