MLS-C01 Question 257
Select 2You are managing a machine learning workload running on Amazon SageMaker. To ensure compliance and troubleshoot issues, you need to monitor the environment for anomalies, record logs for auditing, and set up metrics for model performance. Which combination of AWS services and tools would best help you achieve this?
- A
Amazon CloudWatch for monitoring metrics and setting alarms
- B
AWS CloudTrail for tracking API calls and user activity
- C
Amazon SNS for sending notifications based on specific events
- D
AWS Config for ensuring compliance with configuration policies
- E
Amazon S3 for storing model training logs
Show answer and explanation
Correct answers: A, B
Explanation
To properly log and monitor AWS environments for machine learning workloads, Amazon CloudWatch provides real-time monitoring of metrics and alarms, while AWS CloudTrail ensures all API calls and activities are logged for auditing purposes. These services together fulfill the requirements for compliance, troubleshooting, and performance monitoring.
- A. Correct.
Amazon CloudWatch is correct because it monitors application metrics, logs, and sets alarms for anomalous behavior, which is crucial for ensuring model performance and operational monitoring.
- B. Correct.
AWS CloudTrail is correct because it records API calls and user activities in your AWS environment, which is essential for auditing and compliance.
- C. Incorrect.
Amazon SNS is incorrect because while it is useful for sending notifications, it does not directly help monitor or log the environment.
- D. Incorrect.
AWS Config is incorrect because while it ensures compliance by assessing configuration policies, it does not directly assist in monitoring metrics or tracking user activity.
- E. Incorrect.
Amazon S3 is incorrect because although it can store logs, it does not actively monitor or track activities in real time.