nerdexam
Microsoft

DP-700 · Question #72

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…

The correct answer is A. Yes. A Fabric notebook can indeed be extended to use the Fabric API for various programmatic interactions, such as managing Fabric items or triggering specific actions.

Monitor and optimize a data analytics solution

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure key vault named KeyVault1 that contains secrets. You have a Fabric workspace named Workspace1. Workspace contains a notebook named Notebook1 that performs the following tasks: - Loads stage data to the target tables in a lakehouse - Triggers the refresh of a semantic model You plan to add functionality to Notebook1 that will use the Fabric API to monitor the semantic model refreshes. You need to retrieve the registered application ID and secret from KeyVault1 to generate the authentication token. Solution: You use the following code segment: Use notebookutils.credentials.getSecret and specify the key vault URL and key vault secret. Does this meet the goal?

Options

  • AYes
  • BNo

How the community answered

(26 responses)
  • A
    77% (20)
  • B
    23% (6)

Why each option

A Fabric notebook can indeed be extended to use the Fabric API for various programmatic interactions, such as managing Fabric items or triggering specific actions.

AYesCorrect

Fabric notebooks support executing code, including Python and Spark, which can be used to make HTTP requests to interact with the Fabric REST APIs. This allows for programmatic control and automation of Fabric resources and tasks directly from a notebook.

BNo

A Fabric notebook is a powerful compute environment that can execute code, including API calls, making it suitable for extending functionality via the Fabric API.

Concept tested: Fabric notebook capability to use Fabric API

Source: https://learn.microsoft.com/en-us/rest/api/fabric/

Topics

#Azure Fabric Notebooks#Azure Key Vault#Secure Credential Management#Fabric API Authentication

Community Discussion

No community discussion yet for this question.

Full DP-700 Practice