
Answer-first summary for fast verification
Answer: Update VPC route tables to target the existing NAT gateway for internet traffic.
If the instances in the private subnets lost internet connectivity when the number of NAT gateways was reduced to one, it is likely because their respective subnets' route tables were still pointing to the removed NAT gateways. Updating the route tables for all affected private subnets to target the single remaining NAT gateway for outgoing internet traffic (0.0.0.0/0) will restore connectivity.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #38
A company uses Amazon EC2 Auto Scaling across multiple Availability Zones. The company must ensure that EC2 instances are provisioned in private subnets. The company recently optimized its cloud infrastructure by reducing the number of NAT gateways in the company's VPC to one. Some EC2 instances lost internet connectivity after the infrastructure update. A CloudOps engineer must resolve the connectivity issue.
Which solution will meet this requirement?
A
Replace the existing NAT gateway with a NAT instance in the same subnet.
B
Update VPC route tables to target the existing NAT gateway for internet traffic.
C
Update VPC route tables to target an internet gateway for internet traffic.
D
Add secondary IP addresses to the existing NAT gateway.
No comments yet.