0 votes
in AWS by
You currently have your EC2 instances running in multiple availability zones in an AWS region. You need to create NAT gateways for your private instances to access internet. How would you set up the NAT gateways so that they are highly available?

A. Create two NAT Gateways and place them behind an ELB

B. Create a NAT Gateway in each Availability Zone

C. Create a NAT Gateway in another region

D. Use Auto Scaling groups to scale the NAT Gateways

1 Answer

0 votes
by

B. Create a NAT Gateway in each Availability Zone

Answer: B

Explanation

Option A is incorrect because you cannot create such configurations.

Option B is CORRECT because this is recommended by AWS. With this option, if a NAT gateway’s Availability Zone is down, resources in other Availability Zones can still access internet.

Option C is incorrect because the EC2 instances are in one AWS region so there is no need to create a NAT Gateway in another region.

Option D is incorrect because you cannot create an Auto Scaling group for NAT Gateways.

Related questions

0 votes
asked Feb 11, 2020 in AWS by SakshiSharma
0 votes
asked Aug 31, 2022 in AWS by sharadyadav1986
...