Exam4Training

How should you complete the code segment?

HOTSPOT

A coworker registers a datastore in a Machine Learning services workspace by using the following code:

You need to write code to access the datastore from a notebook.

How should you complete the code segment? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Box 1: DataStore

To get a specific datastore registered in the current workspace, use the get() static method on the

Datastore class:

# Get a named datastore from the current workspace

datastore = Datastore.get(ws, datastore_name=’your datastore name’)

Box 2: ws

Box 3: demo_datastore

Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-access-data

Latest DP-100 Dumps Valid Version with 227 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version