Courseiva
Implement a secure environmenteasyMultiple SelectObjective-mapped

DP-300 Implement a secure environment Practice Question

Which TWO of the following are required to enable Microsoft Defender for SQL for Azure SQL Database?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Configure a Log Analytics workspace.

Microsoft Defender for SQL requires a Log Analytics workspace to store security alerts and vulnerability assessment data. Option E is correct because Microsoft Defender for SQL must be enabled at the subscription level via Microsoft Defender for Cloud, which provides the security center integration. Options B, C, and D are not required for enabling Defender for SQL: Azure SQL Database auditing is separate, SQL Server Agent is not needed, and Azure Key Vault is for encryption key management, not a prerequisite for Defender for SQL.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Configure a Log Analytics workspace.

    Why this is correct

    Defender for SQL uses Log Analytics for data collection.

  • Enable Azure SQL Database auditing.

    Why it's wrong here

    Auditing is separate from Defender for SQL.

  • Enable SQL Server Agent.

    Why it's wrong here

    Not required.

  • Configure an Azure Key Vault for storing encryption keys.

    Why it's wrong here

    Not required for Defender for SQL.

  • Enable Microsoft Defender for Cloud on the subscription.

    Why this is correct

    Defender for Cloud provides the Defender for SQL plan.

Go deeper

Related to this question

About these practice questions

One of 906 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.