AWS Certified Machine Learning Engineer – Associate (MLA-C01) — Question 94

A company is working on an ML project that will include Amazon SageMaker notebook instances. An ML engineer must ensure that the SageMaker notebook instances do not allow root access.

Which solution will prevent the deployment of notebook instances that allow root access?

Answer options

Correct answer: A

Explanation

The correct answer is A because using IAM condition keys allows you to set permissions that specifically deny root access to SageMaker notebook instances during deployment. Options B, C, and D do not directly address the prevention of root access at the time of deployment, making them ineffective for this requirement.