easymulti selectObjective-mapped

A storage account's platform logs must be searchable later with KQL in a central workspace. Which two actions should the administrator take? Select two.

Question 1easymulti select
Full question →

A storage account's platform logs must be searchable later with KQL in a central workspace. Which two actions should the administrator take? Select two.

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Create a diagnostic setting on the storage account

Diagnostic settings tell Azure which resource logs and metrics to export from the storage account.

B

Distractor review

Configure a NAT gateway on the storage subnet

A NAT gateway changes outbound connectivity, but it does not collect or store logs.

C

Best answer

Send the logs to a Log Analytics workspace

Sending logs to Log Analytics makes them queryable later with KQL in one place.

D

Distractor review

Assign the Reader role on the subscription

Reader access allows viewing resources, but it does not route platform logs anywhere.

E

Distractor review

Enable a VM backup policy

A VM backup policy protects virtual machines, not the logging pipeline for storage accounts.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Create a diagnostic setting on the storage account — Diagnostic settings let you route platform logs from a resource to destinations such as Log Analytics. Sending the logs to a Log Analytics workspace makes them searchable with KQL later. Without the diagnostic setting on the storage account, the logs are not collected from that resource in the first place. Why others are wrong: A NAT gateway changes outbound routing and is unrelated to log collection. The Reader role grants view access but does not export diagnostics. A VM backup policy protects virtual machines, not storage account logs. None of those settings enable central log analysis with KQL.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.