100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 780
A team asks whether the metric namespace for an App Service plan can be assumed to provide every metric listed for a Storage account. What is the correct source-selection approach?
- Inspect the metric definitions and supported namespaces for the actual resource type being monitored
- Use any Storage-only metric name against any Azure resource because metric names are globally interchangeable
- Create a multi-resource metric chart and assume it supplies the union of all metric names to each App Service and Storage resource
- Request the Storage account metric namespace while scoping a metric alert to an App Service plan
Explanation
Correct Answer
A:Azure resource providers publish their own supported metrics and dimensions. A metric valid for Storage may be unavailable or mean something different for App Service plans.
Incorrect Answers
B:Azure Monitor does not guarantee that metric sets are shared across resource providers. A missing or invalid metric can invalidate the alert design.
C:Azure Monitor multi-resource views do not cause one provider's metric namespace to become available on another resource type. The chart must use metrics that are actually published and supported for the target resources and namespace.
D:Azure resource-specific metrics are scoped by resource type and published namespace. Naming a Storage metric namespace for an App Service plan does not cause the latter to emit Storage account metrics. Inspect provider-specific metric definitions and choose a valid namespace.
Question 781
An Azure Blob Storage account generates supported Blob service read, write, and delete resource logs, but the security analysts need to query those logs alongside other Azure resources in one Log Analytics workspace. No diagnostic setting currently routes the Blob service logs anywhere. What should be configured?
- Create a diagnostic setting for the storage account’s Blob service subresource (`blobServices/default`), selecting supported Blob logs and the Log Analytics workspace
- Enable only a storage account metric chart without configuring log export
- Create a saved Log Analytics query without enabling diagnostic ingestion
- Create an Azure Monitor action group targeting the security analysts
Explanation
Correct Answer
A:Blob service resource logs are associated with the Microsoft.Storage/storageAccounts/blobServices subresource. Configure its diagnostic setting to export supported StorageRead, StorageWrite and StorageDelete categories to the selected Log Analytics workspace. A saved query alone cannot ingest missing records, and an account-level metric display is not a replacement for Blob service log routing.
Incorrect Answers
B:Metrics summarize numerical measurements, but do not collect the diagnostic resource log records that analysts must search within Log Analytics.
C:A saved query can only analyze records already present. It does not send missing storage diagnostic events into the workspace.
D:Action groups send notifications when alerts fire. They are not the ingestion mechanism for storing diagnostic log events in a workspace.
Question 782
A subscription administrator wants a record of who modified an Azure resource-group access-control setting yesterday. The operation was a subscription management-plane event, and no custom application logs were emitted. Which existing Azure data source is most directly relevant?
- Azure Activity Log administrative events for the subscription
- The virtual machine guest Windows Application event log only
- Read Application Insights request-telemetry entries and assume they include every Azure RBAC assignment modification
- Query Azure Resource Graph's current role assignments and assume it preserves the previous day's caller and timestamp for every RBAC change.
Explanation
Correct Answer
A:Azure Activity Log records Azure subscription management-plane events such as resource and role operations, helping identify the caller and timestamp of the change.
Incorrect Answers
B:A guest operating-system event log does not necessarily contain Azure Resource Manager role assignment operations outside the VM.
C:Application request telemetry describes app invocations and performance, not the Azure Resource Manager administrative operations recorded by subscription Activity Log.
D:Resource Graph is useful for querying current resource inventory and configuration, not as a comprehensive historical log of who changed subscription IAM at a specified time. The subscription's Activity Log administrative events provide the management-plane operation history.
Question 783
A company enables Azure Monitor diagnostic settings for a supported resource that exposes several changing resource-log categories. Its policy requires collecting all currently available resource log categories and automatically including new categories added to the same group later. Which category-group selection is appropriate?
- Select only a single current log category and never revisit the setting
- Select the audit category group and assume that means every operational category
- Select the allLogs category group where the resource supports it
- Enable Azure Activity Log administrative events instead of the resource's diagnostic setting
Explanation
Correct Answer
C:For resources that support it, the allLogs diagnostic category group includes all available resource-log categories and is maintained as category membership changes. It meets the requirement to avoid manual additions when Microsoft introduces another supported log category; check support on the target resource type.
Incorrect Answers
A:Selecting one currently available category records only that log type. New resource-log categories introduced by the service don't enter the setting automatically, so the strict all-category collection requirement would require manual maintenance and could leave gaps.
B:The audit group targets logs representing customer interactions with service data or settings. It is a subset of the available resource logs and doesn't promise all non-audit operational categories. It can be suitable for a narrower compliance purpose but fails the stated all-categories requirement.
D:Azure Activity Log concerns subscription control-plane activity and is not a substitute for per-resource diagnostic settings that collect service resource logs. Administrative activity events do not cover the resource's entire changing family of operational log categories.
Question 784
An Azure auditor queries the subscription Activity Log to identify every time an operator merely viewed a resource's configuration, but the log shows creations and deletes, not ordinary GET reads. Access logging for a regulated data service must include relevant data operations. Which interpretation is correct?
- Azure Activity Log usually covers control-plane administrative operations and does not typically log ordinary read operations; use the resource's appropriate diagnostic/audit logging for the needed actions
- Azure Activity Log must include all data-plane reads, so missing read entries prove the resource was never accessed
- Increasing Azure RBAC Reader role scope automatically makes past GET operations appear in the Activity Log
- Changing the resource group's location causes all previous administrative read actions to be regenerated
Explanation
Correct Answer
A:The subscription Activity Log primarily records management-plane events and generally does not capture routine read calls. Investigating regulated data access requires enabling the supported service-specific resource or data-plane audit logs and delivering them to a retained destination. The audit scope must match the action being investigated.
Incorrect Answers
B:Absence from the Activity Log is not proof of no access, especially for ordinary management reads and data-plane activity outside its intended scope. Inferring nonaccess from this incomplete evidence would undermine the audit and leave legitimate accesses unexamined.
C:RBAC Reader controls which resource-management information an identity may view; it does not retrospectively change the log categories Azure collected. Additional privileges cannot generate historical GET records that were not part of the captured Activity Log stream.
D:Moving a resource group changes management metadata but does not reconstruct missing log records or change the Activity Log event model. It could introduce unnecessary operational impact while leaving the regulated data-access audit gap unresolved.
Question 785
A team configured Azure Monitor diagnostic settings for a PaaS resource, selected only AllMetrics, and sent the export to Log Analytics. Weeks later the workspace receives no request-level resource logs, although supported platform metrics are visible. Assume the service supports resource logs and has generated requests. What diagnostic-setting change is needed?
- Create a subscription Activity Log diagnostic setting instead and assume its control-plane events include all resource request logs
- Enable the relevant supported resource log categories or category group in a resource-level diagnostic setting targeting the workspace
- Increase the workspace retention period without enabling any resource log category, so past request records can appear retroactively
- Export AllMetrics to a different destination such as Event Hubs and expect the original workspace to receive resource logs
Explanation
Correct Answer
B:Azure Monitor resource logs are not exported automatically simply because platform metrics are enabled. For a resource that supports log categories, explicitly select the relevant category or category group and send it to the Log Analytics workspace. With only AllMetrics selected, the destination can receive metrics but no resource request logs from that setting.
Incorrect Answers
A:The Azure Activity Log records subscription management and control-plane events; it is distinct from an individual PaaS resource’s request-level resource logs. A subscription Activity Log diagnostic setting cannot replace the resource’s missing resource-log categories. The required change belongs to the resource-level diagnostic setting for supported logs.
C:Workspace retention governs how long ingested records are kept; it cannot recreate past resource logs that were never collected. The resource’s diagnostic setting must be changed to send supported log categories before future request-level records can arrive. A longer retention period would be relevant only after ingestion was configured and running.
D:Sending platform metrics to Event Hubs changes the metric stream destination, not the resource-log categories selected for Log Analytics. It does not cause the original workspace to ingest request records, and it could remove metrics from that workspace if its destination were replaced. Configure supported resource logs as a separate selected data source.
Question 786
A Log Analytics workspace receives a large volume of verbose diagnostics through a data collection rule. The compliance team needs error records retained, but routine DEBUG rows may be discarded before storage to control ingestion cost. What feature should be evaluated?
- Use an alert processing rule to suppress action-group notifications for DEBUG events while leaving their ingestion unchanged
- An ingestion-time transformation in the supported DCR to filter nonessential input rows
- Use a KQL query at reporting time to hide DEBUG rows only in dashboards
- Change the Log Analytics table retention only for all incoming error and DEBUG rows
Explanation
Correct Answer
B:Supported DCR transformations use KQL-style transformations against incoming streams, enabling unwanted DEBUG rows to be filtered before ingestion while retaining required errors.
Incorrect Answers
A:An alert processing rule affects notification behavior after alerts are generated, not raw diagnostic records ingested through a DCR. A supported ingestion-time DCR transformation is needed to drop DEBUG rows before storage and billing.
C:A reporting filter changes what readers see but does not prevent DEBUG records from being ingested and billed in the workspace.
D:Retention determines how long records are stored after ingestion, not which severity rows enter through the DCR.
Question 787
A security team installed Azure Monitor Agent on a Windows VM and created a Data Collection Rule for security events. The DCR has a correct workspace destination, but events never appear. The rule is not associated with the VM. What is missing?
- Reinstall Azure Monitor Agent without creating its missing DCR association
- A Data Collection Rule association between the VM and the DCR
- Change only Log Analytics retention while leaving the VM DCR unassociated
- Create a second DCR with the same destination but do not associate either rule to the VM
Explanation
Correct Answer
B:A DCR association tells the agent which sources and destinations apply to that resource. Merely creating a DCR does not ensure the target VM receives its collection configuration.
Incorrect Answers
A:The agent is already installed; reinstalling it does not bind the relevant rule to the VM. It may leave the same missing collection configuration.
C:Retention changes how already ingested records are stored, not whether the VM agent receives a rule telling it which Windows events to collect.
D:Unassociated DCRs do not automatically configure the agent. Another unattached rule would reproduce the same missing event stream.
Question 788
A resource has five active diagnostic settings, each sending a different subset of data to approved destinations. An engineer tries to create a sixth setting for another workspace and receives a service limit error. How should the design be adjusted?
- Reuse or rationalize existing diagnostic settings because a resource supports a maximum of five
- Assign Monitoring Contributor at the resource and retry adding the sixth setting
- Switch the diagnostic setting destination from Log Analytics to Storage and assume this resets the count
- Add a second category to the sixth diagnostic setting while keeping five existing settings unchanged
Explanation
Correct Answer
A:Azure Monitor limits the number of diagnostic settings per resource. The team should combine compatible destinations/categories or replace an unnecessary setting rather than assuming a sixth is supported.
Incorrect Answers
B:The request fails at a service quota, not from missing authorization. Additional management permissions do not raise the maximum number of diagnostic settings per resource.
C:Destinations are settings within each diagnostic configuration. Replacing one destination does not make a sixth diagnostic setting available when five already exist.
D:Adding categories to an already-invalid sixth settings resource cannot bypass the quota. Consolidating existing settings is the supported design.
Question 789
An external security analytics service consumes events from an Azure Event Hubs namespace. The Azure platform team must stream supported resource diagnostic logs there without an intermediate scheduled export. What destination should be selected in the diagnostic setting?
- Create an Azure Monitor metric alert and assume it automatically streams every platform log record to Event Hubs
- Grant the external service Log Analytics Reader and assume platform logs appear in its Event Hubs consumer group
- Configure a Log Analytics data export rule without selecting the required platform log categories on the resource
- Configure Event Hubs as the diagnostic settings destination with required permissions and supported categories
Explanation
Correct Answer
D:Diagnostic settings can stream platform logs to Event Hubs for external consumers. Correct authorization, location restrictions and category selection must be configured for delivery.
Incorrect Answers
A:A metric alert evaluates conditions and triggers actions; it is not a continuous resource-log export destination. Diagnostic settings must route the requested supported categories.
B:Reader permits supported workspace queries but does not forward platform logs into the Event Hubs namespace. Export and consumer authorization are separate controls.
C:Workspace export operates on eligible ingested data, not an implicit collection of every resource log. The case needs diagnostic settings at the emitting resource to stream supported categories.
Question 790
A storage account exports Blob service logs to a Log Analytics workspace. The audit team asks to increase the searchable retention period from 30 to 180 days. An engineer proposes changing the diagnostic setting alone. What configuration should be examined?
- Select more diagnostic log categories without changing the destination retention
- Change only the diagnostic setting's display name
- Increase diagnostic data-ingestion volume to keep older records searchable
- Adjust the applicable Log Analytics table or workspace retention setting in the destination
Explanation
Correct Answer
D:Diagnostic settings route telemetry to sinks; retention and lifecycle within Log Analytics are governed by the destination's retention settings, not just by whether the resource sends logs.
Incorrect Answers
A:Choosing additional categories changes data volume, not how long previously ingested rows remain available inside Log Analytics.
B:Renaming the route does not extend the lifetime of log data held by the workspace.
C:Ingesting more events cannot extend the retention period for prior log records. The destination table lifecycle must be adjusted.
Microsoft Azure Administrator (AZ-104) Practice Tests