Question

Difficulty: HardAWS Cost Explorer and Cost Anomaly Detection

A company operates a dynamic application environment that exhibits highly variable and un-forecastable daily resource utilization. A SysOps administrator must implement a cost-monitoring solution capable of identifying sudden, unexpected cost anomalies in near-real-time. When an anomaly is detected with a cost impact exceeding a specific threshold, the solution must automatically execute an AWS Systems Manager (SSM) Automation runbook to stop the offending resources. Which solution should the SysOps administrator implement to meet these requirements?

  1. A
    Create an AWS Budget with a daily cost limit that matches the baseline. Configure a budget action to execute the AWS Systems Manager Automation runbook when the actual cost exceeds the threshold by a static limit.
  2. B
    Configure an AWS Cost Anomaly Detection monitor. Create an alert subscription in AWS Cost Anomaly Detection and select the AWS Systems Manager Automation runbook as the direct notification target.
  3. Configure an AWS Cost Anomaly Detection monitor. Create an Amazon EventBridge rule that matches AWS Cost Anomaly Detection alert events and targets the AWS Systems Manager Automation runbook.Answer
  4. D
    Apply a custom billing tag to all application resources. Configure an AWS Cost Anomaly Detection monitor filtered by this tag. Create an Amazon EventBridge rule to route anomaly events to the Systems Manager Automation runbook, without activating the tag in the AWS Billing Console.

Answer

Configure an AWS Cost Anomaly Detection monitor. Create an Amazon EventBridge rule that matches AWS Cost Anomaly Detection alert events and targets the AWS Systems Manager Automation runbook.
The correct solution involves configuring an AWS Cost Anomaly Detection monitor to leverage machine learning, which dynamically adjusts baselines for un-forecastable daily usage patterns. Because AWS Cost Anomaly Detection automatically publishes anomaly events to Amazon EventBridge, creating an EventBridge rule that filters for these alerts and targets an AWS Systems Manager Automation runbook allows the system to execute remediations automatically when the cost anomaly exceeds the designated threshold.

Step-by-Step Solution

1
Choose the correct monitoring service for variable workloads.
AWS Cost Anomaly Detection is selected instead of AWS Budgets.
AWS Cost Anomaly Detection uses machine learning to dynamically model baseline spend, which is necessary to avoid false alarms on un-forecastable daily usage patterns.
2
Establish the resource scope and tag configuration.
Ensure any custom resource tags used for cost categorization are activated as Cost Allocation Tags in the AWS Billing Console.
Unactivated tags will not propagate to cost and billing services, rendering any tag-based cost monitors non-functional.
3
Configure the automated remediation pathway.
Create an Amazon EventBridge rule that triggers on AWS Cost Anomaly Detection events and sets the Systems Manager Automation runbook as the target.
AWS Cost Anomaly Detection subscriptions do not natively support executing Systems Manager Automation runbooks, necessitating EventBridge to route the anomaly alerts to the target runbook.

Key Concept

AWS Cost Anomaly Detection integration with EventBridge for automated remediation of variable workloads
Rate this question