Question 652 of 194
AZ-500 Secure compute, storage, and databases Practice Question
A company uses Azure SQL Database with Azure Active Directory authentication. To meet compliance requirements, they need to audit all failed login attempts and store the audit logs in a storage account located in a different Azure region for disaster recovery. What should they configure?
⚠ Common exam trap
Many exam-takers confuse auditing with threat detection or choose a Log Analytics workspace for centralized logging, overlooking the explicit requirement for durable, cross-region storage for compliance and disaster recovery.
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 SQL Auditing and set the destination to an Azure Storage account in a different region.
Azure SQL Database auditing can be configured to write audit logs directly to an Azure Storage account. Storing the logs in a storage account located in a different Azure region meets the disaster recovery requirement by ensuring logs survive a regional outage. The audit logs capture all database events, including failed login attempts, which satisfies the compliance need.
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 SQL Auditing and set the destination to a Log Analytics workspace in a different region.
Why it's wrong here
While Azure SQL Auditing does support Log Analytics as a destination, a Log Analytics workspace is a regional resource and does not provide automatic geo-replication of audit data. If the workspace's region experiences an outage, audit records for failed logins become unavailable for forensic or compliance purposes. An Azure Storage account in a separate region is the better choice because it can be configured with GRS/GZRS, providing paired-region durability that Log Analytics lacks by default.
- ✗
Enable SQL Auditing and set the destination to an Event Hub namespace in the same region.
Why it's wrong here
Event Hubs is primarily a real-time streaming ingestion service rather than a durable archive. With a destination in the same region, there is no cross-region redundancy, and Event Hubs has a limited retention window (for example, 7 days in the Standard tier) unless you explicitly configure Capture to deliver events to storage. Streaming audit records to Event Hubs is useful for live SIEM integration, but it does not meet long-term, geo-redundant retention requirements for login auditing.
- ✓
Enable SQL Auditing and set the destination to an Azure Storage account in a different region.
Why this is correct
Azure SQL Auditing can write audit logs directly to an Azure Storage account, and placing that account in a different region provides geographic separation for disaster recovery. You can select a storage account configured with geo-redundant storage (GRS) or geo-zone-redundant storage (GZRS), so audit .xel files are replicated to a paired region and remain accessible even if the primary SQL database region fails. This durable, long-term storage model satisfies compliance requirements for failed-login auditing and supports immutable retention policies to prevent tampering.
- ✗
Enable Advanced Threat Protection for Azure SQL Database and configure email notifications.
Why it's wrong here
Advanced Threat Protection for Azure SQL Database (part of Microsoft Defender for SQL) is a detection-oriented service that identifies anomalies like SQL injection, brute-force attempts, and unusual access patterns, then sends alerts via email or Defender for Cloud. It does not produce a complete, customizable audit trail of every failed login attempt, nor does it provide a geo-redundant storage destination for audit records. Email notifications only inform you of suspected threats, so they cannot substitute for a proper auditing configuration.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
This AZ-500 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 AZ-500 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.