A SysOps administrator needs to implement a cost-monitoring solution for an AWS account where developers frequently deploy untagged experimental workloads. The solution must use machine learning to automatically detect unexpected spend spikes on resources that lack the Environment tag and send immediate alerts to an existing Amazon SNS topic. Furthermore, the administrator must be able to perform root-cause analysis in AWS Cost Explorer to identify the specific EC2 instance IDs responsible for any detected anomalies.
Which combination of steps should the administrator perform to meet these requirements?
- Activate the Environment tag as a cost allocation tag in the Billing console. Enable hourly and resource-level granularity in AWS Cost Explorer. In AWS Cost Anomaly Detection, create a Cost Allocation Tag monitor for the Environment tag, create an alert subscription linked to the SNS topic, and ensure the SNS topic's access policy permits the anomaly-detection.amazonaws.com service principal to publish to it.Cevap
- BEnable hourly and resource-level granularity in AWS Cost Explorer. In AWS Cost Anomaly Detection, create a Cost Allocation Tag monitor for the Environment tag, create an alert subscription linked to the SNS topic, and ensure the SNS topic's access policy permits the anomaly-detection.amazonaws.com service principal to publish to it.
- CActivate the Environment tag as a cost allocation tag in the Billing console. Enable hourly and resource-level granularity in AWS Cost Explorer. Create a Cost Category that filters for resources where the Environment tag is empty. Configure an AWS Budget with a daily recurring cost filter matching the untagged Cost Category, and configure an email and SNS alert with a static cost threshold above the forecasted budget.
- DActivate the Environment tag as a cost allocation tag in the Billing console. Enable hourly and resource-level granularity in AWS Cost Explorer. In AWS Cost Anomaly Detection, create a Cost Allocation Tag monitor for the Environment tag, create an Amazon EventBridge rule that triggers when Cost Anomaly Detection publishes to CloudWatch Metrics, and configure the target as the SNS topic.
Cevap
Activate the Environment tag as a cost allocation tag in the Billing console, enable hourly and resource-level granularity in AWS Cost Explorer, create a Cost Allocation Tag monitor for the Environment tag in AWS Cost Anomaly Detection, link it to an SNS subscription, and allow the anomaly-detection.amazonaws.com service principal to publish to the SNS topic.
The correct option outlines the comprehensive set of actions required to monitor untagged resources and analyze them. Activating the Environment tag as a cost allocation tag ensures AWS tracks cost data associated with this key. Enabling hourly and resource-level granularity in AWS Cost Explorer is necessary to identify individual EC2 instance IDs. Creating a Cost Allocation Tag monitor in AWS Cost Anomaly Detection allows the machine learning model to evaluate cost anomalies associated with tag values (including resources with no tag value). Modifying the SNS topic access policy to allow the anomaly-detection.amazonaws.com service principal to publish ensures alerts are successfully delivered.
Adım Adım Çözüm
Anahtar Kavram
AWS Cost Anomaly Detection utilizes machine learning to identify unexpected cost spikes, but depends on Cost Allocation Tags to monitor tagged/untagged resources, and requires SNS policy permissions to deliver alerts, while Cost Explorer requires explicit enablement of resource-level granularity for instance-level root-cause analysis.