Microsoft
DP-700 · Question #79
You are building a Fabric notebook named MasterNotebook1 in a workspace. MasterNotebook1 contains the following code. DAG = { "activities": [ { "name": "execute_notebook_1", "path": "notebook_01", "ti
Sign in or unlock DP-700 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.
Question
You are building a Fabric notebook named MasterNotebook1 in a workspace. MasterNotebook1 contains the following code.
DAG = {
"activities": [
{
"name": "execute_notebook_1",
"path": "notebook_01",
"timeoutPerCellInSeconds": 600,
"args": {
"input_value": "999"
},
"retry": 1,
"retryIntervalInSeconds": 30
},
{
"name": "execute_notebook_2",
"path": "notebook_02",
"timeoutPerCellInSeconds": 400,
"args": {
"input_value": "888"
},
"retry": 1,
"retryIntervalInSeconds": 30
},
{
"name": "execute_notebook_3",
"path": "notebook_03",
"timeoutPerCellInSeconds": 600,
"args": {
"input_value": "777"
},
"retry": 1,
"retryIntervalInSeconds": 30
},
{
"name": "execute_notebook_0",
"path": "notebook_05",
"timeoutPerCellInSeconds": 600,
"args": {
"input_value": "777"
},
"retry": 1,
"retryIntervalInSeconds": 30
}
],
"timeoutInSeconds": 43200,
"concurrency": 0
}
mssparkutils.notebook.runMultiple(DAG, {"displayDAGViaGraphviz": True})
You need to ensure that the notebooks are executed in the following sequence:
- Notebook_03
- Notebook_01
- Notebook_02 Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
- AMove the declaration of Notebook_02 to the bottom of the Directed Acyclic Graph (DAG) definition.
- BAdd dependencies to the execution of Notebook_03.
- CSplit the Directed Acyclic Graph (DAG) definition into three separate definitions.
- DAdd dependencies to the execution of Notebook_02.
- EChange the concurrency to 3.
- FMove the declaration of Notebook_03 to the top of the Directed Acyclic Graph (DAG) definition.
Unlock DP-700 to see the answer
You've previewed enough free DP-700 questions. Unlock DP-700 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.