Question 321 of 953
Implement a secure environmentmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that audit logs are written to Azure Monitor (Log Analytics). This is correct because the JSON configuration for Azure SQL Database audit settings explicitly defines the audit destination as 'Log Analytics', which directs all audit event data to a specified Log Analytics workspace rather than to Blob storage or Event Hubs. When the destination is set to Log Analytics, no storage endpoint is required, as the logs are ingested directly into Azure Monitor for querying and alerting. On the DP-300 exam, this configuration tests your ability to interpret the JSON audit schema and distinguish between the three possible destinations: Log Analytics, Blob storage, and Event Hubs. A common trap is assuming that any audit configuration requires a storage account, but Log Analytics bypasses that entirely. Remember the mnemonic "L.A. Logs, No Blobs" — if the JSON shows "auditLogDestination": "LogAnalytics", think Log Analytics, not storage.

DP-300 Implement a secure environment Practice Question

This DP-300 practice question tests your understanding of implement a secure environment. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "state": "Enabled",
    "auditActionsAndGroups": [
      "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP",
      "FAILED_DATABASE_AUTHENTICATION_GROUP"
    ],
    "storageAccountAccessKey": null,
    "storageEndpoint": null,
    "isAzureMonitorTargetEnabled": true
  }
}
```

Refer to the exhibit. You are reviewing the audit settings for an Azure SQL Database. What will this configuration do?

Question 1mediummultiple choice
Full question →

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "state": "Enabled",
    "auditActionsAndGroups": [
      "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP",
      "FAILED_DATABASE_AUTHENTICATION_GROUP"
    ],
    "storageAccountAccessKey": null,
    "storageEndpoint": null,
    "isAzureMonitorTargetEnabled": true
  }
}
```

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

Audit logs are written to Azure Monitor (Log Analytics).

The exhibit shows that the audit destination is set to 'Log Analytics' (Azure Monitor), which means audit logs will be sent to a Log Analytics workspace. This configuration does not require a storage endpoint because Log Analytics is the designated target. Option B correctly identifies that audit logs are written to Azure Monitor (Log Analytics).

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.

  • Auditing is disabled because no storage endpoint is provided.

    Why it's wrong here

    Auditing can use Azure Monitor as destination.

  • Audit logs are written to Azure Monitor (Log Analytics).

    Why this is correct

    isAzureMonitorTargetEnabled: true sends logs to Log Analytics.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Only failed authentication attempts are audited.

    Why it's wrong here

    Both success and failure groups are included.

  • Audit logs are written to an Azure Storage account.

    Why it's wrong here

    Storage endpoint is null; logs are sent to Azure Monitor.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume auditing requires a storage endpoint and thus choose Option A, overlooking that Log Analytics and Event Hubs are valid destinations that do not need a storage endpoint.

Detailed technical explanation

How to think about this question

Azure SQL Database auditing can send logs to Azure Storage, Log Analytics, or Event Hubs. When Log Analytics is selected, audit records are ingested into the AzureDiagnostics or SQLSecurityAuditEvents table, enabling advanced querying and alerting via KQL. This is particularly useful for compliance scenarios where you need to correlate audit data across multiple databases or resources without managing storage blobs.

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.

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.

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: Audit logs are written to Azure Monitor (Log Analytics). — The exhibit shows that the audit destination is set to 'Log Analytics' (Azure Monitor), which means audit logs will be sent to a Log Analytics workspace. This configuration does not require a storage endpoint because Log Analytics is the designated target. Option B correctly identifies that audit logs are written to Azure Monitor (Log Analytics).

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

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.

Loading comments…

Sign in to join the discussion.

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.