MLA-C01 Question 408
Select 3You are working as an AWS Machine Learning Engineer for a company that has deployed a model into production using Amazon SageMaker. The team wants to ensure that any updates or re-training activities performed on the model are logged and monitored for compliance. Which of the following steps should you take to achieve this using AWS CloudTrail?
- A
Enable AWS CloudTrail logging for all SageMaker API actions in your AWS account.
- B
Create an Amazon CloudWatch alarm to notify the team when specific SageMaker API calls, such as 'UpdateEndpoint' or 'CreateTrainingJob,' are detected in CloudTrail logs.
- C
Manually download CloudTrail logs from Amazon S3 and review them for model re-training activities.
- D
Use AWS Config to monitor changes to SageMaker models and automatically update CloudTrail logs when re-training occurs.
- E
Set up an Amazon EventBridge rule to trigger a Lambda function for automated re-training when relevant SageMaker API calls are logged by CloudTrail.
Show answer and explanation
Correct answers: A, B, E
Explanation
To effectively use AWS CloudTrail to track and monitor re-training activities, you should enable CloudTrail logging for SageMaker API actions and pair it with automated monitoring and notifications via CloudWatch alarms. For advanced automation, you can use EventBridge to trigger workflows based on specific API calls logged by CloudTrail. This ensures compliance and operational efficiency without relying on manual effort.
- A. Correct.
Correct. Enabling AWS CloudTrail logging ensures that all SageMaker API actions, such as creating or updating training jobs, are recorded for auditing and monitoring purposes.
- B. Correct.
Correct. Creating a CloudWatch alarm allows the team to stay informed about critical SageMaker API actions, such as re-training events, logged by CloudTrail.
- C. Incorrect.
Incorrect. Manually downloading CloudTrail logs is not an efficient or scalable method for monitoring model re-training activities.
- D. Incorrect.
Incorrect. AWS Config monitors resource configurations but does not directly interact with CloudTrail logs to track model re-training activities.
- E. Correct.
Correct. Using EventBridge with CloudTrail enables automated workflows, such as triggering a Lambda function for re-training when specific API calls are logged.