Microsoft Certified Azure Data Engineer Associate · Free Practice Question Easy
Question 54
During the process of creating a notebook, you need to specify the pool that needs to be attached to the notebook that is, a SQL or Spark pool.
True or False: Notebook cells are individual blocks of code or text that runs as a group. If you want to skip cells within the group, a simple skip notation in the cell is all that is required.
-
A
True
-
B
False
Reveal correct answer
Correct answer: B
Explanation
When you want to run notebooks in the Synapse Studio environment, you are able to run the code cells in your notebook individually or all at once. The status and progress of each cell will also be represented in the notebook.
The different functionalities for running a notebook are as follows:
Run a Cell If you want to run once cell of code or text, you can do so through the notebook experience in Azure Synapse Studio.
Run all cells. If you have developed code that consists of multiple cells or is combined with text, you can do so through the notebook experience in Azure Synapse Studio.
Cancel a running cell. If you hit run, but while the cell is running, you want to cancel one cell run, you can do so within Azure Synapse notebooks.
Cell Status indicator If you want to check the status of a cell while running or completed, you have the possibility to get a status indicator within the notebook experience in Synapse Studio.
Spark progress indicator Azure Synapse Studio notebook is purely Spark based. Remotely, the code cells that are executed, are executed on the serverless Apache Spark pool. If you want to see the progress of a spark job, you can see in real time the job execution status below a cell. The number of tasks per each job or stage help you to identify the parallel level of your spark job. You can also drill deeper to the Spark UI of a specific job (or stage) via selecting the link on the job (or stage) name.
A.
Notebook cells are indeed individual blocks of code or text that can run independently. If you want to skip certain cells within the notebook, you can use features within the notebook interface to control the execution flow, such as commenting out the code or setting the cell to be skipped during execution. This allows you to run specific cells or skip others based on your requirements.
B. False. Notebook cells are indeed individual blocks of code or text that can run independently. However, to skip cells within the group, you would need to use specific commands or settings within the notebook interface, such as commenting out the code or setting the cell to be skipped during execution. A simple skip notation within the cell itself is not a standard feature in notebook environments like Azure Synapse Studio.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
