DP-300 Plan and implement data platform resources Practice Question
You are managing an Azure SQL Managed Instance that hosts multiple databases for a financial application. You need to implement a security solution that meets compliance requirements by auditing all database activity and sending the audit logs to a centralized Log Analytics workspace for analysis. The solution must also support real-time alerts on suspicious activities. What should you configure?
⚠ Common exam trap
Test-takers frequently confuse Microsoft Defender for Cloud (which provides vulnerability assessment and security recommendations) with a full auditing and SIEM solution, or mistakenly think that a storage account plus Intune can provide real-time alerting, when in fact only Log Analytics with Sentinel delivers both centralized auditing and real-time threat detection.
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
✓
Enable auditing to a Log Analytics workspace and integrate with Microsoft Sentinel.
Auditing to a Log Analytics workspace allows centralized collection of audit logs, which can then be integrated with Microsoft Sentinel for real-time analytics, threat detection, and automated alerting on suspicious activities. This meets both the compliance requirement for auditing and the operational need for real-time alerts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable Microsoft Defender for Cloud and configure SQL vulnerability assessment.
Why it's wrong here
Defender for Cloud and vulnerability assessment scan configuration weaknesses and surface alerts, but they do not capture every database activity into Log Analytics for compliance auditing. It is tempting because Defender does provide threat alerts, which suits security posture management rather than full audit-trail collection.
- ✗
Enable auditing to a storage account and use Microsoft Intune for monitoring.
Why it's wrong here
Auditing to a storage account writes audit records as blobs, which Log Analytics cannot query directly, and Microsoft Intune manages devices rather than database activity. It is tempting because storage-account auditing is a valid, cheaper destination, which suits archival retention rather than centralised analysis and real-time alerting.
- ✓
Enable auditing to a Log Analytics workspace and integrate with Microsoft Sentinel.
Why this is correct
Auditing to a Log Analytics workspace centralises all database activity for compliance analysis, while Microsoft Sentinel ingests those same logs to provide real-time analytics rules and alerts on suspicious activity, satisfying both the centralised logging and real-time alerting constraints.
- ✗
Enable Microsoft Purview Data Map for the managed instance.
Why it's wrong here
Microsoft Purview Data Map catalogues and classifies data assets; it does not capture database activity logs nor route them to Log Analytics. It is tempting because Purview provides compliance-oriented data governance and lineage, which would suit a discovery and classification requirement rather than audit log streaming with real-time alerting.
Go deeper
Related to this question
Learn chapter
Managing Environment Configurations and Resource Governance
Key term
Azure SQL Managed Instance
Azure SQL Managed Instance is a fully managed cloud database service that gives you nearly all the features of Microsoft SQL Server on your own server, without you having to manage the hardware or operating system.
Key term
Azure SQL Threat Detection
Azure SQL Threat Detection is a built-in security feature that continuously monitors your Azure SQL database for suspicious activities and sends alerts when potential threats are found.
About these practice questions
One of 574 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 →
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.