Exam objective

AZ-104

Monitor resources in Azure

This objective sits in Monitor and maintain Azure resources, which carries 14% of the Azure Administrator exam. The questions below are original, written from the official objective title above, and each explanation cites the Microsoft Azure page it rests on.

Objective title verbatim from the official objectives. Microsoft Azure exam page ↗

A worked example

Shown solved, with the whole explanation open: this is what every question here carries.

Monitor and maintain Azure resources

An administrator must identify who created a storage account six months ago. The subscription's activity log shows no entries that old. Which configuration would have preserved that information?

A resource lock on the storage account recording its creatorLocks prevent deletion or modification and store nothing about who created a resource.
A metric alert rule on the Administrative activity log categoryMetric alerts evaluate numeric time series; the activity log is not a metric source.
A longer retention period set on the activity log bladeThe activity log has no configurable retention of its own; the 90-day window is fixed.
A diagnostic setting sending the activity log to a workspaceCorrect · your answerCorrect.

Correct.

Checked against learn.microsoft.com, September 2026

Concept

The control-plane audit trail is kept by the platform for a fixed window and then dropped. Anything that must outlive that window has to be exported while it exists, into a store whose retention you control.

Why D

Azure retains activity log events for 90 days and then deletes them; for longer retention you create a diagnostic setting that collects the entries in another location, such as a Log Analytics workspace.

Source

Azure retains activity log events for 90 days and then deletes them. You aren't charged for entries during this time, regardless of volume. For more functionality, such as longer retention, create a diagnostic setting and collect the entries in another location based on your needs.

Azure Monitor activity log, checked September 2026
#activity-log#retention#diagnostic-settings

Now you: practice questions

No account needed. The explanation opens when you answer.

Sample question 1 of 3

Monitor and maintain Azure resources

An engineer opens Metrics explorer for a VM, selects Percentage CPU and a 60-day range. The chart renders blank, though the metric is retained 93 days. What is the cause?

Sample question 2 of 3

Monitor and maintain Azure resources

A key vault's audit logs must reach two Log Analytics workspaces, one per team. The administrator cannot select both in a single diagnostic setting. What should be done?

Sample question 3 of 3

Monitor and maintain Azure resources

A team queries a Log Analytics workspace for a storage account's resource logs and finds none, although the account's platform metrics appear in Metrics explorer. What explains the missing logs?

Full Azure Administrator question bank coming

We’re writing the complete bank from the official objectives right now. Leave your email and we’ll tell you when it ships, nothing else, ever.

Read the sources

These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.

More objectives in Monitor and maintain Azure resources