DA0-002 Data Analysis Practice Question
Exhibit
Refer to the exhibit.
JSON policy:
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::data-lake/*"
}
]
}
```Refer to the exhibit. A data analyst wants to grant read access to an entire cloud storage bucket named 'data-lake'. Which of the following best describes what this policy does?
⚠ Common exam trap
Test-takers frequently confuse a bucket-level policy that grants access to all objects with one that restricts access to a specific folder or user, overlooking the absence of a condition or principal specification in the policy statement.
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
✓
Allows read access to all objects in the data-lake bucket
This policy grants read access to all objects within the 'data-lake' bucket. In cloud storage, a bucket-level policy that allows the 'GetObject' action without a condition restricting the resource to a specific prefix or folder effectively permits reading every object in the bucket. Option D correctly identifies this behavior.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Allows both read and write access to the bucket
Why it's wrong here
Only s3:GetObject is allowed; no write actions are included.
- ✗
Allows only specific users to read objects
Why it's wrong here
The policy does not specify which users; it is attached to a principal to grant permissions.
- ✗
Allows read access to a specific folder within the bucket
Why it's wrong here
The resource arn:aws:s3:::data-lake/* covers all objects in the bucket, not just a folder.
- ✓
Allows read access to all objects in the data-lake bucket
Why this is correct
The policy grants s3:GetObject on the entire bucket, enabling read access to all objects.
Go deeper
Related to this question
About these practice questions
One of 986 original DA0-002 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 DA0-002 practice question is part of Courseiva's free CompTIA 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 DA0-002 exam.