You work as a Development Manager for Mark at MDFT Pro, a well-known training agency. MDFT Pro has a team of developers who have created Python libraries containing reusable code for transforming student enrollment data, course analytics, and performance metrics. Mark has asked you to set up a Fabric workspace named Workspace1 that will be used by the development team to build extract, transform, and load (ETL) solutions using notebooks for processing MDFT Pro’s educational data. To streamline the development process and ensure consistency across the team, you need to make sure that these custom Python libraries are automatically available by default to all new notebooks created in Workspace1, so developers don’t have to manually install them each time they create a new notebook.
Which three actions should you perform in sequence?
Choose the correct answer from the options below.
Please select at least one answer!
Congratulations, that is the correct answer!
I'm sorry, but your answer is not correct.
Explanations for each answer:
1. Change the runtime version, 2. Install the libraries, 3. Set the default environment is incorrect. Changing the runtime version is not necessary for making custom libraries available to notebooks. The correct first step is to create an environment.
1. Install the libraries, 2. Create an environment, 3. Set the default environment is incorrect. You must create an environment first before you can install libraries into it. Installing libraries without an environment context won't make them available by default to new notebooks.
1. Create a pool, 2. Install the libraries, 3. Set the default environment is incorrect. Creating a pool is not required for making libraries available to notebooks in Fabric. Environments, not pools, are used to manage library dependencies in Fabric workspaces.
1. Create an environment, 2. Install the libraries, 3. Set the default environment is correct. This is the correct sequence. First, you create an environment to serve as a container for your libraries. Then, you install the Python libraries into that environment. Finally, you set it as the default environment for the workspace so all new notebooks automatically use it.
1. Create an environment, 2. Set the default environment, 3. Install the libraries is incorrect. While creating an environment is the correct first step, you must install the libraries into the environment before setting it as the default, otherwise the default environment would not contain the required libraries.
1. Create an environment, 2. Create a pool, 3. Install the libraries is incorrect. Creating a pool is not necessary for making libraries available to notebooks. After creating an environment and installing libraries, you need to set the environment as default, not create a pool.
Learn more about managing libraries in Fabric environments: