exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 40 discussion

A company requires that its internally facing web application be highly available. The architecture is made up of one Amazon EC2 web server instance and one NAT instance that provides outbound internet access for updates and accessing public data.
Which combination of architecture adjustments should the company implement to achieve high availability? (Choose two.)

  • A. Add the NAT instance to an EC2 Auto Scaling group that spans multiple Availability Zones. Update the route tables.
  • B. Create additional EC2 instances spanning multiple Availability Zones. Add an Application Load Balancer to split the load between them.
  • C. Configure an Application Load Balancer in front of the EC2 instance. Configure Amazon CloudWatch alarms to recover the EC2 instance upon host failure.
  • D. Replace the NAT instance with a NAT gateway in each Availability Zone. Update the route tables.
  • E. Replace the NAT instance with a NAT gateway that spans multiple Availability Zones. Update the route tables.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Karamen
Highly Voted 1 year, 8 months ago
B&D NAT Gateway does not span multiple AZ. you must create foreach AZ for HA
upvoted 9 times
...
HugoFM
Highly Voted 1 year, 7 months ago
BD E Is incorrect see NAT gateway basics in https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
upvoted 9 times
kaushald
1 year, 3 months ago
Quoting the above link: "If you have resources in multiple Availability Zones and they share one NAT gateway, and if the NAT gateway’s Availability Zone is down, resources in the other Availability Zones lose internet access. To improve resiliency, create a NAT gateway in each Availability Zone, and configure your routing to ensure that resources use the NAT gateway in the same Availability Zone."
upvoted 3 times
...
...
krishhhhhhhh
Most Recent 1 year, 1 month ago
Selected Answer: BD
https://aws.amazon.com/blogs/networking-and-content-delivery/using-nat-gateways-with-multiple-amazon-vpcs-at-scale/ NAT Gateways within an AZ are automatically implemented with redundancy. However, while Amazon VPCs can span multiple AZs, each NAT Gateway operates within a single AZ. If the NAT Gateway fails, then connections with resources using that NAT Gateway also fail. Therefore, it's recommended to deploy one NAT Gateway in each AZ and routing traffic locally within the same AZ.
upvoted 2 times
...
zijo
1 year, 3 months ago
Both NAT Gateway and NAT instance are regional resources. But NAT Gateway offers automatic deployment across Availability Zones, you might need to manually configure redundancy across Availability Zones for NAT Instances.
upvoted 1 times
...
thanhnv142
1 year, 4 months ago
B and D are correct: We need to span EC2 to multiple avai zones and replace nat instance with nat gateway in each zone B: span EC2 to multiple avai zones D: replace nat instance with nat gateway
upvoted 2 times
...
Bans
1 year, 5 months ago
Answer is B and D
upvoted 1 times
...
harithzainudin
1 year, 6 months ago
Selected Answer: BD
Asnwer is B and D, NAT gateways are regional services and do not span across Availability Zones. So, E is completely wrong.
upvoted 5 times
...
zolthar_z
1 year, 7 months ago
Selected Answer: BD
NAT Gateway can't spans in multiple regions, only in one subnet, I just tried it using the AWS Console
upvoted 6 times
harithzainudin
1 year, 6 months ago
yes ure correct! i can confirm this. So BD is the correct answer
upvoted 1 times
...
...
DaddyDee
1 year, 8 months ago
B&D https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-comparison.html
upvoted 1 times
...
bugincloud
1 year, 9 months ago
Selected Answer: BD
B & D is correct NAT GW does not span across AZ, And has to be created in multi AZ for HA.
upvoted 3 times
...
RVivek
1 year, 9 months ago
Selected Answer: BD
E is wrong. Natgatway cannot multiple subnets/zones
upvoted 4 times
...
cocegas
1 year, 10 months ago
Selected Answer: BD
BD correct. E: incorrect because NAT Gateway does not span multi AZ, you need to deploy it to different AZs. Not like LB that spans multiAZ automatically.
upvoted 5 times
...
FEEREWMWKA
1 year, 10 months ago
Defo BD - Cannot be E as Nat Gateways sit in one subnet
upvoted 2 times
...
lakescix
1 year, 10 months ago
B,D. E is wrong because NAT Gateway is deployed to a single public subnet (Cannot span multiple AZs)
upvoted 3 times
...
mamila
1 year, 11 months ago
Selected Answer: BD
E is wrong, NAT Gateway is a zonal resource.
upvoted 4 times
...
Certified101
1 year, 11 months ago
Selected Answer: BD
A NAT Gateway is spun up in a single subnet that lives in a AZ. So you cannot build a NAT GW that spans mulitple AZ's. You will need to build a NAT GW in EACH AZ to succeed. BD are the correct answers.
upvoted 2 times
...
Kiroo
1 year, 11 months ago
Selected Answer: BE
Being honest DE are really similar But BE looks more correct due to use the same language
upvoted 4 times
flaacko
10 months, 1 week ago
B is correct because it says you should create instances in multiple AZs and then set up a load balancer to split traffic between them. E is wrong because NAT gateways cannot span availability zones.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...