Question 703 of 1,000

Quick Answer

The correct answer is to export logs to Azure Blob Storage for long-term retention beyond two years, as this provides the most cost-effective solution for meeting a seven-year compliance requirement in Microsoft Sentinel. Sentinel’s native Log Analytics workspace supports interactive retention for up to two years, but after that, moving logs to Azure Blob Storage or Azure Archive Storage drastically reduces costs while preserving data for auditing. On the AZ-500 exam, this scenario tests your understanding of balancing compliance mandates with budget constraints, often appearing as a multi-select question where you must avoid expensive or real-time options like Event Hubs or Azure SQL Database. A common trap is choosing continuous export to Event Hubs, which is designed for streaming, not long-term storage. Remember the memory tip: “Two years in Logs, then Blobs for the long haul” — interactive retention stays in Log Analytics, while cold storage in Blobs or Archive keeps costs low for years.

AZ-500 Practice Question: Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel

This AZ-500 practice question tests your understanding of secure azure using microsoft defender for cloud and microsoft sentinel. 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.

You are designing a Microsoft Sentinel deployment for a multinational company. The company requires that all security logs be retained for at least seven years for compliance. The solution must be cost-effective. Which THREE actions should you take?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "least"

    Why it matters: You want the option with minimum overhead, fewest steps, or lowest impact — not the most feature-rich or comprehensive answer.

Question 1hardmulti select
Read the full NAT/PAT explanation →

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

Configure the Log Analytics workspace retention to two years for interactive queries.

Option A, B, and E are correct. Enabling sentinel in the Log Analytics workspace allows interactive retention of up to two years. After that, you can set up Azure Blob Storage or Azure Data Lake Storage for long-term retention at lower cost. You can also use Azure Archive Storage for even cheaper storage. Option C is wrong because continuous export to Event Hubs is for real-time streaming, not long-term retention. Option D is wrong because Azure SQL Database is expensive for log storage and not designed for this purpose.

Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Answer analysis

Option-by-option breakdown

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

  • Use continuous export to Azure Event Hubs for long-term storage.

    Why it's wrong here

    Incorrect. Event Hubs is for real-time streaming, not long-term retention.

  • Store logs in Azure SQL Database for seven years.

    Why it's wrong here

    Incorrect. Azure SQL Database is expensive and not optimized for log storage.

  • Configure the Log Analytics workspace retention to two years for interactive queries.

    Why this is correct

    Correct. Sentinel uses Log Analytics with up to two years interactive retention.

    Clue confirmation

    The clue word "least" in the question point toward this answer.

    Related concept

    Static NAT maps one inside address to one outside address.

  • Use Azure Archive Storage for logs older than two years.

    Why this is correct

    Correct. Archive storage is the lowest-cost option for long-term retention.

    Clue confirmation

    The clue word "least" in the question point toward this answer.

    Related concept

    Static NAT maps one inside address to one outside address.

  • Export logs to Azure Blob Storage for long-term retention beyond two years.

    Why this is correct

    Correct. Azure Blob Storage provides cost-effective long-term storage.

    Clue confirmation

    The clue word "least" in the question point toward this answer.

    Related concept

    Static NAT maps one inside address to one outside address.

Common exam traps

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Detailed technical explanation

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Key takeaway

NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AZ-500 NAT questions on configuration and troubleshooting.

Related practice questions

Related AZ-500 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 AZ-500 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 AZ-500 question test?

Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel — This question tests Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel — Static NAT maps one inside address to one outside address..

What is the correct answer to this question?

The correct answer is: Configure the Log Analytics workspace retention to two years for interactive queries. — Option A, B, and E are correct. Enabling sentinel in the Log Analytics workspace allows interactive retention of up to two years. After that, you can set up Azure Blob Storage or Azure Data Lake Storage for long-term retention at lower cost. You can also use Azure Archive Storage for even cheaper storage. Option C is wrong because continuous export to Event Hubs is for real-time streaming, not long-term retention. Option D is wrong because Azure SQL Database is expensive for log storage and not designed for this purpose.

What should I do if I get this AZ-500 question wrong?

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AZ-500 NAT questions on configuration and troubleshooting.

Are there clue words in this question I should notice?

Yes — watch for: "least". You want the option with minimum overhead, fewest steps, or lowest impact — not the most feature-rich or comprehensive answer.

What is the key concept behind this question?

Static NAT maps one inside address to one outside address.

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 20, 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 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.