A company's HTTP application is behind a Network Load Balancer (NLB) . The NLB's target group is configured to use an Amazon EC2 Auto Scaling group with multiple EC2 instances that run the web service. The company notices that the NLB is not detecting HTTP errors for the application. These errors require a manual restart of the EC2 instances that run the web service. The company needs to improve the application's availability without writing custom scripts or code. What should a solutions architect do to meet these requirements?
A) Enable HTTP health checks on the NLB, supplying the URL of the company's application.
B) Add a cron job to the EC2 instances to check the local application's logs once each minute. If HTTP errors are detected, the application will restart.
C) Replace the NLB with an Application Load Balancer. Enable HTTP health checks by supplying the URL of the company's application. Configure an Auto Scaling action to replace unhealthy instances.
D) Create an Amazon CloudWatch alarm that monitors the UnhealthyHostCount metric for the NLB. Configure an Auto Scaling action to replace unhealthy instances when the alarm is in the ALARM state.
Correct Answer:
Verified
Q274: A company is using a centralized AWS
Q275: A company wants to host a scalable
Q276: A company has a legacy application that
Q277: A company's web application uses an Amazon
Q278: A company has two AWS accounts: Production
Q280: A company is deploying an application that
Q281: A company has a website running on
Q282: A solutions architect needs to ensure that
Q283: A solutions architect is designing storage for
Q284: A company has an Amazon EC2 instance
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents