MLS-C01 Question 258
Select 3You are a Machine Learning Engineer managing a model training workflow that utilizes Amazon SageMaker. Lately, you have observed unexpected spikes in training costs, and your team suspects unauthorized changes to the training job configurations. To investigate and monitor such issues in the future, which combination of AWS services should you use?
- A
Enable AWS CloudTrail to log API calls that modify SageMaker training jobs and configurations.
- B
Use Amazon CloudWatch to set up alarms on SageMaker training job cost metrics.
- C
Enable VPC Flow Logs to monitor network traffic for the SageMaker training jobs.
- D
Configure Amazon CloudWatch Logs to collect and analyze SageMaker job logs.
- E
Use AWS Config to identify compliance violations in SageMaker training job configurations.
Show answer and explanation
Correct answers: A, B, D
Explanation
To investigate unauthorized changes and monitor cost spikes in SageMaker training jobs, you need to use a combination of AWS CloudTrail for API call logging, Amazon CloudWatch for monitoring and alarming on cost metrics, and Amazon CloudWatch Logs for analyzing detailed job logs. While VPC Flow Logs and AWS Config are helpful for other purposes, they do not address the specific needs of this scenario.
- A. Correct.
Correct. AWS CloudTrail logs API calls, including any changes made to SageMaker training jobs and configurations, which can help identify unauthorized modifications.
- B. Correct.
Correct. Amazon CloudWatch allows you to monitor and create alarms for cost-related metrics, helping you identify unexpected spikes in training costs.
- C. Incorrect.
Incorrect. VPC Flow Logs monitor network traffic, but they do not provide insights into training job configurations or cost spikes.
- D. Correct.
Correct. Amazon CloudWatch Logs can collect detailed logs from SageMaker training jobs, which can help you analyze job performance and detect anomalies.
- E. Incorrect.
Incorrect. AWS Config tracks resource compliance and configuration changes, but it is not specifically suited for monitoring costs or job logs for SageMaker.