nerdexam
Microsoft

DP-300 · Question #181

Drag and Drop Question You have SQL Server on an Azure virtual machine. You need to use Policy-Based Management in Microsoft SQL Server to identify stored procedures that do not comply with your…

The correct answer is Create a custom condition based on a built-in facet.; Create a custom policy based on a condition.; Run a policy evaluation. To enforce naming conventions on stored procedures using Policy-Based Management, you must first create a custom condition using a built-in facet (such as the StoredProcedure facet) that defines the naming rule (e.g., using a pattern match). Next, you create a custom policy…

Submitted by andres_qro· Mar 6, 2026Implement and Manage Database Infrastructure / SQL Server Configuration and Compliance Management

Question

Drag and Drop Question You have SQL Server on an Azure virtual machine. You need to use Policy-Based Management in Microsoft SQL Server to identify stored procedures that do not comply with your naming conventions. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibit

DP-300 question #181 exhibit

Answer Area

Drag items

Export a built-in policy.Create a custom policy based on a condition.Create a custom condition based on a built-in facet.View the policy history.Import a policy file.Run a policy evaluation.

Correct arrangement

  • Create a custom condition based on a built-in facet.
  • Create a custom policy based on a condition.
  • Run a policy evaluation.

Explanation

To enforce naming conventions on stored procedures using Policy-Based Management, you must first create a custom condition using a built-in facet (such as the StoredProcedure facet) that defines the naming rule (e.g., using a pattern match). Next, you create a custom policy that references that condition to define when compliance is required. Finally, you run a policy evaluation to check existing stored procedures against the policy and identify non-compliant objects.

Topics

#Policy-Based Management#SQL Server Administration#Naming Conventions#Azure Virtual Machines

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice