Question 40
Domain 4: ML Solution Monitoring, Maintenance, and SecurityA company uses Amazon SageMaker Studio to develop an ML model. The company has a single SageMaker Studio domain. An ML engineer needs to implement a solution that provides an automated alert when SageMaker compute costs reach a specific threshold. Which solution will meet these requirements?
Correct answer: B
Explanation
AWS Budgets can monitor spend and “send an alert when the threshold is reached,” which fits the need for an automated cost notification. Adding resource tags in the SageMaker user profile lets SageMaker compute costs be grouped and tracked for the domain’s usage, so the budget can evaluate the tagged spend against the threshold.
Why each option is right or wrong
A. Add resource tagging by editing the SageMaker user profile in the SageMaker domain. Configure AWS Cost Explorer to send an alert when the threshold is reached.
Cost Explorer is mainly for cost analysis and reporting, not threshold-based budget alerting.
B. Add resource tagging by editing the SageMaker user profile in the SageMaker domain. Configure AWS Budgets to send an alert when the threshold is reached.
AWS Budgets is the service that supports automated cost alerts, and it can notify when actual or forecasted spend reaches a set threshold; budget alerts are configured on a cost threshold, not manually polled. In SageMaker Studio, tagging the user profile is the relevant way to attribute the domain’s compute usage for cost allocation, so the spend can be tracked against the budgeted threshold for that SageMaker workload.
C. Add resource tagging by editing each user's IAM profile. Configure AWS Cost Explorer to send an alert when the threshold is reached.
IAM profiles do not control SageMaker Studio resource tagging for tracking Studio compute costs.
D. Add resource tagging by editing each user's IAM profile. Configure AWS Budgets to send an alert when the threshold is reached.
Budgets can alert, but tagging each IAM profile is the wrong place for SageMaker Studio cost attribution.