Courseiva
Plan and implement data platform resourceseasyMultiple ChoiceObjective-mapped

DP-300 Plan and implement data platform resources Practice Question

You need to ensure that all queries executed against an Azure SQL Database are audited and logged to a Log Analytics workspace for security analysis. Which feature should you enable?

⚠ Common exam trap

Watch out — candidates often confuse 'threat detection' (Advanced Threat Protection) or 'security posture management' (Microsoft Defender for Cloud) with the specific need for a full query audit log, but only Azure SQL Auditing provides the granular, configurable logging of all executed queries to a Log Analytics workspace.

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

Azure SQL Auditing

Azure SQL Auditing is the feature specifically designed to track database events and write them to an audit log destination, including a Log Analytics workspace. This enables security analysis by capturing all queries executed against the database, which can then be queried and analyzed within the workspace. The other options focus on vulnerability scanning, threat detection, or security posture management, not on recording query execution logs.

Answer analysis

Option-by-option breakdown

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

  • SQL Vulnerability Assessment

    Why it's wrong here

    Vulnerability assessment scans for security misconfigurations, not query auditing.

  • Advanced Threat Protection

    Why it's wrong here

    ATP detects anomalous activities but does not log all queries.

  • Microsoft Defender for Cloud

    Why it's wrong here

    Defender for Cloud provides security recommendations and threat detection, not per-query auditing.

  • Azure SQL Auditing

    Why this is correct

    Auditing captures database events and can be configured to send logs to Log Analytics workspace.

Go deeper

Related to this question

About these practice questions

This DP-300 question is part of Courseiva's 906-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.