This CCSP practice question tests your understanding of cloud data security. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Only requests originating from VPC vpc-12345678 are allowed to retrieve objects
The S3 bucket policy includes an Allow statement that grants s3:GetObject access only to the VPC endpoint vpc-12345678, using the aws:SourceVpce condition key. This means only requests originating from that specific VPC endpoint are permitted to retrieve objects. The Deny statement with a NotPrincipal condition is redundant or misconfigured, but the Allow statement's condition effectively restricts access to the VPC endpoint, making option A correct.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 requests originating from VPC vpc-12345678 are allowed to retrieve objects
Why this is correct
The policy explicitly allows from that VPC and denies from others.
Related concept
Read the scenario before looking for a memorised answer.
✗
All requests are denied because the Deny statement overrides the Allow statement
Why it's wrong here
The Allow statement explicitly applies to the VPC, so it works.
✗
All requests are allowed because there is an Allow statement
Why it's wrong here
The Deny statement overrides for requests not from the VPC.
Common exam trap: answer the scenario, not the keyword
ISC2 often tests the nuance that a Deny statement with NotPrincipal does not automatically deny all requests; candidates mistakenly assume any Deny overrides all Allow statements, but the specific condition in the Allow statement (aws:SourceVpce) is the key to understanding the policy's effect.
Detailed technical explanation
How to think about this question
The aws:SourceVpce condition key in S3 bucket policies allows fine-grained access control based on the VPC endpoint ID, which is a managed AWS service that enables private connectivity between VPCs and S3 without traversing the public internet. This condition is evaluated at the time of the request, and the VPC endpoint ID is included in the request context by AWS. In a real-world scenario, this policy ensures that only EC2 instances within the specified VPC can access the bucket, preventing data exfiltration via other networks.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A developer is choosing between AES-256 (symmetric) and RSA-2048 (asymmetric) for encrypting a large file that will be sent to a partner. Symmetric encryption is fast but requires key exchange; asymmetric is slower but solves the key distribution problem. A hybrid approach — encrypt the file with AES, encrypt the AES key with RSA — is standard. Questions like this test whether you understand when each approach applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Cloud Data Security — This question tests Cloud Data Security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Only requests originating from VPC vpc-12345678 are allowed to retrieve objects — The S3 bucket policy includes an Allow statement that grants s3:GetObject access only to the VPC endpoint vpc-12345678, using the aws:SourceVpce condition key. This means only requests originating from that specific VPC endpoint are permitted to retrieve objects. The Deny statement with a NotPrincipal condition is redundant or misconfigured, but the Allow statement's condition effectively restricts access to the VPC endpoint, making option A correct.
What should I do if I get this CCSP question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.