Question 1,273 of 1,546
Networking and Content DeliveryeasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to create a VPC Gateway Endpoint for S3 and update the route tables for the private subnets. This configuration is both secure and cost-effective because it allows EC2 instances in private subnets to access S3 directly over the AWS backbone network, completely bypassing the public internet and eliminating the need for a NAT Gateway or Internet Gateway. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding of how to optimize data transfer costs while maintaining security—a common trap is choosing a NAT Gateway or VPC Interface Endpoint, which incur per-hour and per-GB charges, whereas a Gateway Endpoint is free and uses prefix lists in route tables. Remember the memory tip: Gateway Endpoints are for S3 and DynamoDB only, and they require a route table entry, not a security group.

SOA-C02 Networking and Content Delivery Practice Question

This SOA-C02 practice question tests your understanding of networking and content delivery. 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 has an application running on EC2 instances in a VPC. The application needs to access an S3 bucket in the same AWS region. Which configuration provides the MOST secure and cost-effective access?

Question 1easymultiple choice
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 VPC Gateway Endpoint for S3 and update the route tables for the private subnets.

Option C is correct because a VPC Gateway Endpoint for S3 allows EC2 instances in private subnets to access S3 directly over the AWS network without traversing the internet, eliminating the need for a NAT Gateway or Internet Gateway. This provides the most secure and cost-effective access by keeping traffic within the AWS backbone and avoiding data transfer costs associated with NAT Gateways or public endpoints.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Make the S3 bucket publicly accessible and use the public endpoint from the EC2 instances.

    Why it's wrong here

    Publicly accessible bucket poses security risk.

  • Set up a NAT Gateway in a public subnet and route traffic from the EC2 instances through it to the S3 endpoint.

    Why it's wrong here

    NAT Gateway adds cost and complexity, and still uses internet path.

  • Create a VPC Gateway Endpoint for S3 and update the route tables for the private subnets.

    Why this is correct

    Gateway Endpoint provides private, secure, and free connectivity to S3 within the same region.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create an Internet Gateway and route traffic from the EC2 instances through it to a public S3 endpoint.

    Why it's wrong here

    This requires internet access and public IP, increasing security risk and cost.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse VPC Gateway Endpoints with VPC Interface Endpoints (powered by AWS PrivateLink), but for S3, a Gateway Endpoint is the correct and most cost-effective choice because it does not require an Elastic Network Interface or incur hourly charges, unlike an Interface Endpoint.

Detailed technical explanation

How to think about this question

A VPC Gateway Endpoint for S3 uses prefix lists in route tables to direct S3-bound traffic through the AWS private network, leveraging the AWS Global Accelerator infrastructure for low-latency, high-throughput access. This endpoint type supports both IPv4 and IPv6 traffic and works with S3's regional endpoints, ensuring that data never leaves the AWS network, which is critical for compliance with data residency requirements. In contrast, a NAT Gateway would route traffic through an Elastic IP, incurring per-GB data processing fees, while a Gateway Endpoint has no additional cost beyond standard S3 data transfer charges.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

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

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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?

Networking and Content Delivery — This question tests Networking and Content Delivery — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Create a VPC Gateway Endpoint for S3 and update the route tables for the private subnets. — Option C is correct because a VPC Gateway Endpoint for S3 allows EC2 instances in private subnets to access S3 directly over the AWS network without traversing the internet, eliminating the need for a NAT Gateway or Internet Gateway. This provides the most secure and cost-effective access by keeping traffic within the AWS backbone and avoiding data transfer costs associated with NAT Gateways or public endpoints.

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

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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. EC2 instances in private subnets need to access S3 buckets. Currently the instances use a NAT Gateway to reach S3 over the internet. The team wants to keep S3 traffic private (within the AWS network) and reduce NAT Gateway data processing costs. What is the correct solution?

easy
  • A.Create an S3 Gateway VPC endpoint and add it to the private subnet's route table; S3 traffic will bypass the NAT Gateway
  • B.Create an S3 Interface VPC endpoint in the private subnet to route S3 traffic privately
  • C.Add a route in the private subnet's route table directing all traffic (0.0.0.0/0) to an Internet Gateway
  • D.Use S3 Transfer Acceleration to route traffic over AWS edge locations instead of NAT

Why A: Option A is correct because an S3 Gateway VPC endpoint allows EC2 instances in private subnets to access S3 privately using AWS’s internal network, bypassing the NAT Gateway entirely. This eliminates NAT data processing costs and keeps traffic within the AWS backbone, as the endpoint is added to the private subnet’s route table with a prefix list for S3, directing traffic directly to S3 without internet routing.

Last reviewed: Jun 24, 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.