- A
A condition that matches aws:sourceVpce to the endpoint ID
The aws:sourceVpce condition restricts S3 access to requests that arrive through the specified VPC endpoint.
- B
A deny statement for all IAM users except the EC2 role
Why wrong: This controls identity but does not enforce the network path through the endpoint.
- C
A condition that matches aws:RequestedRegion to the bucket Region
Why wrong: RequestedRegion limits API calls by Region but does not prove traffic used the endpoint.
- D
A security group rule that allows HTTPS to S3
Why wrong: Security groups do not attach to S3 buckets and cannot enforce S3 bucket access.
SAA-C03 Design Secure Architectures Practice Question
This SAA-C03 practice question tests your understanding of design secure architectures. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: gateway VPC Endpoints provide private connectivity to S3 and DynamoDB.. 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.
An EC2 instance in a private subnet must access an S3 bucket that contains regulated exports for a B2B file exchange site. The security team requires access to be allowed only when traffic comes through a specific VPC endpoint. What should the architect add to the bucket 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
A condition that matches aws:sourceVpce to the endpoint ID
The correct answer is A because the bucket policy must include a condition that matches `aws:sourceVpce` to the specific VPC endpoint ID. This ensures that only traffic originating from that VPC endpoint (e.g., `vpce-12345678`) is allowed to access the S3 bucket, meeting the security team's requirement. Without this condition, any traffic from the private subnet that routes through the endpoint would be allowed, but the policy explicitly restricts access to only that endpoint.
Key principle: Gateway VPC Endpoints provide private connectivity to S3 and DynamoDB.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
A condition that matches aws:sourceVpce to the endpoint ID
Why this is correct
The aws:sourceVpce condition restricts S3 access to requests that arrive through the specified VPC endpoint.
Related concept
Gateway VPC Endpoints provide private connectivity to S3 and DynamoDB.
- ✗
A deny statement for all IAM users except the EC2 role
Why it's wrong here
This controls identity but does not enforce the network path through the endpoint.
- ✗
A condition that matches aws:RequestedRegion to the bucket Region
Why it's wrong here
RequestedRegion limits API calls by Region but does not prove traffic used the endpoint.
- ✗
A security group rule that allows HTTPS to S3
Why it's wrong here
Security groups do not attach to S3 buckets and cannot enforce S3 bucket access.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse `aws:sourceVpce` with `aws:SourceIp` or think a security group rule can be applied to S3, when in fact S3 bucket policies use VPC endpoint conditions to enforce network-level restrictions.
Detailed technical explanation
How to think about this question
The `aws:sourceVpce` condition key in an S3 bucket policy evaluates the VPC endpoint ID from which the request originates, allowing granular network-level access control. Under the hood, when an EC2 instance in a private subnet uses a VPC gateway endpoint or interface endpoint to access S3, the request includes the endpoint ID in the `aws:sourceVpce` context key. This is critical for regulated environments where data exfiltration must be prevented by ensuring traffic never leaves the VPC, even if the endpoint is shared across multiple subnets.
KKey Concepts to Remember
- Gateway VPC Endpoints provide private connectivity to S3 and DynamoDB.
- S3 bucket policies control access to S3 buckets and their objects.
- The `aws:sourceVpce` condition key restricts S3 access to a specific VPC endpoint.
- VPC endpoint policies can also control which principals can use the endpoint to access S3.
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
Gateway VPC Endpoints provide private connectivity to S3 and DynamoDB.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Review gateway VPC Endpoints provide private connectivity to S3 and DynamoDB., then practise related SAA-C03 questions on the same topic to reinforce the concept.
- →
Design Secure Architectures — study guide chapter
Learn the concepts, then practise the questions
- →
Design Secure Architectures practice questions
Targeted practice on this topic area only
- →
All SAA-C03 questions
1,040 questions across all exam domains
- →
SAA-C03 study guide
Full concept coverage aligned to exam objectives
- →
SAA-C03 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SAA-C03 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design Secure Architectures practice questions
Practise SAA-C03 questions linked to Design Secure Architectures.
Design Resilient Architectures practice questions
Practise SAA-C03 questions linked to Design Resilient Architectures.
Design High-Performing Architectures practice questions
Practise SAA-C03 questions linked to Design High-Performing Architectures.
Design Cost-Optimized Architectures practice questions
Practise SAA-C03 questions linked to Design Cost-Optimized Architectures.
SAA-C03 VPC practice questions
Practise SAA-C03 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise SAA-C03 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise SAA-C03 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise SAA-C03 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise SAA-C03 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise SAA-C03 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise SAA-C03 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise SAA-C03 questions linked to SAA-C03 VPC endpoint questions.
Practice this exam
Start a free SAA-C03 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SAA-C03 question test?
Design Secure Architectures — This question tests Design Secure Architectures — Gateway VPC Endpoints provide private connectivity to S3 and DynamoDB..
What is the correct answer to this question?
The correct answer is: A condition that matches aws:sourceVpce to the endpoint ID — The correct answer is A because the bucket policy must include a condition that matches `aws:sourceVpce` to the specific VPC endpoint ID. This ensures that only traffic originating from that VPC endpoint (e.g., `vpce-12345678`) is allowed to access the S3 bucket, meeting the security team's requirement. Without this condition, any traffic from the private subnet that routes through the endpoint would be allowed, but the policy explicitly restricts access to only that endpoint.
What should I do if I get this SAA-C03 question wrong?
Review gateway VPC Endpoints provide private connectivity to S3 and DynamoDB., then practise related SAA-C03 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Gateway VPC Endpoints provide private connectivity to S3 and DynamoDB.
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 →
Keep practising
More SAA-C03 practice questions
- A content publishing system uses Lambda functions that call an unreliable third-party API. Failed events must be retaine…
- A startup runs two EC2-based workloads in the same AWS Region. Its customer-facing API is always on, and its nightly vid…
- A warehouse integration service must use shared file storage across Linux EC2 instances in multiple Availability Zones.…
- A team runs a stateless web app on Amazon EC2 behind an Application Load Balancer. During traffic spikes, new EC2 instan…
- A service in private subnets downloads product images from Amazon S3 and stores job state in DynamoDB. A NAT Gateway is…
- A static site is hosted in Amazon S3 and delivered by CloudFront. After a frontend release, the same JavaScript bundles…
Last reviewed: Jun 11, 2026
This SAA-C03 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 SAA-C03 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.