AWS Certified Machine Learning – Specialty — Question 135
A data scientist has been running an Amazon SageMaker notebook instance for a few weeks. During this time, a new version of Jupyter Notebook was released along with additional software updates. The security team mandates that all running SageMaker notebook instances use the latest security and software updates provided by SageMaker.
How can the data scientist meet this requirements?
Answer options
- A. Call the CreateNotebookInstanceLifecycleConfig API operation
- B. Create a new SageMaker notebook instance and mount the Amazon Elastic Block Store (Amazon EBS) volume from the original instance
- C. Stop and then restart the SageMaker notebook instance
- D. Call the UpdateNotebookInstanceLifecycleConfig API operation
Correct answer: C
Explanation
The correct answer is C because stopping and restarting the SageMaker notebook instance refreshes it with the latest updates and security patches provided by SageMaker. Options A and D involve lifecycle configurations, which do not directly apply to updating running instances. Option B would not ensure that the new updates are applied to the original instance.