mediumMultiple ChoiceObjective-mapped
CAS-004 Network-based policy condition Practice Question
Exhibit
Refer to the exhibit.
```json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::example-bucket/*",
"Condition": {
"StringEquals": {
"aws:sourceVpce": "vpce-123abc"
}
}
}
]
}
```Refer to the exhibit. Which of the following best describes the security constraint imposed by 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
✓
Only allows access from a specific network endpoint.
The condition in the policy requires the request to originate from a specified network endpoint, enforcing a network-level constraint.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Only allows access during business hours.
Why it's wrong here
This option describes a time-based constraint, not a network-based one.
- ✗
Only allows access from a specific user account.
Why it's wrong here
This option describes an identity-based constraint, not a network-based one.
- ✗
Only allows access to a specific storage bucket.
Why it's wrong here
This option describes a resource-based constraint, not a network-based one.
- ✓
Only allows access from a specific network endpoint.
Why this is correct
Correct. The policy condition requires the request to originate from a specific network endpoint, enforcing network-level access control.
Go deeper
Related to this question
About these practice questions
One of 968 original CAS-005 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 CAS-005 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 CAS-005 exam.