hardmulti selectObjective-mapped

A CI system runs on EC2 instances in private subnets and uploads build artifacts to an S3 bucket. The security team wants to eliminate NAT Gateway costs, force all uploads to use TLS, and require SSE-KMS with an approved customer managed key. Which three changes should be made? Select three.

Question 1hardmulti select
Full question →

A CI system runs on EC2 instances in private subnets and uploads build artifacts to an S3 bucket. The security team wants to eliminate NAT Gateway costs, force all uploads to use TLS, and require SSE-KMS with an approved customer managed key. Which three changes should be made? Select three.

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Create an S3 gateway VPC endpoint and associate it with the private subnets' route tables.

A gateway endpoint lets private instances reach S3 without traversing a NAT Gateway. This reduces cost while keeping the traffic on the AWS network path.

B

Best answer

Add a bucket policy that denies requests when aws:SecureTransport is false.

The SecureTransport condition enforces HTTPS and blocks plain HTTP uploads. This directly meets the requirement that all artifact transfers use TLS in transit.

C

Best answer

Add a bucket policy condition that requires SSE-KMS using the approved CMK for uploads.

Requiring SSE-KMS and the approved key ensures artifacts are encrypted at rest with the organization's chosen customer managed key. This prevents accidental use of unapproved encryption settings.

D

Distractor review

Deploy a NAT Gateway in each Availability Zone and route artifact traffic through it.

A NAT Gateway would work for connectivity, but it creates exactly the cost the team wants to remove. The gateway endpoint is the cost-optimized private option.

E

Distractor review

Use the S3 static website endpoint because it automatically enforces HTTPS.

S3 website endpoints are not the right choice for private CI uploads and do not provide the required transport and encryption controls. They are intended for public website hosting patterns.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Create an S3 gateway VPC endpoint and associate it with the private subnets' route tables. — This design needs one network control and two bucket-policy controls. The S3 gateway endpoint removes the NAT Gateway dependency while keeping traffic private. The aws:SecureTransport deny enforces HTTPS so uploads are encrypted in transit. The SSE-KMS bucket policy requirement ensures the objects are encrypted at rest using the approved CMK. Together, these satisfy cost, transport security, and at-rest encryption requirements. Why others are wrong: A NAT Gateway solves connectivity but increases cost and is specifically what the team wants to avoid. The S3 website endpoint is for public static websites, not secure CI artifact uploads, and it does not implement the required policy enforcement. The correct approach combines private routing with explicit bucket-policy controls.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.