nerdexam
Microsoft

DP-700 · Question #41

Your company has a team of developers. The team creates Python libraries of reusable code that is used to transform data. You create a Fabric workspace name Workspace1 that will be used to develop…

This question tests knowledge of Microsoft Fabric's Environment-based library management, specifically how to make custom Python libraries available by default to all new notebooks in a workspace. The correct approach uses a Fabric Environment item configured as the workspace…

Design and implement data ingestion and transformation

Question

Your company has a team of developers. The team creates Python libraries of reusable code that is used to transform data. You create a Fabric workspace name Workspace1 that will be used to develop extract, transform, and load (ETL) solutions by using notebooks. You need to ensure that the libraries are available by default to new notebooks in Workspace1. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Explanation

This question tests knowledge of Microsoft Fabric's Environment-based library management, specifically how to make custom Python libraries available by default to all new notebooks in a workspace. The correct approach uses a Fabric Environment item configured as the workspace default.

Approach. The correct three-action sequence is: (1) Create a new Environment item inside Workspace1, (2) Upload the custom Python library files (.whl or .py) into that Environment and publish it, then (3) Open Workspace1 Settings and set that Environment as the workspace default environment. Once set as the default, every new notebook created in Workspace1 automatically attaches to this environment, making the libraries available without any per-notebook configuration. This is the designated Fabric mechanism for workspace-wide, reusable dependency management - it replaces the older Spark pool-level library approach used in Azure Synapse.

Concept tested. Microsoft Fabric Workspace Environment configuration - specifically, creating a Fabric Environment, adding custom Python libraries to it, and designating it as the workspace-level default so new notebooks inherit those libraries automatically. This falls under the Fabric Data Engineering / Spark compute management domain.

Reference. Microsoft Learn: 'Create, configure, and use an environment in Microsoft Fabric' and 'Manage Apache Spark libraries in Microsoft Fabric' (learn.microsoft.com/fabric/data-engineering/environment-manage-library)

Topics

#Fabric#Workspace Libraries#Python Packages#Notebooks Configuration

Community Discussion

No community discussion yet for this question.

Full DP-700 Practice