DEA-C01 Data Ingestion and Transformation Practice Question
Exhibit
Refer to the exhibit.
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject"
],
"Resource": "arn:aws:s3:::my-bucket/*"
},
{
"Effect": "Allow",
"Action": [
"kinesis:DescribeStream",
"kinesis:GetShardIterator",
"kinesis:GetRecords"
],
"Resource": "arn:aws:kinesis:us-east-1:123456789012:stream/my-stream"
}
]
}
```Refer to the exhibit. A Lambda function with this IAM policy is used to process records from a Kinesis stream and write to S3. The function is failing with access denied errors when writing to S3. What is the issue?
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
✓
The S3 bucket name in the policy does not match the actual bucket used by the function.
The IAM policy grants s3:PutObject permission on the resource 'my-bucket/*', but the Lambda function is attempting to write to an S3 bucket with a different name. Since the bucket name in the policy does not match the actual bucket used by the function, access is denied. Option A is incorrect because the function does not need Kinesis Data Analytics for transformation. Option B is incorrect because the policy includes GetRecords and other Kinesis actions, so the Kinesis stream ARN is not the issue (if it were invalid, the error would occur when reading, not writing). Option C is incorrect because the policy explicitly allows Kinesis actions like GetRecords and DescribeStream, so the function does have permission to read from the stream.
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 function needs to use Kinesis Data Analytics for transformation.
Why it's wrong here
Not related to permissions.
- ✗
The Kinesis stream ARN is incorrect.
Why it's wrong here
Would cause errors on stream side, not S3.
- ✗
The Lambda function does not have permission to read from the Kinesis stream.
Why it's wrong here
It has GetRecords, GetShardIterator, DescribeStream.
- ✓
The S3 bucket name in the policy does not match the actual bucket used by the function.
Why this is correct
Common cause of access denied.
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
Courseiva writes every DEA-C01 question from scratch — 1,711 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 DEA-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 DEA-C01 exam.