MLA-C02 practice question: Auditing and pipeline security
Operating, Monitoring, and Securing ML and AI Solutions A free question from our original MLA-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A pet insurer requires an audit trail for its SageMaker AI model governance. Auditors need to see who changed the approval status of a model package in the Model Registry, and who read the training data files that the team stores in a restricted S3 bucket.
The security team wants these events recorded with AWS CloudTrail and kept for review, with no custom logging code in the ML workflows.
Which TWO CloudTrail configurations meet these requirements? (Choose two.)
Choose two answers.
AA. Keep CloudTrail management events enabled in a trail, so that SageMaker AI control plane calls such as the model package update are recorded with the caller's identity.
BB. Turn on the S3 object-level data events for the restricted bucket in the trail, so that each read of a training data object is recorded with its caller.
CC. Turn on S3 server access logging for the training data bucket, and assume it is also the way to record SageMaker AI approval changes.
DD. Enable CloudWatch Logs on the notebook instances, since notebook logs record every call the data scientists make to any AWS service.
EE. Use AWS Config to record the approval status of model packages as configuration items, which shows each change with the identity that made it.
C. Wrong: Server access logs cover S3 requests, but they do not record SageMaker AI approval changes. The option misses the model package audit requirement.
D. Wrong: Notebook logs cover what runs on the instance and not every API call made to AWS, and they do not capture the registry approval change. The option does not give the audit trail.
E. Wrong: AWS Config records resource configuration changes, but it does not record the identity of the caller in the way CloudTrail does for API calls. The S3 read events are also outside its scope.
Explanation
CloudTrail management events record SageMaker AI control plane calls such as a model package approval update, and S3 object-level data events record reads of objects in the restricted bucket. Server access logs, notebook logs and AWS Config do not capture both the registry change and the caller identity for the object reads.
Want more on Auditing and pipeline security? The 5 full-length practice sets have 11 more Auditing and pipeline security questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →