Learn how to set an alarm for unhealthy target instances in your AWS Application Load Balancer (ALB) using the best practices and conditions. Get detailed explanations and expert tips for optimizing your AWS SysOps setup.
Table of Contents
Question
A SysOps administrator is managing a web application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an EC2 Auto Scaling group. The administrator wants to set an alarm for when all target instances associated with the ALB are unhealthy.
Which condition should be used with the alarm?
A. AWS/ApplicationELB HealthyHostCount <= 0
B. AWS/ApplicationELB UnhealthyHostCount >= 1
C. AWS/EC2 StatusCheckFailed <= 0
D. AWS/EC2 StatusCheckFailed >= 1
Answer
B. AWS/ApplicationELB UnhealthyHostCount >= 1
Explanation
This condition checks the number of unhealthy hosts in the ALB and triggers the alarm when there are one or more unhealthy hosts.
Amazon AWS Certified SysOps Administrator – Associate certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified SysOps Administrator – Associate exam and earn Amazon AWS Certified SysOps Administrator – Associate certification.