MLS-C01 Exploratory Data Analysis Practice Question
Exhibit
Refer to the exhibit. Consider the following IAM policy attached to a SageMaker notebook instance:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::my-training-data/*",
"arn:aws:s3:::my-training-data"
]
},
{
"Effect": "Allow",
"Action": [
"athena:StartQueryExecution",
"athena:GetQueryResults"
],
"Resource": "*"
}
]
}The exhibit shows an IAM policy for a SageMaker notebook. A data scientist wants to use the notebook to run an Athena query and then load the results into a pandas DataFrame. Which action is NOT possible with this policy?
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
✓
Read the Athena query results from the output S3 location
The policy grants s3:GetObject on the 'my-training-data' bucket, so reading a specific object from that bucket (Option C) is possible. It also grants s3:ListBucket on that bucket, so listing objects (Option D) is possible. The policy includes Athena permissions, so starting a query execution (Option B) is allowed. However, to read Athena query results, the user needs s3:GetObject permission on the S3 location where Athena writes the results, which is typically a different bucket (the query output location). The policy does not grant s3:GetObject on that output bucket, so reading the results (Option A) is not possible.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Read the Athena query results from the output S3 location
Why this is correct
The policy only allows read on my-training-data, not the Athena output bucket.
- ✗
Start an Athena query execution
Why it's wrong here
Athena actions are allowed.
- ✗
Read a specific object from the my-training-data bucket
Why it's wrong here
s3:GetObject is allowed on my-training-data.
- ✗
List objects in the my-training-data bucket
Why it's wrong here
s3:ListBucket is allowed on my-training-data.
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 |
Go deeper
Related to this question
About these practice questions
This MLS-C01 question is part of Courseiva's 1,672-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MLS-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 MLS-C01 exam.