- A
Azure Event Grid
Why wrong: Event Grid is not a destination for audit logs; Event Hubs is.
- B
Azure Monitor Metrics
Why wrong: Metrics are numerical performance data, not audit logs.
- C
Azure Storage account
Audit logs can be stored in an Azure Storage account.
- D
Log Analytics workspace
Audit logs can be sent to Log Analytics for analysis.
- E
On-premises file share
Why wrong: Azure SQL Database cannot write to on-premises locations directly.
Quick Answer
The answer is the Log Analytics workspace and Azure Storage account. These two destinations are valid because Azure SQL Database auditing captures database events and writes them to a configurable audit log target, with Azure Storage providing durable blob storage for raw audit records and Log Analytics enabling integration with Azure Monitor for real-time querying, alerting, and retention management. On the DP-300 exam, this concept tests your understanding of audit log destinations and their operational use cases, often appearing as a multiple-select question where Event Hub is a distractor—it supports streaming but is not a primary audit log destination for SQL Database. A common trap is confusing Event Hub’s streaming capability with direct audit storage, so remember the mnemonic “SLA” for Storage, Log Analytics, and Audit—only the first two are valid destinations for native auditing.
DP-300 Implement a secure environment Practice Question
This DP-300 practice question tests your understanding of implement a secure environment. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Which TWO are valid methods for auditing Azure SQL Database activity? (Choose two.)
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 Storage account
Option C is correct because Azure SQL Database auditing can write audit logs directly to an Azure Storage account, which is a supported destination for storing audit records in blob format. Option D is correct because audit logs can also be sent to a Log Analytics workspace, enabling integration with Azure Monitor for advanced querying and alerting on audit data.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Event Grid
Why it's wrong here
Event Grid is not a destination for audit logs; Event Hubs is.
- ✗
Azure Monitor Metrics
Why it's wrong here
Metrics are numerical performance data, not audit logs.
- ✓
Azure Storage account
Why this is correct
Audit logs can be stored in an Azure Storage account.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Log Analytics workspace
Why this is correct
Audit logs can be sent to Log Analytics for analysis.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
On-premises file share
Why it's wrong here
Azure SQL Database cannot write to on-premises locations directly.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Azure Monitor Metrics (numerical performance data) with Log Analytics (log/event data), or assume that on-premises file shares are supported because SQL Server on-premises supports file-based auditing, but Azure SQL Database is a PaaS service with restricted destination options.
Detailed technical explanation
How to think about this question
Under the hood, Azure SQL Database auditing uses the same auditing engine as SQL Server, but the logs are streamed via the Azure infrastructure to the chosen destination. When using Log Analytics, audit records are stored in the AzureDiagnostics table (or the dedicated SQLSecurityAuditEvents table) and can be queried with KQL, enabling near-real-time analysis. A subtle behavior is that audit logs sent to Storage are written in .xel files (XEvent format), which require tools like SSMS or T-SQL to read, whereas Log Analytics provides immediate queryability.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Implement a secure environment — study guide chapter
Learn the concepts, then practise the questions
- →
Implement a secure environment practice questions
Targeted practice on this topic area only
- →
All DP-300 questions
953 questions across all exam domains
- →
Microsoft Azure Database Administrator Associate DP-300 study guide
Full concept coverage aligned to exam objectives
- →
DP-300 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DP-300 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Plan and configure a high availability and disaster recovery environment practice questions
Practise DP-300 questions linked to Plan and configure a high availability and disaster recovery environment.
Plan and implement data platform resources practice questions
Practise DP-300 questions linked to Plan and implement data platform resources.
Monitor, configure, and optimize database resources practice questions
Practise DP-300 questions linked to Monitor, configure, and optimize database resources.
Configure and manage automation of tasks practice questions
Practise DP-300 questions linked to Configure and manage automation of tasks.
Plan and configure high availability and disaster recovery practice questions
Practise DP-300 questions linked to Plan and configure high availability and disaster recovery.
Implement a secure environment practice questions
Practise DP-300 questions linked to Implement a secure environment.
DP-300 fundamentals practice questions
Practise DP-300 questions linked to DP-300 fundamentals.
DP-300 scenario practice questions
Practise DP-300 questions linked to DP-300 scenario.
DP-300 troubleshooting practice questions
Practise DP-300 questions linked to DP-300 troubleshooting.
Practice this exam
Start a free DP-300 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this DP-300 question test?
Implement a secure environment — This question tests Implement a secure environment — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Azure Storage account — Option C is correct because Azure SQL Database auditing can write audit logs directly to an Azure Storage account, which is a supported destination for storing audit records in blob format. Option D is correct because audit logs can also be sent to a Log Analytics workspace, enabling integration with Azure Monitor for advanced querying and alerting on audit data.
What should I do if I get this DP-300 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 24, 2026
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.
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.