Question 189 of 1,546
Security and CompliancemediumMultiple SelectObjective-mapped

Quick Answer

The answer is three configurations: a bucket policy with a condition for vpc:SourceVpce, a VPC endpoint for S3, and route table updates. This works because the VPC endpoint allows traffic to reach S3 privately without traversing the internet, while the bucket policy’s condition key restricts access to only that specific endpoint ID, ensuring no other network or user can read objects. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding of combining network-level controls with resource-based policies—a common trap is assuming security groups or network ACLs apply to S3 endpoints, but they do not; only route tables and endpoint policies matter. Remember that S3 bucket policies are evaluated at the service side, so the VPC endpoint ID acts as a digital gatekeeper. A useful memory tip: “VPCE + Route + Policy = Locked S3.”

SOA-C02 Security and Compliance Practice Question

This SOA-C02 practice question tests your understanding of security and compliance. 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.

A company needs to restrict access to an S3 bucket so that only users from a specific VPC can read objects. Which THREE configurations are required?

Question 1mediummulti select
Full question →

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

Create a bucket policy that denies access unless the request comes from a specific VPC endpoint.

Options A, B, and D are correct. A bucket policy with a condition for vpc:SourceVpce, a VPC endpoint for S3, and the route table updates are required. Option C is wrong because S3 does not require a security group for VPC endpoints; network ACLs are not needed. Option E is wrong because IAM users alone do not restrict by VPC.

Key principle: ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a bucket policy that denies access unless the request comes from a specific VPC endpoint.

    Why this is correct

    Bucket policy can use aws:SourceVpce condition key.

    Related concept

    Standard ACLs match source addresses.

  • Update the route table in the VPC to route S3 traffic through the VPC endpoint.

    Why this is correct

    Route tables must have a route for S3 via the endpoint.

    Related concept

    Standard ACLs match source addresses.

  • Create IAM users and assign them permissions to access the bucket.

    Why it's wrong here

    IAM users are not sufficient; the bucket policy must enforce VPC restriction.

  • Create a VPC endpoint for S3 in the specified VPC.

    Why this is correct

    A VPC endpoint is necessary to route traffic to S3.

    Related concept

    Standard ACLs match source addresses.

  • Attach a security group to the S3 bucket.

    Why it's wrong here

    S3 buckets do not have security groups; VPC endpoints use security groups.

Common exam traps

Common exam trap: ACLs stop at the first match

ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.

Detailed technical explanation

How to think about this question

ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.

KKey Concepts to Remember

  • Standard ACLs match source addresses.
  • Extended ACLs can match source, destination, protocol and ports.
  • The first matching ACL entry is used.
  • There is usually an implicit deny at the end.

TExam Day Tips

  • Check inbound versus outbound direction.
  • Read the ACL from top to bottom.
  • Look for a broader permit or deny above the intended line.

Key takeaway

ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.

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 ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related SOA-C02 ACL questions on filtering logic and placement.

Related practice questions

Related SOA-C02 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 SOA-C02 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 SOA-C02 question test?

Security and Compliance — This question tests Security and Compliance — Standard ACLs match source addresses..

What is the correct answer to this question?

The correct answer is: Create a bucket policy that denies access unless the request comes from a specific VPC endpoint. — Options A, B, and D are correct. A bucket policy with a condition for vpc:SourceVpce, a VPC endpoint for S3, and the route table updates are required. Option C is wrong because S3 does not require a security group for VPC endpoints; network ACLs are not needed. Option E is wrong because IAM users alone do not restrict by VPC.

What should I do if I get this SOA-C02 question wrong?

Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related SOA-C02 ACL questions on filtering logic and placement.

What is the key concept behind this question?

Standard ACLs match source addresses.

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

Same concept, more angles

1 more ways this is tested on SOA-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company has an EC2 instance that needs to access an S3 bucket. The instance is launched in a private subnet with no internet gateway. What is the most secure way to provide access to S3 without traversing the internet?

hard
  • A.Use a NAT gateway in a public subnet
  • B.Create an S3 VPC gateway endpoint
  • C.Set up an AWS Direct Connect connection
  • D.Attach an internet gateway to the VPC and a public IP to the instance

Why B: To provide access to S3 from a private subnet without an internet gateway, you can use an S3 VPC endpoint (Gateway type). This allows instances in the VPC to access S3 privately using the AWS network. Option C is correct. Option A is wrong because a NAT gateway would route traffic through the internet, which is less secure and requires an internet gateway. Option B is wrong because an internet gateway is needed for a NAT instance. Option D is wrong because AWS Direct Connect does not eliminate the need for a VPC endpoint; it provides a dedicated connection but still requires routing through the internet unless a VPC endpoint is used.

Last reviewed: Jun 20, 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 SOA-C02 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 SOA-C02 exam.