DP-700 · Question #12
You have a Fabric workspace named Workspace1 that contains a notebook named Notebook1. In Workspace1, you create a new notebook named Notebook2. You need to ensure that you can attach Notebook2 to…
The correct answer is A. Enable high concurrency for notebooks. To attach Notebook2 to the same Apache Spark session as Notebook1, you must enable high concurrency for notebooks in the workspace.
Question
Options
- AEnable high concurrency for notebooks.
- BEnable dynamic allocation for the Spark pool.
- CChange the runtime version.
- DIncrease the number of executors.
How the community answered
(26 responses)- A92% (24)
- C4% (1)
- D4% (1)
Why each option
To attach Notebook2 to the same Apache Spark session as Notebook1, you must enable high concurrency for notebooks in the workspace.
Enabling high concurrency for notebooks allows multiple notebooks within the same Microsoft Fabric workspace to share a single Apache Spark session. This feature is designed to facilitate collaborative development and resource sharing by allowing notebooks to attach to the same Spark context.
Enabling dynamic allocation for the Spark pool allows Spark to automatically adjust its resources based on workload demands, but it does not enable multiple notebooks to share a single Spark session.
Changing the runtime version would alter the Spark environment and its libraries but has no direct effect on the ability of multiple notebooks to share a unified Spark session.
Increasing the number of executors provides more processing power to a Spark session but does not, by itself, enable or control the functionality for multiple notebooks to attach to and share that specific session.
Concept tested: Spark Session Sharing for Notebooks
Source: https://learn.microsoft.com/en-us/fabric/data-engineering/apache-spark-overview#apache-spark-session-management
Topics
Community Discussion
No community discussion yet for this question.