MLS-C01 Data Engineering Practice Question
Exhibit
Refer to the exhibit.
{
"Records": [
{
"eventVersion": "2.1",
"eventSource": "aws:s3",
"awsRegion": "us-east-1",
"eventName": "ObjectCreated:Put",
"s3": {
"s3SchemaVersion": "1.0",
"bucket": {
"name": "my-bucket",
"arn": "arn:aws:s3:::my-bucket"
},
"object": {
"key": "data/file.csv",
"size": 1024
}
}
}
]
}An S3 event notification is configured to trigger a Lambda function when new objects are created. The Lambda function processes the event JSON shown. Which field should the function use to read the new object from S3?
⚠ Common exam trap
Many candidates confuse metadata fields like `eventName` or `awsRegion` with the actual object location, overlooking that only the bucket ARN and object key together provide the necessary S3 coordinates for retrieval.
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
✓
s3.bucket.arn and s3.object.key
The Lambda function needs the bucket name and object key to retrieve the new object from S3. The `s3.bucket.arn` provides the bucket identifier, and `s3.object.key` provides the object path. Together, they allow the function to call `GetObject` on the S3 API.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
s3.s3SchemaVersion
Why it's wrong here
This is the schema version, not the object identifier.
- ✗
awsRegion
Why it's wrong here
Region alone is not enough to identify the object.
- ✗
eventName
Why it's wrong here
Event name indicates the operation, not the object.
- ✓
s3.bucket.arn and s3.object.key
Why this is correct
These provide the bucket ARN and object key.
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.