nerdexam
Microsoft

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.

Implement and manage an analytics solution

Question

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 same Apache Spark session as Notebook1. What should you do?

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)
  • A
    92% (24)
  • C
    4% (1)
  • D
    4% (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.

AEnable high concurrency for notebooks.Correct

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.

BEnable dynamic allocation for the Spark pool.

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.

CChange the runtime version.

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.

DIncrease the number of executors.

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

#Fabric Notebooks#Apache Spark#Session Sharing#High Concurrency

Community Discussion

No community discussion yet for this question.

Full DP-700 Practice