Question 176 of 1,040
Design Secure ArchitectureshardMultiple ChoiceObjective-mapped

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: s3 bucket policies use conditions to control access based on request attributes.. 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?

Question 1hardmultiple choice
Review the full subnetting walkthrough →

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 (interface or Gateway Load Balancer endpoint). This ensures that only requests sent through that VPC endpoint are allowed, meeting the security team's requirement for regulated exports.

Key principle: S3 bucket policies use conditions to control access based on request attributes.

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

    S3 bucket policies use conditions to control access based on request attributes.

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 `aws:sourceVpc`, thinking they can restrict by VPC ID or IP range, but only the VPC endpoint ID uniquely identifies the specific endpoint used for the request.

Detailed technical explanation

How to think about this question

The `aws:sourceVpce` condition key works with VPC endpoint IDs (e.g., `vpce-12345678`) and is evaluated at the S3 bucket policy level. For Gateway Endpoints (used for S3 and DynamoDB), the source IP is the private IP of the instance, but the condition still matches the endpoint ID. A common real-world scenario is when you have multiple VPC endpoints in different VPCs and need to isolate access to a specific endpoint for compliance.

KKey Concepts to Remember

  • S3 bucket policies use conditions to control access based on request attributes.
  • `aws:sourceVpce` is a global condition key for VPC endpoint enforcement.
  • Gateway VPC Endpoints allow private connectivity from VPCs to S3.
  • Bucket policies are the primary way to enforce S3 resource-based access control.

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

S3 bucket policies use conditions to control access based on request attributes.

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 s3 bucket policies use conditions to control access based on request attributes., then practise related SAA-C03 questions on the same topic to reinforce the concept.

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.

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 — S3 bucket policies use conditions to control access based on request attributes..

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 (interface or Gateway Load Balancer endpoint). This ensures that only requests sent through that VPC endpoint are allowed, meeting the security team's requirement for regulated exports.

What should I do if I get this SAA-C03 question wrong?

Review s3 bucket policies use conditions to control access based on request attributes., then practise related SAA-C03 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

S3 bucket policies use conditions to control access based on request attributes.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.