mediummultiple choiceObjective-mapped

Exhibit

Storage account diagnostics
---------------------------
Diagnostic settings: storage-diag
Logs: Enabled
Destinations:
- Archive to storage account: Yes
- Event Hub: No
- Log Analytics workspace: No

Operational requirement
----------------------
Search logs in KQL
Build workbook charts
Create log-based alerts
Keep data queryable for 30 days

Based on the exhibit, the security team needs 30 days of searchable log data for a storage account and wants to create queries that can be used in workbooks and alerts. The current configuration only sends data to an archive location. What should the administrator configure?

Question 1mediummultiple choice
Full question →

Based on the exhibit, the security team needs 30 days of searchable log data for a storage account and wants to create queries that can be used in workbooks and alerts. The current configuration only sends data to an archive location. 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

Best answer

Add a Log Analytics workspace destination to the diagnostic setting.

Log Analytics is the destination that supports KQL searches, workbook visualizations, and log-based alert rules. Adding it to the diagnostic setting gives the security team queryable operational data for the required retention period.

B

Distractor review

Change the storage account redundancy to RA-GRS.

Redundancy improves data durability, but it does not make diagnostic logs searchable in KQL or usable for alerts.

C

Distractor review

Enable a CanNotDelete lock on the storage account.

A lock protects the resource from deletion, but it does not route logs or provide analytic capabilities.

D

Distractor review

Configure a private endpoint for the storage account.

Private connectivity affects network access, not where diagnostics are sent or how long they remain queryable.

Common exam trap

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.

Technical deep dive

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.

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?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Add a Log Analytics workspace destination to the diagnostic setting. — The requirement is not just to retain logs, but to keep them searchable and usable for alerts and dashboards. That requires sending diagnostic data to a Log Analytics workspace. Storage archive provides retention, but it does not support interactive KQL querying or workbook-based analysis. Adding the workspace destination is the key configuration change. Why others are wrong: Changing replication only affects resilience, not analytics. A CanNotDelete lock protects the storage account from removal, but it does not affect diagnostics. A private endpoint changes the network path to the storage account; it does not create a queryable log destination.

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.