exam questions

Exam DP-700 All Questions

View all questions & answers for the DP-700 exam

Exam DP-700 topic 1 question 39 discussion

Actual exam question from Microsoft's DP-700
Question #: 39
Topic #: 1
[All DP-700 Questions]

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?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
smanzana
2 weeks, 6 days ago
Selected Answer: A
A- Yes
upvoted 1 times
...
DarioReymago
1 month ago
Selected Answer: A
https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities#get-secret-using-user-credentials
upvoted 1 times
...
lapiscineeviden
2 months ago
Selected Answer: A
Get secret using user credentials: notebookutils.credentials.getSecret('https://<name>.vault.azure.net/', 'secret name')
upvoted 1 times
...
Maryam3018
2 months, 2 weeks ago
Selected Answer: B
You do not specify the Key Vault URL. You do specify the Linked Service Name that represents the Key Vault (as configured in Microsoft Fabric). Then you specify the Secret Name within that Key Vault.
upvoted 2 times
...
zxc01
2 months, 3 weeks ago
Selected Answer: A
Answer should be Yes. We normally use Key Vault name and linked service, but we still can use Key Vault URL. notebookutils.credentials.getSecret('https://<name>.vault.azure.net/', 'secret name') ref link: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...