AWS Certified Machine Learning – Specialty — Question 9

A Machine Learning team uses Amazon SageMaker to train an Apache MXNet handwritten digit classifier model using a research dataset. The team wants to receive a notification when the model is overfitting. Auditors want to view the Amazon SageMaker log activity report to ensure there are no unauthorized API calls.
What should the Machine Learning team do to address the requirements with the least amount of code and fewest steps?

Answer options

Correct answer: B

Explanation

The correct answer is B because AWS CloudTrail provides a comprehensive logging solution for API calls, which meets the auditing requirement while also allowing for minimal code changes. Options A and C involve unnecessary complexities with AWS Lambda, and D does not include the necessary custom metric or CloudWatch alarm for overfitting, which is essential for real-time monitoring.