mediummultiple choiceObjective-mapped

A storage account is failing writes, and the team also wants to correlate those errors with subscription-level changes such as role assignments or deployments. What should the administrator configure?

Question 1mediummultiple choice
Full question →

A storage account is failing writes, and the team also wants to correlate those errors with subscription-level changes such as role assignments or deployments. What should the administrator configure?

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

Distractor review

Rotate the storage account keys and review access from the portal activity feed.

Key rotation can be a security practice, but it does not collect telemetry or centralize error and change data for troubleshooting.

B

Best answer

Create diagnostic settings on the storage account and the subscription that send logs to the same Log Analytics workspace.

Diagnostic settings are the correct mechanism for exporting both resource logs and subscription Activity log events to Log Analytics. Putting them in the same workspace lets the team correlate storage failures with changes such as deployments or role assignments in one KQL query.

C

Distractor review

Place the storage account behind an availability set so writes remain available during maintenance.

Availability sets apply to virtual machines, not to storage accounts, and they do not provide log correlation or diagnostics.

D

Distractor review

Enable a service endpoint from the application subnet and check whether the firewall blocks the writes.

A service endpoint changes network access behavior, but it does not centralize telemetry or help correlate errors with subscription changes.

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 diagnostic settings on the storage account and the subscription that send logs to the same Log Analytics workspace. — To troubleshoot this kind of issue, the administrator needs both resource-level logs from the storage account and subscription-level Activity log events in one place. Diagnostic settings are used to stream those logs into a Log Analytics workspace, where KQL can correlate write failures with deployments, role assignments, or other changes. This gives a single operational view instead of separate portals and logs. Why others are wrong: A is wrong because key rotation does not produce the telemetry needed for correlation. C is wrong because availability sets are a compute feature, not a storage monitoring feature. D is wrong because network connectivity changes may affect access, but service endpoints do not collect logs or explain management-plane changes.

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.