A SysOps administrator needs to identify and safely decommission underutilized Application Load Balancers (ALBs) to optimize costs across a production AWS account. The administrator accesses the AWS Trusted Advisor Cost Optimization dashboard and notes several ALBs flagged as idle.
Which of the following describes the most accurate method to verify these load balancers are idle and the safest sequence to delete them?
- AConfigure a CloudWatch Logs metric filter on the ALB access logs to track active requests. Set the CloudWatch Log Group retention period to 7 days, and delete any ALB that has not written to its log stream within that timeframe to automatically stop log storage costs.
- BEnable Detailed Monitoring on the identified ALBs to access 1-minute granularity for the ActiveConnectionCount metric. If the average connections over 7 days are less than 100, delete the ALB immediately and release any associated Elastic IP addresses to avoid idle address fees.
- Query the CloudWatch RequestCount metric using the Sum statistic over the last 7 days. If the total requests are less than 100, update any Route 53 alias records pointing to the ALB to redirect traffic to a backup resource, wait for the DNS TTL to expire, and then delete the ALB.Answer
- DCheck the Cost Allocation Tags on the ALBs using AWS Cost Explorer to confirm zero billing activity over the last 7 days. Once verified, delete the ALBs first, and then update Route 53 CNAME records to point to a static S3 website hosting endpoint.
Answer
Query the CloudWatch RequestCount metric using the Sum statistic over the last 7 days. If the total requests are less than 100, update any Route 53 alias records pointing to the ALB to redirect traffic to a backup resource, wait for the DNS TTL to expire, and then delete the ALB.
The correct option outlines the standard AWS Trusted Advisor threshold for identifying idle ALBs, which is having a RequestCount of less than 100 over a 7-day period. By using the Sum statistic, the administrator can confirm the total request volume. The decommissioning workflow is safe because it updates Route 53 records first and waits for the TTL to expire, preventing client connection failures before the resource is deleted.
Step-by-Step Solution
Key Concept
Safely identifying and decommissioning idle Application Load Balancers (ALBs) involves verifying usage using the RequestCount metric (Sum statistic over 7 days) and updating Route 53 DNS records before deleting the resource to avoid traffic blackholing.
Estimated Time:2m 0s