AWS Certified Machine Learning Engineer – Associate (MLA-C01) — Question 140
A company is building an ML model by using Amazon SageMaker, AWS owned libraries, and open source libraries. The company must ensure that SageMaker does not collect metadata about usage and errors during training.
Which solution will meet these requirements?
Answer options
- A. Associate the SageMaker domain with a custom IAM role. Attach the role to a policy that denies Amazon CloudWatch service usage logs.
- B. Add an IAM role to the SageMaker domain to deny Amazon CloudWatch the permission to report metadata.
- C. Turn off the setting in the SageMaker domain to share metadata for console jobs. Opt out of metadata collection for each training job that is submitted through the AWS CLI or AWS SDKs.
- D. Set a parameter to opt out of metadata collection for each training job that is submitted through the AWS CLI, Boto3, or the SageMaker Python SDK.
Correct answer: D
Explanation
The correct answer is D because it specifically addresses opting out of metadata collection for each training job submitted through various interfaces. Options A and B do not directly prevent metadata collection; instead, they focus on permissions related to Amazon CloudWatch. Option C only addresses the console jobs and does not apply universally to all submission methods.