ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - DP-100 discussion

Report
Export

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.


Question 97
Correct answer: Question 97

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

asked 02/10/2024
Kehinde Ifarinde
45 questions
User
0 comments
Sorted by

Leave a comment first