ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 14 - MLS-C01 discussion

Report
Export

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 these requirements?

A.
Call the CreateNotebookInstanceLifecycleConfig API operation
Answers
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
Answers
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
Answers
C.
Stop and then restart the SageMaker notebook instance
D.
Call the UpdateNotebookInstanceLifecycleConfig API operation
Answers
D.
Call the UpdateNotebookInstanceLifecycleConfig API operation
Suggested answer: C

Explanation:

The correct solution for updating the software on a SageMaker notebook instance is to stop and then restart the notebook instance.This will automatically apply the latest security and software updates provided by SageMaker1

The other options are incorrect because they either do not update the software or require unnecessary steps. For example:

Option A calls the CreateNotebookInstanceLifecycleConfig API operation. This operation creates a lifecycle configuration, which is a set of shell scripts that run when a notebook instance is created or started. A lifecycle configuration can be used to customize the notebook instance, such as installing additional libraries or packages.However, it does not update the software on the notebook instance2

Option B creates a new SageMaker notebook instance and mounts the Amazon Elastic Block Store (Amazon EBS) volume from the original instance.This option will create a new notebook instance with the latest software, but it will also incur additional costs and require manual steps to transfer the data and settings from the original instance3

Option D calls the UpdateNotebookInstanceLifecycleConfig API operation. This operation updates an existing lifecycle configuration.As explained in option A, a lifecycle configuration does not update the software on the notebook instance4

References:

1:Amazon SageMaker Notebook Instances - Amazon SageMaker

2:CreateNotebookInstanceLifecycleConfig - Amazon SageMaker

3:Create a Notebook Instance - Amazon SageMaker

4:UpdateNotebookInstanceLifecycleConfig - Amazon SageMaker

asked 16/09/2024
Mohamed Abdul Haq Mohamed Akram
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first