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

A company must install a custom script on any newly created Amazon SageMaker notebook instances.

Which solution will meet this requirement with the LEAST operational overhead?

Answer options

Correct answer: A

Explanation

The correct answer is A, as creating a lifecycle configuration script allows for automatic execution of the script during the notebook's creation, minimizing manual intervention. Options B and C introduce more complexity by requiring additional resources like Docker images and CodeArtifact, while option D involves using Lambda and EventBridge, which adds unnecessary overhead for this specific requirement.