Question 756 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 evaluate 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 financial reporting platform. 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 to requests that originate from a specific VPC endpoint (a Gateway VPC Endpoint for S3). This ensures that only traffic flowing through that endpoint can access the bucket, meeting the security team's requirement. The EC2 instance in the private subnet routes S3 traffic through the endpoint via the subnet's route table, and the bucket policy enforces the restriction at the resource level.

Key principle: S3 bucket policies use conditions to evaluate 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 evaluate 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:SourceVpc` or think that a security group rule (Option A) can enforce endpoint-based access, but only the bucket policy condition key can restrict based on the specific VPC endpoint ID.

Detailed technical explanation

How to think about this question

Gateway VPC Endpoints for S3 use prefix lists and route table entries to direct traffic, and the `aws:sourceVpce` condition key evaluates the VPC endpoint ID from which the request originated. This condition works even when the request comes from an EC2 instance with an instance profile role, because the endpoint ID is a network-layer attribute separate from the IAM principal. In real-world scenarios, this prevents data exfiltration by ensuring that only traffic routed through the controlled endpoint can access the bucket, even if credentials are compromised elsewhere.

KKey Concepts to Remember

  • S3 bucket policies use conditions to evaluate request attributes.
  • The `aws:sourceVpce` condition key restricts S3 access to a specific VPC endpoint.
  • VPC endpoints provide private connectivity to AWS services without traversing the internet.
  • Bucket policies are evaluated before IAM policies for S3 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

S3 bucket policies use conditions to evaluate 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 evaluate 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 evaluate 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 to requests that originate from a specific VPC endpoint (a Gateway VPC Endpoint for S3). This ensures that only traffic flowing through that endpoint can access the bucket, meeting the security team's requirement. The EC2 instance in the private subnet routes S3 traffic through the endpoint via the subnet's route table, and the bucket policy enforces the restriction at the resource level.

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

Review s3 bucket policies use conditions to evaluate 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 evaluate 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.