hardmulti selectObjective-mapped

A batch job runs on EC2 instances in isolated private subnets with no NAT Gateway. The job uses STS AssumeRole to access an operations account and then retrieves a secret from AWS Secrets Manager. After a network hardening change, both calls fail. Which two interface VPC endpoints should be created? Select two.

Question 1hardmulti select
Full question →

A batch job runs on EC2 instances in isolated private subnets with no NAT Gateway. The job uses STS AssumeRole to access an operations account and then retrieves a secret from AWS Secrets Manager. After a network hardening change, both calls fail. Which two interface VPC endpoints should be created? Select two.

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

An interface VPC endpoint for AWS STS so the job can call AssumeRole without internet access.

The application explicitly calls STS AssumeRole, so it needs private network access to the STS service. An interface endpoint provides that path inside the VPC without requiring a NAT Gateway or public internet route.

B

Best answer

An interface VPC endpoint for AWS Secrets Manager so the job can retrieve the secret privately.

Secrets Manager is reached through an interface endpoint when instances are isolated from the internet. Without that endpoint, the SDK cannot call GetSecretValue privately after the NAT Gateway is removed.

C

Distractor review

A gateway VPC endpoint for Amazon S3 so the job can reach the secret store indirectly.

S3 endpoints are useful for bucket access, but Secrets Manager is not stored in S3 and STS does not use a gateway endpoint. This option does not address the services that are actually failing.

D

Distractor review

A NAT Gateway in each Availability Zone so the job can use the public service endpoints.

A NAT Gateway would restore internet egress, but the requirement is to keep the subnets isolated and avoid that dependency. Interface endpoints are the correct private-connectivity solution here.

E

Distractor review

An internet gateway attached to the VPC so private subnets can reach AWS APIs.

An internet gateway does not by itself let isolated private subnets reach public endpoints. It would also violate the design goal of avoiding internet exposure for the workload.

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: An interface VPC endpoint for AWS STS so the job can call AssumeRole without internet access. — The job makes two explicit API calls from isolated subnets: STS AssumeRole and Secrets Manager retrieval. Both services require interface VPC endpoints when there is no NAT Gateway and no direct internet access. Creating these endpoints preserves private connectivity while keeping the subnets locked down. A gateway endpoint for S3 does not help because neither STS nor Secrets Manager uses one. Why others are wrong: S3 gateway endpoints only solve S3 traffic and do not provide access to STS or Secrets Manager. A NAT Gateway would work technically, but it breaks the no-NAT design requirement. An internet gateway is not a private-service solution and would not make isolated subnets securely reach AWS APIs by itself.

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.