Topic 1 Question 70
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?
Enable HTTP health checks on the NLB, supplying the URL of the company's application.
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.
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.
Create an Amazon Cloud Watch 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.
ユーザの投票
コメント(16)
- 正解だと思う選択肢: C
I would choose A, as NLB supports HTTP and HTTPS Health Checks, BUT you can't put any URL (as proposed), only the node IP addresses. So, the solution is C.
👍 19123jhl02022/10/17 - 正解だと思う選択肢: C
Option C. NLB works at Layer 4 so it does not support HTTP/HTTPS. The replacement for the ALB is the best choice.
👍 7ArielSchivo2022/10/18 - 正解だと思う選択肢: C
C is the correct! NLB does not handle HTTP (layer 7) listerns errors only TCP (layer 4) listeners. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-cfg-nlb.html
👍 4mabotega2022/11/07
シャッフルモード