- A
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.
- B
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.
- C
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.
- D
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.
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: aws:sourceVpce is a global condition key for S3 bucket policies.. 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 customer analytics portal. 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? The design must avoid adding custom operational scripts.
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
Option D is correct because the bucket policy can use the `aws:sourceVpce` condition key to restrict access exclusively to traffic originating from a specific VPC endpoint ID. This ensures that only requests sent through that VPC endpoint are allowed, meeting the security team's requirement without requiring custom scripts or additional infrastructure.
Key principle: aws:sourceVpce is a global condition key for S3 bucket policies.
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 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.
- ✗
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 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: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
aws:sourceVpce is a global condition key for S3 bucket policies.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may confuse security group rules with bucket policies, or assume that restricting by IAM user or region is sufficient to enforce network-level control, when in fact only the `aws:sourceVpce` condition key directly ties access to a specific VPC endpoint.
Detailed technical explanation
How to think about this question
VPC endpoints for S3 use either Gateway endpoints (route table-based) or Interface endpoints (powered by AWS PrivateLink). The `aws:sourceVpce` condition key works with both types, but for Gateway endpoints, the source IP is the private IP of the instance, so the condition must match the endpoint ID, not the IP. In real-world scenarios, this condition is often combined with `aws:SourceArn` or `aws:SourceAccount` to further tighten security for cross-account access.
KKey Concepts to Remember
- aws:sourceVpce is a global condition key for S3 bucket policies.
- It restricts S3 access to requests originating from a specific VPC endpoint.
- Used with Gateway VPC Endpoints for S3 to enforce private network paths.
- Bucket policies are resource-based and evaluate conditions before allowing access.
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
aws:sourceVpce is a global condition key for S3 bucket policies.
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 aws:sourceVpce is a global condition key for S3 bucket policies., 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 — aws:sourceVpce is a global condition key for S3 bucket policies..
What is the correct answer to this question?
The correct answer is: A condition that matches aws:sourceVpce to the endpoint ID — Option D is correct because the bucket policy can use the `aws:sourceVpce` condition key to restrict access exclusively to traffic originating from a specific VPC endpoint ID. This ensures that only requests sent through that VPC endpoint are allowed, meeting the security team's requirement without requiring custom scripts or additional infrastructure.
What should I do if I get this SAA-C03 question wrong?
Review aws:sourceVpce is a global condition key for S3 bucket policies., then practise related SAA-C03 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
aws:sourceVpce is a global condition key for S3 bucket policies.
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.