Courseiva

CCNA AZ Monitoring Questions

75 of 174 questions · Page 2/3 · AZ Monitoring topic · Answers revealed

76
MCQmedium

Based on the exhibit, the team wants to validate that a protected Azure VM can be recovered without affecting production. Which restore approach best meets the requirement?

A.Use Replace existing VM so the test uses the production name and disks.
B.Restore the VM to a separate resource group or test environment from the latest recovery point.
C.Export a snapshot and assume that proves the VM can boot successfully.
D.Enable Site Recovery failover, because backup restore and failover are identical.
AnswerB

Restoring the VM to a separate resource group or isolated test environment from the latest recovery point creates a fully independent copy of the VM, including its managed disks, network interfaces, and boot state, without any dependency on the production resource locks or network conflicts. This is the approved method for backup validation because it exercises the entire restore pipeline—reading the Recovery Services vault data, reconstructing the VM ARM template, and provisioning new resources—while leaving the original VM untouched. The team can then perform boot tests, application checks, and connectivity verifications on this restored instance, and tear it down without risk to production.

Why this answer

Restoring the VM to a separate resource group or test environment from the latest recovery point creates an isolated copy of the VM that does not interact with production resources. This approach validates recoverability without risking production name conflicts, IP address overlaps, or accidental data modification. Azure Backup's restore-to-new-location option explicitly supports this isolation by allowing you to choose a different resource group, virtual network, and storage account.

Exam trap

The trap here is that candidates confuse 'Replace existing VM' with a non-disruptive test, not realizing that this option directly modifies the production VM's disks and metadata, which would cause downtime and data loss if the test fails.

Why the other options are wrong

A

Using 'Replace existing VM' would overwrite the production VM with the restored data, which directly impacts production and violates the requirement to avoid affecting production.

C

Exporting a snapshot only captures the disk state at a point in time, but does not validate that the VM can boot or that applications are functional; it lacks the restore and boot verification steps required to confirm recoverability without impacting production.

D

Site Recovery failover is designed for disaster recovery and would impact production by failing over the VM, whereas the requirement is to validate recovery without affecting production.

77
MCQmedium

You need to be notified whenever the average CPU usage of VM-App01 exceeds 80 percent for 10 minutes. The solution must send an email to the operations team automatically. What should you configure?

A.Create an Azure Monitor metric alert and link it to an action group.
B.Create an Azure Advisor recommendation alert.
C.Create an activity log alert for the virtual machine.
D.Create a subscription budget alert.
AnswerA

An Azure Monitor metric alert continuously evaluates the VM's platform metric for Percentage CPU (a value emitted by Azure Monitor from the VM's hypervisor) against a defined threshold. When the average CPU usage exceeds the threshold, the alert fires and activates a linked action group, which delivers notifications via email, SMS, webhook, ITSM, or automation runbook. This is the intended mechanism for real-time, metric-based performance alerting on a VM.

Why this answer

Azure Monitor metric alerts can evaluate performance counters like CPU usage over a specified time window (e.g., 10 minutes) and trigger an action group when the threshold (80%) is exceeded. The action group can be configured with an email notification to the operations team, meeting the requirement automatically.

Exam trap

The trap here is confusing activity log alerts (which track management-plane operations) with metric alerts (which track performance data), leading candidates to choose Option C when they need real-time metric-based monitoring.

Why the other options are wrong

B

Azure Advisor recommendation alerts notify about recommendations for cost, security, reliability, and performance, not real-time metric thresholds like CPU usage. They cannot trigger on a specific metric condition such as CPU > 80% for 10 minutes.

C

Activity log alerts monitor changes to Azure resources (e.g., VM creation, deletion), not performance metrics like CPU usage. They cannot trigger based on metric thresholds.

D

Subscription budget alerts monitor cost spending against a budget, not performance metrics like CPU usage. They cannot trigger on average CPU exceeding a threshold.

78
MCQeasy

A support engineer needs to search a Log Analytics workspace for only failed sign-in records. Which KQL query should they use?

A.SigninLogs | where ResultType == 0
B.SigninLogs | where ResultType != 0
C.SigninLogs | summarize count()
D.SigninLogs | project UserPrincipalName
AnswerB

This query correctly isolates failed sign-ins because in the SigninLogs table a ResultType value of 0 (or "0") indicates a successful authentication, while all non-zero values represent error codes such as 50126 (invalid credentials) or 50053 (account lockout). By applying a where clause that excludes zero, you return only the failed sign-in events. Note that the ResultType field may be stored as a string, so the comparison might need quotes in some query contexts, but the logical predicate is correct.

Why this answer

In Azure AD sign-in logs, a `ResultType` of 0 indicates a successful sign-in, while any non-zero value (e.g., 50125, 53003) indicates a failure. The KQL query `SigninLogs | where ResultType != 0` filters for all records where the result type is not zero, thus returning only failed sign-in records.

Exam trap

The trap here is that candidates may mistakenly think `ResultType == 0` indicates a failure, when in fact 0 means success, and they overlook that non-zero values represent various failure codes.

Why the other options are wrong

A

ResultType == 0 indicates successful sign-ins, not failed ones. The question specifically asks for failed sign-in records, so this filter excludes the desired data.

C

The query uses summarize count() which returns the total count of sign-in records, not filtered for failed sign-ins. It does not include a where clause to isolate failed sign-ins (ResultType != 0).

D

The query projects only the UserPrincipalName column, which does not filter for failed sign-ins (ResultType != 0) and omits the ResultType column needed to identify failures.

79
MCQeasy

Based on the exhibit, which restore option should the administrator use to recover only the deleted file while keeping the VM online?

A.Restore the entire virtual machine to the latest recovery point.
B.Use File Recovery from the Recovery Services vault.
C.Redeploy the VM from the original image.
D.Disable backup protection and then re-enable it.
AnswerB

File Recovery is designed for exactly this scenario: recovering one or more files or folders from a VM backup without restoring the whole virtual machine. The VM stays online, users can continue working, and the administrator mounts the recovery point to copy back only the missing spreadsheet. This minimizes downtime and avoids overwriting unrelated data on the VM.

Why this answer

Azure Backup's File Recovery feature allows you to mount a recovery point as a drive on the VM, enabling you to browse and restore individual files without affecting the running VM. This avoids the need to restore the entire VM or take it offline, which is essential for recovering only the deleted file while maintaining availability.

Exam trap

The trap here is that candidates may assume restoring the entire VM is the only way to recover files, overlooking the File Recovery option that provides granular, online file-level restore without impacting the running VM.

Why the other options are wrong

A

Restoring the entire VM would overwrite the current VM state, causing downtime and potential data loss, and it does not target only the deleted file while keeping the VM online.

C

Redeploying the VM from the original image would replace the entire VM with a fresh copy from the base image, losing all data changes and the deleted file cannot be selectively recovered. It also requires the VM to be stopped or redeployed, not kept online.

D

Disabling backup protection and re-enabling it does not restore any data; it only stops future backups and starts a new backup chain. It cannot recover a deleted file while keeping the VM online.

80
MCQmedium

The team already exports subscription activity logs to a Log Analytics workspace and wants an alert that can ignore delete operations performed by a known automation account. What should they create?

A.An activity log alert at the subscription scope
B.A scheduled query alert in Log Analytics using the AzureActivity table
C.A metric alert on the subscription
D.A diagnostic setting on the resource group
AnswerB

Because the activity logs are already in Log Analytics, a scheduled query alert gives the team full KQL flexibility. They can filter by operation name and exclude actions performed by the automation account before firing the alert. This is the best choice when alert logic must be more specific than a standard activity log rule.

Why this answer

A scheduled query alert in Log Analytics can query the AzureActivity table to filter out delete operations performed by a specific automation account. This allows the alert to ignore those operations by excluding them in the query logic, which is not possible with activity log alerts that lack such granular filtering.

Exam trap

The trap here is that candidates often assume activity log alerts can filter by caller identity, but they only support static conditions like operation name or severity, not dynamic exclusion of specific principals.

Why the other options are wrong

A

An activity log alert at subscription scope cannot filter out specific operations (like delete) from a known automation account; it alerts on all matching operations without exclusion logic.

C

Metric alerts monitor performance metrics (e.g., CPU, memory) and cannot filter or alert on specific activity log operations like delete actions from a known automation account.

D

A diagnostic setting on the resource group sends logs to a destination (like Log Analytics or storage), but it does not create alerts. The question requires an alert that can filter out specific operations, which diagnostic settings cannot do.

81
MCQmedium

A production virtual machine is experiencing intermittent performance spikes. The operations team wants an alert when average CPU usage stays above 80 percent for 10 minutes and wants email and SMS notifications sent automatically. What should the administrator configure in Azure Monitor?

A.Create a log search alert on the VM performance data and attach a resource lock.
B.Create a metric alert on Percentage CPU and associate an action group with email and SMS receivers.
C.Assign an Azure Policy definition to the VM to stop it when CPU exceeds the threshold.
D.Enable diagnostic settings on the VM and send the data only to a storage account.
AnswerB

Metric alerts are the best fit for near real-time threshold monitoring of Azure platform metrics such as CPU. An action group delivers the notification channels, such as email and SMS, when the alert fires. This design meets both parts of the requirement: detect sustained CPU pressure and notify the operations team automatically without needing log ingestion or manual polling.

Why this answer

Azure Monitor metric alerts can evaluate real-time performance counters like Percentage CPU against a threshold (e.g., 80%) over a specified duration (e.g., 10 minutes). By associating an action group with email and SMS receivers, the alert automatically triggers the desired notifications without requiring log ingestion or complex queries.

Exam trap

The trap here is that candidates confuse metric alerts (which evaluate live performance counters) with log search alerts (which require log ingestion and are slower), or mistakenly think Azure Policy can react to performance metrics instead of enforcing configuration rules.

Why the other options are wrong

A

A log search alert requires log data from the VM, but the question specifies using 'average CPU usage' which is a metric, not log data. Additionally, a resource lock prevents accidental deletion or modification, not alerting.

C

Azure Policy is used for governance and compliance, not for real-time monitoring or alerting. It cannot trigger email or SMS notifications based on performance metrics like CPU usage.

D

Diagnostic settings send performance data to a storage account, but they do not create alerts or trigger notifications. The question requires an alert with email and SMS, which diagnostic settings alone cannot provide.

82
MCQeasy

A security admin wants Key Vault audit logs and metrics sent to a Log Analytics workspace for later search. Which Azure setting should be configured on the vault?

A.Diagnostic settings
B.Azure Policy assignment
C.Network security group
D.Action group
AnswerA

Diagnostic settings are the correct mechanism for sending Key Vault audit logs and metrics to Log Analytics, Event Hubs, or Azure Storage. A diagnostic setting on a Key Vault collects resource logs such as AuditEvent (e.g., successful and failed read/write operations) and platform metrics, then routes them continuously to the configured destination. This is the only option in the list that actually exports telemetry data; without a diagnostic setting, Log Analytics receives no Key Vault logging data.

Why this answer

Diagnostic settings in Azure Key Vault allow you to stream platform logs and metrics to various destinations, including a Log Analytics workspace. By configuring diagnostic settings on the vault, you can send audit logs (e.g., AuditEvent) and metrics (e.g., ServiceApiLatency) to Log Analytics for querying with KQL, enabling security analysis and monitoring.

Exam trap

The trap here is that candidates confuse diagnostic settings (which export logs/metrics) with action groups (which send notifications) or Azure Policy (which enforces rules), leading them to select a wrong option that does not actually stream data to Log Analytics.

Why the other options are wrong

B

Azure Policy assignment enforces compliance rules across resources, but it does not configure data routing for logs and metrics. Diagnostic settings are the specific feature for sending Key Vault audit logs and metrics to a Log Analytics workspace.

C

Network security groups (NSGs) filter network traffic to/from Azure resources, but they do not collect or route audit logs or metrics to Log Analytics. Diagnostic settings are the correct mechanism for sending Key Vault logs and metrics to a Log Analytics workspace.

D

Action groups define notifications and actions (e.g., email, SMS) triggered by alerts, but they do not configure the collection or routing of logs and metrics to a Log Analytics workspace.

83
Multi-Selectmedium

An employee deleted one spreadsheet from a Windows VM that is protected by Azure Backup. The VM must stay online while the administrator recovers only that file. Which two restore methods are supported? Select two.

Select 2 answers
A.Use file recovery from the recovery point in the Azure portal.
B.Use the file recovery script or PowerShell mount workflow from the recovery point.
C.Restore the entire VM to a new VM and copy the file back manually.
D.Restore the disks from backup and attach them to the running VM.
E.Use Azure Site Recovery failover to expose the file.
AnswersA, B

The Azure portal's File Recovery workflow for VM backups provides a managed, point-in-time interface to mount the selected recovery point as an iSCSI target. It generates a script that, when run on the VM, temporarily exposes the backup's file system without requiring a full VM restore or downtime. This is the most direct and least disruptive method because it lets you copy just the deleted spreadsheet back to its original location.

Why this answer

Azure Backup's file-level recovery feature in the Azure portal allows you to mount a recovery point as a drive on the running Windows VM, enabling you to browse and copy individual files without restoring the entire VM. This method supports selective file recovery while the VM remains online, meeting the requirement. Option B is also correct because the file recovery script (or PowerShell mount workflow) performs the same mount operation programmatically, providing an alternative way to access and recover the specific spreadsheet from the recovery point.

Exam trap

The trap here is that candidates often confuse Azure Backup's file-level recovery with full VM restore or disk restore operations, assuming that granular recovery requires stopping the VM or using a separate disaster recovery service like Azure Site Recovery.

Why the other options are wrong

C

Restoring the entire VM to a new VM is not supported for file-level recovery while the original VM stays online; it creates a separate VM and requires manual file copy, which is not a direct file recovery method from a backup.

D

Restoring disks from backup and attaching them to the running VM is not supported for file-level recovery; it would require stopping the VM to attach the restored disk, which violates the requirement that the VM must stay online.

E

Azure Site Recovery is a disaster recovery solution for replicating entire workloads to a secondary region, not for granular file recovery from a backup. It does not provide access to individual files within a backup of a single VM.

84
MCQmedium

Based on the exhibit, what does the query return?

A.All successful deallocate operations on virtual machines during the last 24 hours.
B.Failed deallocate operations on virtual machines during the last 24 hours.
C.Any operations related to starting or restarting virtual machines in the last 24 hours.
D.Administrative changes made only from the Azure portal in the last 24 hours.
AnswerB

The query filters the AzureActivity table to the last 24 hours, selects the virtual machine deallocate operation, and then limits results to records whose status is Failed. That combination means it returns only failed deallocation events for virtual machines in the time window shown.

Why this answer

The query filters for 'Status' equal to 'Failed' and 'Operation' equal to 'Deallocate Virtual Machines', returning only failed deallocate operations. The time filter restricts results to the last 24 hours. Therefore, the query returns failed deallocate operations on virtual machines during the last 24 hours.

Exam trap

The trap here is that candidates may overlook the explicit 'Status' filter and assume the query returns all deallocate operations, or confuse 'deallocate' with 'start' or 'restart' operations, leading them to select a wrong answer.

Why the other options are wrong

A

The query filters for 'deallocate' operations with a 'Failed' status, so it does not return successful deallocate operations.

C

The query in the exhibit filters for 'Deallocate VM' operations with a status of 'Failed', not operations related to starting or restarting virtual machines.

D

The query in the exhibit filters for 'deallocate' operations with a failed status, not for administrative changes from the Azure portal. Option D is incorrect because the query does not restrict by source (portal) or operation type (administrative changes).

85
MCQhard

You need to retain Azure Firewall logs for long-term analysis in a Log Analytics workspace and also archive them in a storage account for compliance. What should you configure on the Azure Firewall resource?

A.Diagnostic settings
B.A resource lock
C.An availability set
D.A VNet peering connection
AnswerA

Diagnostic settings are the Azure-native mechanism that directs Azure Firewall logs, such as the application, network, and DNS proxy rule logs, to a monitoring destination like a Log Analytics workspace, storage account, or Event Hub. By enabling diagnostic settings, you can set custom retention periods for log retention and use KQL queries for long-term analysis. Without this, the firewall only retains logs for the fixed, brief period defined by the service itself.

Why this answer

Diagnostic settings on the Azure Firewall resource allow you to stream platform logs and metrics to a Log Analytics workspace for long-term analysis and to a storage account for archival and compliance. This is the only configuration that simultaneously supports both destinations for the firewall's log data.

Exam trap

The trap here is that candidates may confuse resource locks or VNet peering with logging configurations, but only diagnostic settings provide the dual-destination log routing required for both analysis and compliance archival.

Why the other options are wrong

B

A resource lock prevents accidental deletion or modification of the Azure Firewall resource, but it does not configure log retention or archiving to Log Analytics or storage accounts.

C

An availability set is used to distribute virtual machines across fault and update domains for high availability. It does not manage log retention or archiving for Azure Firewall.

D

VNet peering is used to connect virtual networks, not to configure logging or archiving of Azure Firewall logs. Diagnostic settings on the firewall resource are required to send logs to Log Analytics and storage.

86
MCQmedium

Based on the exhibit, which KQL query should you use in a scheduled query alert to trigger only when five or more failed events occur within any 15-minute window?

A.CustomAppLogs_CL | where TimeGenerated >= ago(15m) | where Status_s == 'Failed' | summarize FailedCount=count() by bin(TimeGenerated, 1h) | where FailedCount >= 5
B.CustomAppLogs_CL | where TimeGenerated >= ago(1h) | where Status_s == 'Failed' | summarize FailedCount=count() by bin(TimeGenerated, 15m) | where FailedCount >= 5
C.CustomAppLogs_CL | where TimeGenerated >= ago(1h) | summarize FailedCount=count() by bin(TimeGenerated, 15m) | where FailedCount >= 5
D.CustomAppLogs_CL | where TimeGenerated >= ago(1h) | where Status_s == 'Failed' | summarize FailedCount=count() by bin(TimeGenerated, 15m) | where FailedCount > 0
AnswerB

This query correctly scopes the evaluation to the last hour, applies a precise filter on Status_s to include only failed events, then aggregates the count into 15-minute bins using bin(TimeGenerated, 15m). The final where clause enforces the required threshold of five or more failures per bin, ensuring the alert fires only when the exact condition is satisfied.

Why this answer

It filters for 'Failed' events in the last hour, groups them into 15-minute bins using `bin(TimeGenerated, 15m)`, and then counts them. The `where FailedCount >= 5` condition triggers the alert only when five or more failed events occur within any single 15-minute window, matching the requirement exactly.

Exam trap

The trap here is that candidates often confuse the lookback period (`ago(1h)`) with the aggregation window (`bin(..., 15m)`), leading them to pick Option A with a 1-hour bin, which fails to meet the 'any 15-minute window' requirement.

Why the other options are wrong

A

The query uses a 1-hour bin size, so it counts failed events per hour, not per 15-minute window. This would not trigger correctly for five or more failures within any 15-minute period.

C

The query does not filter for 'Failed' events (missing `where Status_s == 'Failed'`), so it counts all events, not just failed ones, making the alert trigger incorrectly.

D

The query filters for `FailedCount > 0`, which includes any window with at least one failure, not specifically five or more. The alert would trigger on any failed event, not only when five or more occur.

87
MCQeasy

You want to send a storage account's read, write, and delete events to a Log Analytics workspace for later investigation. Which feature should you configure?

A.Diagnostic settings for the storage account
B.An action group
C.A metric alert rule
D.A Recovery Services vault
AnswerA

Diagnostic settings for a storage account are the Azure configuration that exports data-plane logs—including individual read, write, and delete operations—to a Log Analytics workspace, Event Hub, or archival storage. These settings define which log categories to stream (for example, StorageRead, StorageWrite, StorageDelete) and let you build audit queries against the collected events. Unlike monitoring signals, this is the actual mechanism that continuously delivers the operational event stream for analysis.

Why this answer

Diagnostic settings on a storage account allow you to stream resource logs, including read, write, and delete operations (stored in the StorageRead, StorageWrite, and StorageDelete log categories), to a Log Analytics workspace. This is the correct feature for capturing and analyzing these events for later investigation.

Exam trap

The trap here is that candidates often confuse diagnostic settings (which stream logs) with metric alerts (which monitor numeric thresholds) or action groups (which define notification actions), leading them to pick an option that handles alerts rather than log collection.

Why the other options are wrong

B

An action group defines who gets notified (e.g., email, SMS) when an alert fires, but it does not collect or send storage account events to a Log Analytics workspace.

C

Metric alert rules monitor performance metrics (e.g., latency, availability) and trigger actions based on thresholds, but they do not capture or forward read, write, and delete events to Log Analytics.

D

A Recovery Services vault is used for backup and disaster recovery (e.g., Azure Backup, Site Recovery), not for routing storage account events to a Log Analytics workspace.

88
MCQmedium

A storage account experiences a brief regional platform issue. The team wants an alert whenever Azure marks the resource as unavailable, even if no custom metric changes are detected. What should the administrator use?

A.A metric alert on the account's transaction count.
B.A Resource Health alert for the storage account.
C.A diagnostic setting that sends logs only to a storage account.
D.An Azure Policy assignment that denies writes to the storage account.
AnswerB

Resource Health alerts are designed to notify administrators when Azure determines that a specific resource is unavailable or degraded because of a platform issue. This works even when ordinary metrics do not change in a useful way. It is the correct choice when the requirement is to detect service or infrastructure problems that Azure reports at the resource level rather than workload performance issues.

Why this answer

A Resource Health alert is designed to monitor the health of Azure resources and trigger notifications when Azure detects that the resource is unavailable due to platform issues, even if no custom metric thresholds are breached. This alert uses signals from the Azure Resource Health service, which tracks the current and historical health status of resources, making it the correct choice for detecting regional platform unavailability without relying on custom metrics.

Exam trap

The trap here is that candidates often confuse metric alerts (which require custom metric thresholds) with Resource Health alerts (which detect platform-level unavailability), leading them to choose a metric-based option like transaction count instead of the health-specific alert.

Why the other options are wrong

A

A metric alert on transaction count monitors performance metrics, not resource availability. It would not trigger when Azure marks the resource as unavailable due to a platform issue unless transaction count drops to zero, which is unreliable and not the intended signal.

C

A diagnostic setting sending logs to a storage account does not generate alerts; it only archives logs. The question requires an alert for resource unavailability, which Resource Health alerts provide directly.

D

Azure Policy assignments enforce compliance rules on resources but do not generate alerts for availability issues. They cannot detect or notify about platform-level unavailability.

89
MCQeasy

A file server VM is corrupted after a bad change. The team needs to recover the whole machine to the latest recovery point, not just one file. Which restore workflow should they use?

A.Restore virtual machine
B.File and folder recovery
C.Modify the backup policy
D.Create an action group
AnswerA

Restore virtual machine is the correct action because Azure Backup stores application-consistent recovery points of the entire VM, and the 'Restore VM' workflow redeploys a full virtual machine from a selected restore point. This directly repairs the corrupted VM by replacing its complete OS disk, data disks, and configuration, either by creating a restored VM or by performing an original location restore after stopping the affected VM. It is the only option that addresses the full corruption of the server.

Why this answer

Azure Backup's 'Restore virtual machine' workflow creates a new VM from the latest recovery point, restoring the entire machine state including OS, applications, and data. This is the appropriate method when the goal is to recover the full VM after corruption, as it uses the VM-level restore point stored in the Recovery Services vault.

Exam trap

The trap here is that candidates confuse 'File and folder recovery' (which is for granular file-level restore) with full VM recovery, or mistakenly think modifying the backup policy can retroactively restore a corrupted VM.

Why the other options are wrong

B

The question specifies recovering the whole machine to the latest recovery point, not just one file. File and folder recovery only restores individual files or folders, not the entire VM.

C

Modifying the backup policy changes future backup schedules or retention, but does not recover an existing corrupted VM. The question asks for recovery, not configuration changes.

D

An action group is used to define responses to Azure Monitor alerts (e.g., email, SMS, webhook), not for restoring a VM from backup. It does not initiate or manage recovery workflows.

90
Drag & Dropmedium

Arrange the steps to configure Azure Load Balancer with a backend pool.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Create LB, configure frontend and backend, add probes, rules, then associate VMs.

91
MCQeasy

Based on the exhibit, what should the administrator configure so the alert sends email and SMS when CPU stays above the threshold?

A.Create a diagnostic setting on the virtual machine and send metrics to a Log Analytics workspace.
B.Associate an Azure Monitor action group with the alert rule.
C.Enable boot diagnostics on the virtual machine so the CPU threshold can be reported.
D.Apply a resource lock to the virtual machine to prevent the CPU from increasing further.
AnswerB

To deliver notifications when a metric alert fires, the alert rule must reference an Azure Monitor action group. The action group defines the notification channels (email, SMS, push, webhook, ITSM, etc.) and can also perform automated actions such as an Azure Function or Automation runbook. Without associating an action group, the alert rule will still evaluate the CPU metric and change state, but no one will be notified and no automated response will occur, so this configuration is mandatory for alert-driven communication.

Why this answer

An Azure Monitor action group defines the notification channels (e.g., email, SMS) and actions to trigger when an alert fires. Associating an action group with the alert rule enables the administrator to send both email and SMS when the CPU threshold is breached. Without an action group, the alert rule can only log the condition but cannot deliver notifications.

Exam trap

The trap here is that candidates confuse diagnostic settings (which export data) with action groups (which deliver notifications), or they mistakenly think boot diagnostics or resource locks can influence alert delivery or CPU behavior.

Why the other options are wrong

A

Diagnostic settings send metrics to Log Analytics for analysis, but they do not directly enable email or SMS notifications. The alert rule needs an action group to define notification actions.

C

Boot diagnostics capture serial logs and screenshots for troubleshooting boot failures, not CPU performance metrics. They cannot be used to trigger alerts based on CPU threshold.

D

Applying a resource lock prevents accidental deletion or modification of the VM, but does not affect CPU usage or alerting. The question asks about sending email and SMS when CPU stays above threshold, which requires an action group, not a lock.

92
MCQeasy

A production VM is using too much CPU. You want Azure to notify the operations team by email when Average Percentage CPU stays above 80 percent for 5 minutes. What should you configure?

A.A diagnostic setting on the VM
B.A metric alert rule linked to an action group
C.A Log Analytics workspace only
D.An Azure Policy assignment
AnswerB

A metric alert rule watches a platform metric such as CPU percentage and evaluates it against a threshold over time. Linking the alert to an action group lets Azure send the notification to the operations team by email or other channels when the condition is met.

Why this answer

A metric alert rule monitors a specific metric (e.g., Percentage CPU) and triggers when a condition (e.g., above 80% for 5 minutes) is met. Linking the alert to an action group allows Azure to send email notifications to the operations team. This is the correct Azure Monitor feature for threshold-based, metric-driven notifications.

Exam trap

The trap here is that candidates confuse diagnostic settings (which only route data) with alert rules (which evaluate conditions and trigger actions), leading them to select Option A thinking it can send notifications directly.

Why the other options are wrong

A

A diagnostic setting on the VM sends metrics/logs to a destination (e.g., Storage, Event Hub, Log Analytics) but does not trigger email notifications or alerts based on metric thresholds.

C

A Log Analytics workspace alone cannot send email notifications; it only collects and stores log data. The question requires an alert to notify the operations team by email, which necessitates an alert rule and action group.

D

Azure Policy is used to enforce organizational standards and assess compliance at scale, not to monitor and alert on performance metrics like CPU usage. It cannot trigger email notifications based on metric thresholds.

93
MCQhard

A production subscription contains 20 virtual machines across two resource groups. Operations needs an email and SMS notification whenever any single VM's average Percentage CPU stays above 85 for 10 minutes. The alert should be managed as one rule, and evaluation must happen independently for each VM. What should the administrator configure?

A.Create a log query alert that uses the Heartbeat table and the existing action group.
B.Create one metric alert scoped to the 20 VM resources, using Percentage CPU and the shared action group.
C.Create one subscription-wide metric alert and average CPU across all virtual machines.
D.Configure diagnostic settings on each VM and use the action group for threshold processing.
AnswerB

A metric alert is the correct signal for CPU threshold monitoring, and scoping the rule to the VM resources lets Azure evaluate each VM independently while keeping a single alert definition. The action group handles the email and SMS delivery. This avoids creating 20 separate rules and prevents fleet-wide averaging from hiding one overloaded server. It is the simplest design that still evaluates each VM separately.

Why this answer

A single metric alert rule can be scoped to multiple resources (up to 20 VMs) in Azure Monitor, allowing independent evaluation of each VM's Percentage CPU metric. When the average CPU exceeds 85% for 10 minutes on any individual VM, the alert fires and triggers the shared action group to send email and SMS notifications. This meets the requirement of one rule with per-VM independent evaluation.

Exam trap

The trap here is that candidates assume a single alert rule cannot monitor multiple VMs independently, leading them to choose option C (subscription-wide average) or option D (diagnostic settings), when in fact Azure Monitor supports multi-resource metric alerts with per-resource evaluation.

Why the other options are wrong

A

A log query alert using the Heartbeat table cannot measure Percentage CPU; Heartbeat logs only indicate VM availability, not performance metrics like CPU usage.

C

Option C averages CPU across all VMs, but the requirement is for independent evaluation per VM. A subscription-wide metric alert with average aggregation would not trigger individually for each VM exceeding 85%.

D

Diagnostic settings stream metrics to Azure Monitor, but they do not create alerts. Threshold processing and alerting require an alert rule, which is not configured by diagnostic settings alone.

94
MCQmedium

An employee deleted one spreadsheet stored on a Windows VM that is protected by Azure Backup. The administrator must recover only that file without restoring the entire VM. What should be used?

A.A full VM restore to replace the existing virtual machine.
B.The file recovery process from the Recovery Services vault recovery point.
C.Blob rehydration from Archive tier in the storage account.
D.A restore point collection operation in Azure Compute.
AnswerB

Azure Backup supports file-level recovery by mounting a selected recovery point and allowing the administrator to copy out individual files or folders. This is the best option when the goal is to restore one deleted spreadsheet without replacing the entire virtual machine. It minimizes disruption and avoids overwriting other current VM data that was not affected.

Why this answer

Azure Backup for Azure VMs supports file-level recovery from a recovery point without restoring the entire VM. The file recovery process mounts the recovery point as an iSCSI target on the VM, allowing the administrator to browse and copy the deleted spreadsheet directly from the snapshot. This is the only option that provides granular, non-disruptive file restoration from a VM backup.

Exam trap

The trap here is that candidates confuse Azure Backup's file-level recovery with full VM restore or blob-level operations, assuming that file recovery requires a full VM restore or that the file is stored in Azure Blob Storage rather than on the VM's disk.

Why the other options are wrong

A

A full VM restore replaces the entire virtual machine, which is overkill and time-consuming when only a single file needs recovery. Azure Backup offers file-level recovery for Windows VMs, making a full restore unnecessary.

C

Blob rehydration from Archive tier is used to restore blob data from cold storage, not to recover individual files from an Azure Backup-protected VM. The question specifies a file on a Windows VM, not a blob in a storage account.

D

A restore point collection operation in Azure Compute is used to manage restore points for Azure VMs, not to recover individual files from an Azure Backup recovery point.

95
MCQeasy

Based on the exhibit, what should the administrator deploy to monitor CPU and free disk space on a small set of VMs while keeping telemetry cost low?

A.Deploy Azure Monitor Agent and collect only the required performance counters with a data collection rule.
B.Enable diagnostic settings on each VM and send all guest logs to a storage account.
C.Install Application Insights on each VM and enable request tracing.
D.Create a resource lock on each VM to preserve the current state.
AnswerA

Azure Monitor Agent with a targeted data collection rule is the cost-aware choice because it collects only the specific performance data needed. The administrator can scope the rule to the five VMs and include just CPU and disk free space counters, avoiding broad log ingestion. This meets the monitoring requirement without paying to send unnecessary telemetry to Log Analytics.

Why this answer

Azure Monitor Agent (AMA) is the modern, cost-effective agent for collecting performance counters like CPU and free disk space from VMs. By using a Data Collection Rule (DCR) to specify only the required counters, the administrator minimizes data ingestion volume, directly controlling telemetry costs. This approach avoids the overhead of sending all guest logs or using more expensive monitoring tools.

Exam trap

The trap here is that candidates often confuse Azure Monitor Agent with the older Log Analytics agent or mistakenly think diagnostic settings to storage accounts are free, overlooking that storage write operations and data retention incur costs.

Why the other options are wrong

B

Sending all guest logs to a storage account incurs high storage and data transfer costs, and does not provide real-time monitoring for CPU and disk space; it also lacks the targeted performance counter collection needed for low-cost monitoring.

C

Application Insights is designed for application performance monitoring and request tracing, not for OS-level metrics like CPU and disk space. It would incur higher costs and unnecessary complexity for simple VM monitoring.

D

Resource locks prevent accidental deletion or modification of resources but do not monitor CPU or free disk space, so they cannot satisfy the monitoring requirement.

96
MCQeasy

The Azure portal shows that a storage service in the region is experiencing an outage that affects several Microsoft customers. The administrator wants to view official Azure status updates for that issue. Which Azure Monitor feature should be used?

A.Activity log
B.Service Health
C.Azure Advisor
D.Metrics explorer
AnswerB

Service Health is the dedicated Azure portal blade that aggregates Microsoft's platform status, including service incidents, planned maintenance, and health advisories for every Azure region and service. When a storage service experiences an issue in a specific region, Service Health surfaces the incident, affected regions, root-cause updates, and mitigation status directly from Microsoft's own telemetry. This is the authoritative source for verifying Microsoft-side incidents, distinct from the telemetry of your own resources.

Why this answer

Service Health is the correct Azure Monitor feature because it provides a personalized view of the health of Azure services, regions, and resources, including real-time and historical information about service-impacting events such as outages. It also surfaces official root cause analyses and planned maintenance, making it the appropriate tool for an administrator to view official Azure status updates for a regional outage affecting multiple customers.

Exam trap

The trap here is that candidates often confuse the Activity log (which tracks resource-level operations) with Service Health (which tracks Azure platform-level health), leading them to select Activity log when they need official outage status updates.

Why the other options are wrong

A

Activity log records operational events on Azure resources, but it does not provide official Azure service outage status updates. Service Health is the correct feature for viewing Azure service issues and planned maintenance.

C

Azure Advisor provides personalized recommendations for best practices in cost, security, reliability, and performance, but it does not display real-time service outage status or official Azure incident updates.

D

Metrics explorer is used to collect and analyze performance metrics (e.g., CPU usage, request latency) from Azure resources, not to view official outage status updates from Microsoft.

97
Matchinghard

A platform team is tuning alerting for a production VM and the surrounding Azure resources. Match each Azure Monitor component to the function it performs in this design.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Evaluates a numeric Azure Monitor metric and fires when a threshold or dynamic condition is met.

Runs a KQL query against workspace data and fires when the query result matches the condition.

Delivers notifications or automation such as email, SMS, webhook, or runbook execution.

Exports resource logs and metrics to a destination such as Log Analytics, storage, or Event Hub.

Monitors subscription-level control-plane events such as deletes, writes, or policy actions.

Why these pairings

Azure Monitor Metrics handles numerical data, Logs handles log data; Application Insights is for app monitoring; Alerts notify on conditions; Workbooks and Dashboards are visualization tools.

98
Drag & Dropmedium

Order the steps to configure Azure Traffic Manager for geographic routing.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Create profile, set geographic routing, add endpoints with mapping, configure monitoring, update DNS.

99
Matchingmedium

A team is choosing the right Azure Monitor alert type for different operational signals. Match each alert type to the situation it is best suited for.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Alerts on a numeric measurement such as average CPU, disk queue length, or memory utilization.

Evaluates a KQL query and alerts when matching records appear in a workspace.

Responds to subscription-level control-plane events such as create, delete, or policy changes.

Indicates that a specific Azure resource is unhealthy or unavailable.

Notifies on Azure platform incidents, advisories, or maintenance affecting a region or service.

Why these pairings

Metric alerts monitor numeric values; Activity log alerts on resource changes; Log alerts query log data; Smart detection finds anomalies; Resource health alerts on resource status; Service health alerts on Azure service issues.

100
MCQmedium

Based on the exhibit, the security team wants an alert whenever someone changes the configuration of a storage account, such as disabling public network access. The current rule is a metric alert on transaction count. What should you use instead?

A.Keep the metric alert and lower the threshold to 10 transactions.
B.Create a service health alert because storage account settings affect platform status.
C.Use a Log Analytics query alert against VM guest logs to detect network-rule changes.
D.Create an activity log alert for write operations on the storage account resource.
AnswerD

Configuration changes to a storage account are control-plane actions and appear in the Azure Activity log. An activity log alert on write operations is the right monitoring approach because it detects management changes, not traffic patterns.

Why this answer

Activity log alerts are designed to monitor Azure resource-level operations, such as write actions that modify storage account configurations. Option D is correct because it creates an alert specifically for write operations on the storage account resource, which captures events like disabling public network access. This is the appropriate method for detecting configuration changes, unlike metric alerts which track performance data.

Exam trap

The trap here is that candidates confuse metric alerts (which monitor performance counters like transaction count) with activity log alerts (which monitor resource management operations), leading them to choose options that track the wrong type of data.

Why the other options are wrong

A

Lowering the threshold to 10 transactions does not change the metric type; it still monitors transaction count, not configuration changes like disabling public network access. Activity log alerts are required for resource configuration changes.

B

Service health alerts monitor issues with Azure services themselves, not configuration changes to individual resources like storage accounts. The question asks for alerts on storage account configuration changes, which are tracked via the Azure activity log, not service health.

C

The question asks about detecting configuration changes to a storage account, not about VM guest OS logs. Log Analytics query alerts against VM guest logs would only capture events within the VM, not Azure resource-level changes like storage account network rule modifications.

101
Multi-Selectmedium

You are an Azure administrator for a company that runs critical virtual machines (VMs) in Azure. You need to configure a monitoring solution that will alert you when the average CPU usage of a specific VM exceeds 90% for more than 15 minutes. Which three of the following actions should you take to set up this alert? (Choose three.)

Select 3 answers
.Create a metric alert rule in Azure Monitor targeting the VM's 'Percentage CPU' metric.
.Configure the alert condition to fire when the average CPU usage is greater than 90 for a period of 15 minutes.
.Define an action group that includes an email notification to the operations team.
.Create a log alert rule based on the VM's performance counters collected in Log Analytics.
.Enable Azure Diagnostic Settings on the VM to send performance data to a storage account.
.Configure an Application Insights availability test to monitor the VM's CPU.

Why this answer

A metric alert rule in Azure Monitor is the correct approach because it directly monitors a specific metric like 'Percentage CPU' from the VM without requiring additional data collection. Configuring the condition to fire when the average CPU usage exceeds 90% for a period of 15 minutes ensures the alert triggers only after sustained high usage, reducing noise. Defining an action group with email notification is necessary to alert the operations team when the alert fires, completing the monitoring solution.

Exam trap

The trap here is that candidates often confuse metric alerts with log alerts or diagnostic settings, thinking that log-based monitoring is required for CPU alerts, when in fact metric alerts are the native, simpler solution for host-level metrics like CPU usage.

102
MCQmedium

Your operations team wants to query collected VM log data by using Kusto Query Language and retain it centrally for analysis. Which Azure resource should you deploy?

A.A Log Analytics workspace
B.An availability set
C.A local user account on each VM
D.A network security group
AnswerA

A Log Analytics workspace is the central data repository and query platform for Azure Monitor Logs. Each workspace provides a unique log namespace where agents (such as Azure Monitor Agent or the legacy Log Analytics agent) and diagnostic settings deliver VM logs, performance counters, and events. You can then run KQL (Kusto Query Language) queries across all collected logs, create alerts, and build workbooks without having to access individual VMs.

Why this answer

A Log Analytics workspace is the correct Azure resource because it serves as the central repository for VM log data collected via Azure Monitor agents. It supports Kusto Query Language (KQL) for querying and analyzing the collected data, enabling the operations team to perform advanced log analytics and retention. This aligns directly with the requirement to query and retain VM log data centrally.

Exam trap

The trap here is that candidates might confuse a Log Analytics workspace with a simple storage account or think that local accounts or NSGs can somehow be used for log aggregation, but only a Log Analytics workspace provides the KQL query engine and central retention required for this scenario.

Why the other options are wrong

B

An availability set is a logical grouping of VMs to ensure high availability during platform updates and failures; it does not provide log querying or retention capabilities.

C

A local user account on each VM is used for authentication and access control, not for querying or retaining VM log data centrally with Kusto Query Language.

D

A network security group (NSG) filters traffic to and from Azure resources but does not collect, store, or query log data. It is not a data analytics or retention service.

103
MCQmedium

Based on the exhibit, the operations team wants an alert that fires when any VM has not sent a heartbeat in the last 15 minutes. Which KQL query should they use as the condition for the log alert?

A.Heartbeat | summarize LastSeen=max(TimeGenerated) by Computer | where LastSeen > ago(15m)
B.Heartbeat | summarize LastSeen=max(TimeGenerated) by Computer | where LastSeen < ago(15m)
C.Heartbeat | where TimeGenerated > ago(15m) | summarize count() by Computer | where count() == 0
D.Heartbeat | distinct Computer | where Computer == "VM01"
AnswerB

This query summarizes the most recent heartbeat per computer and then filters for systems whose latest record is older than 15 minutes. That matches the requirement to alert when a VM has stopped sending heartbeat data.

Why this answer

The query uses `summarize max(TimeGenerated) by Computer` to get the latest heartbeat timestamp per VM, then filters with `where LastSeen < ago(15m)` to identify VMs whose last heartbeat is older than 15 minutes. This directly matches the alert condition: any VM that has not sent a heartbeat in the last 15 minutes.

Exam trap

The trap here is that candidates often confuse the direction of the time comparison, picking Option A (which fires on VMs that *have* sent a heartbeat recently) instead of Option B (which fires on VMs that have *not* sent a heartbeat recently).

Why the other options are wrong

A

This query fires when the last heartbeat was seen within the last 15 minutes (LastSeen > ago(15m)), which is the opposite of the desired condition. The alert should trigger when no heartbeat has been received for 15 minutes, i.e., LastSeen is older than 15 minutes.

C

The query filters for heartbeats in the last 15 minutes and then summarizes count by Computer. If a VM has no heartbeats in that window, the count is 0, but the 'where count() == 0' clause will not return any rows because the summarize operator only produces rows for computers that have at least one heartbeat in the time range. Thus, VMs with no heartbeat are never represented in the result.

D

This query returns a list of distinct computer names, filtered to only 'VM01'. It does not check heartbeat timeliness or alert on missing heartbeats for all VMs.

104
MCQhard

Your company must retain Azure Activity Log data beyond the built-in retention period and make it available for long-term analysis. Which configuration should you use?

A.Diagnostic settings for the Activity Log
B.A ReadOnly lock on the subscription
C.An availability set
D.NSG flow logs only
AnswerA

Diagnostic settings for the Activity Log are the correct mechanism because the Azure Activity Log has a default retention of 90 days, after which data is automatically purged unless you export it. By creating diagnostic settings, you can route Activity Log entries to a Log Analytics workspace, a storage account, or an Event Hubs namespace for long-term retention, alerting, or archival. This is the only configuration among the options that actually extends or preserves Activity Log data beyond the built-in retention period. Without such settings, the platform will discard older Activity Log records regardless of other actions.

Why this answer

Azure Activity Log is retained by default for 90 days. To store data beyond this period for long-term analysis, you must configure diagnostic settings to route the Activity Log to a Log Analytics workspace (for querying) or an Azure Storage account (for archival). This is the only native mechanism to extend retention and enable long-term analysis.

Exam trap

The trap here is that candidates confuse the built-in 90-day retention of the Activity Log with the ability to extend it, mistakenly thinking a lock or other resource configuration can preserve the data, when only diagnostic settings provide the export and retention control needed.

Why the other options are wrong

B

A ReadOnly lock prevents modifications to resources but does not extend the retention period of Activity Log data beyond the default 90 days. Activity Log retention is managed via diagnostic settings, not locks.

C

An availability set is a logical grouping of VMs to ensure high availability, not a configuration for retaining or analyzing Azure Activity Log data.

D

NSG flow logs capture IP traffic through a network security group, not Azure Activity Log data. They are used for network monitoring and security analysis, not for retaining subscription-level operational logs.

105
Multi-Selecteasy

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.

Select 2 answers
A.Create a diagnostic setting on the storage account
B.Configure a NAT gateway on the storage subnet
C.Send the logs to a Log Analytics workspace
D.Assign the Reader role on the subscription
E.Enable a VM backup policy
AnswersA, C

This is the foundational action: a diagnostic setting is a resource-level rule that tells Azure which storage platform log categories (such as StorageRead, StorageWrite, and StorageDelete) and metrics to export, and to which destination. Without it, the logs are not captured anywhere and are simply discarded. You must specify the desired categories and choose a Log Analytics workspace as the target so that the logs can be queried later. This setting is the critical enabler for log retention and searchability.

Why this answer

A diagnostic setting on the storage account is required to route platform logs (e.g., storage read/write/delete operations) to a destination. Option C is correct because a Log Analytics workspace is the destination that enables KQL-based searching and analysis of those logs. Without both, the logs cannot be stored in a central, queryable repository.

Exam trap

The trap here is that candidates may think simply enabling logging on the storage account (e.g., via the 'Logging' blade) is sufficient, but without a diagnostic setting and a Log Analytics workspace destination, the logs are not searchable with KQL in a central workspace.

Why the other options are wrong

B

A NAT gateway provides outbound internet connectivity for private subnets, but it does not collect, route, or store platform logs. Logs must be sent to a destination like Log Analytics via diagnostic settings, not through a NAT gateway.

D

Assigning the Reader role on the subscription does not enable log collection or routing; it only grants read access to Azure resources, not the ability to send logs to a Log Analytics workspace.

E

Enabling a VM backup policy is unrelated to making storage account platform logs searchable with KQL. VM backup policies protect virtual machine data, not storage account logs.

106
Multi-Selectmedium

You are responsible for managing a large Azure environment with multiple subscriptions. You need to ensure compliance with company policies by auditing resource changes and enabling automated remediation for non-compliant resources. Which three of the following Azure services or features should you use? (Choose three.)

Select 3 answers
.Azure Policy to define and enforce rules for resource configurations.
.Azure Activity Log to record and review all management operations on resources.
.Azure Automation with runbooks to automatically remediate non-compliant resources.
.Azure Security Center (Defender for Cloud) to monitor for security threats.
.Azure Resource Graph to query and visualize resource properties across subscriptions.
.Azure Blueprints to package and deploy environment definitions.

Why this answer

Azure Policy is correct because it allows you to define and enforce rules for resource configurations, ensuring compliance with company policies. The Activity Log is correct because it records all management operations, providing an audit trail for resource changes. Azure Automation with runbooks is correct because it can be triggered by Azure Policy or Activity Log alerts to automatically remediate non-compliant resources, such as stopping an unapproved VM or applying a required tag.

Exam trap

The trap here is that candidates often confuse Azure Policy with Azure Blueprints, thinking Blueprints provides ongoing auditing, when in fact Blueprints is only for initial deployment and does not monitor or remediate changes after deployment.

107
MCQhard

After a bad script ran, one file at C:\Finance\Q4.xlsx was deleted from a Windows VM. The VM is still running, and the team wants only that file restored without replacing the operating system disk or restarting the VM. What should the administrator use from Azure Backup?

A.Restore the entire VM to a new instance so the deleted file comes back automatically.
B.Perform a file-level restore from the recovery point and copy only the missing file back.
C.Restore the managed disks and replace the existing disks on the running VM.
D.Use Azure Monitor logs to reconstruct the file because the backup vault stores telemetry.
AnswerB

File-level restore is the correct Azure Backup workflow when only a specific file or folder must be recovered. The administrator mounts the recovery point, browses the backed-up file system, and copies back the missing file without replacing disks or redeploying the VM. This keeps the running server intact and minimizes recovery time and operational risk. It is the least disruptive way to recover a single deleted file.

Why this answer

Azure Backup for Azure VMs supports file-level restore (FLR) from recovery points without requiring a full VM restore or disk replacement. This allows you to mount the recovery point as a drive on the running VM, browse the file system, and copy only the missing file (C:\Finance\Q4.xlsx) back to its original location. The VM remains online and no OS disk replacement or restart is needed.

Exam trap

The trap here is that candidates often assume file-level restore requires the VM to be stopped or that only full VM or disk restore options are available, but Azure Backup's file-level restore feature is specifically designed for granular recovery on a running VM.

Why the other options are wrong

A

Restoring the entire VM to a new instance is unnecessary and inefficient for recovering a single file; it would create a new VM, not restore the file to the existing running VM without restart.

D

Azure Monitor logs collect performance and diagnostic data, not file contents. They cannot reconstruct deleted files, and the backup vault does not store telemetry for file recovery.

108
MCQmedium

Based on the exhibit, the team wants a single notification setup that can be reused by several alert rules across different subscriptions. What should the administrator create?

A.A Log Analytics workspace with custom tables
B.An action group
C.A management group
D.A resource lock
AnswerB

An action group is the correct reusable notification mechanism in Azure Monitor. It centralizes email, SMS, push, voice, webhook, ITSM, and Automation actions so the same set of recipients can be associated with many alert rules across multiple subscriptions. Rather than configuring notification endpoints separately for each alert, an alert rule references an action group by its Azure resource ID, making one definition the single point of management for delivery behavior.

Why this answer

An action group is the correct choice because it is a reusable Azure Monitor resource that defines notification preferences (e.g., email, SMS, webhook, ITSM) and can be associated with multiple alert rules across different subscriptions. This allows the team to create a single notification setup once and reference it from any alert rule, ensuring consistent notification behavior without duplicating configuration.

Exam trap

The trap here is that candidates often confuse management groups (which organize subscriptions) with action groups (which handle notifications), mistakenly thinking a management group can centralize alert notifications across subscriptions when it cannot.

Why the other options are wrong

A

A Log Analytics workspace with custom tables is used for collecting and analyzing log data, not for reusing notification configurations across alert rules in different subscriptions.

C

A management group is a container for managing access, policy, and compliance across multiple subscriptions, not for configuring notification settings for alert rules. It cannot be reused as a notification setup for alert rules.

D

A resource lock prevents accidental deletion or modification of resources, but it does not provide a reusable notification setup for alert rules across subscriptions. The question specifically asks for a notification mechanism, not a protection mechanism.

109
MCQhard

Your company wants to know when an Azure service outage in the region might affect subscribed resources, even if no metric threshold has been crossed yet. Which alert type should you configure?

A.A metric alert
B.A Service Health alert
C.A budget alert
D.A boot diagnostics alert
AnswerB

Service Health alerts are Azure Monitor alerts that subscribe to Azure Service Health notifications, including active service incidents, planned maintenance, and health advisories relevant to your subscription. You can filter by service, region, and event type, and deliver these alerts through email, SMS, webhook, or ITSM tools. This is the authoritative mechanism for being notified about Azure service outages because it directly consumes Microsoft's official health signals.

Why this answer

Service Health alerts are designed to notify you about Azure service incidents, maintenance, health advisories, and security advisories that may impact your subscribed resources. Unlike metric alerts, they trigger based on Azure's own health status rather than any metric threshold you configure, making them ideal for detecting region-wide outages before they affect your specific metrics.

Exam trap

The trap here is that candidates often confuse metric alerts (which require a threshold) with Service Health alerts (which are event-driven from Azure's own health signals), leading them to choose metric alerts when the question explicitly states 'no metric threshold has been crossed yet.'

Why the other options are wrong

A

A metric alert triggers based on a specific metric threshold (e.g., CPU > 80%). The question asks for alerts when an Azure service outage affects resources, even without any metric threshold being crossed. Metric alerts do not detect service health issues.

C

A budget alert monitors spending against cost thresholds, not service health or outages. It cannot detect Azure service outages affecting resources.

D

Boot diagnostics alerts monitor VM boot failures, not Azure service outages affecting subscribed resources. They are irrelevant to detecting region-wide service health issues.

110
MCQeasy

Based on the exhibit, you need to return only the failed operations from the log entries. Which KQL query should you use?

A.AzureActivity | where ActivityStatusValue == "Failed" | project TimeGenerated, OperationName, Caller
B.AzureActivity | summarize count() by Caller
C.AzureActivity | top 10 by TimeGenerated
D.AzureActivity | where ActivityStatusValue == "Succeeded"
AnswerA

This query first applies a row-level filter on the AzureActivity table for entries where ActivityStatusValue equals 'Failed', then projects only TimeGenerated, OperationName, and Caller. It directly satisfies the requirement to return only failed operations and trims the result set to the columns needed for triage, making it both correct and efficient.

Why this answer

The KQL query filters the AzureActivity table using the `where` clause to return only rows where `ActivityStatusValue` equals 'Failed', then projects the relevant columns `TimeGenerated`, `OperationName`, and `Caller`. This directly meets the requirement to return only failed operations from the log entries.

Exam trap

The trap here is that candidates may confuse the `ActivityStatusValue` field with other status fields like `Status` or `ResultType`, or mistakenly choose an aggregation query (Option B) that summarizes data without filtering, failing to meet the precise requirement to return only failed operations.

Why the other options are wrong

B

This query summarizes the count of operations by Caller, but does not filter for failed operations, so it does not meet the requirement to return only failed operations.

C

This query returns the 10 most recent log entries by TimeGenerated, not filtering for failed operations. The question specifically requires returning only failed operations, which this query does not address.

D

This query filters for successful operations, but the question requires returning only failed operations, so it returns the opposite of what is needed.

111
MCQmedium

You need to notify the security team whenever anyone deletes a resource group in the subscription. Which alert type should you configure?

A.A metric alert on CPU percentage
B.A budget alert
C.An activity log alert
D.A log alert based only on guest OS event logs
AnswerC

An activity log alert is purpose-built for Azure control-plane events such as resource-group deletions. The Activity Log records operational events at the subscription level, including the Delete Resource Group operation, and a rule can be configured to fire immediately when that operation occurs. This directly triggers a security-team notification via email, webhook, ITSM, or an action group, making it the correct solution.

Why this answer

An activity log alert monitors subscription-level events recorded in the Azure Activity Log, including resource group deletion operations. When a user deletes a resource group, the 'Microsoft.Resources/subscriptions/resourceGroups/delete' operation is logged, and an activity log alert can be configured to trigger on that specific operation, sending notifications to the security team.

Exam trap

The trap here is that candidates often confuse activity log alerts with log alerts based on guest OS logs, not realizing that resource group deletions are control plane events captured in the Activity Log, not in guest OS event logs.

Why the other options are wrong

A

A metric alert on CPU percentage monitors performance metrics like CPU usage, not resource deletion events. It cannot detect administrative operations such as deleting a resource group.

B

Budget alerts monitor spending against cost thresholds, not resource deletion events. They cannot detect operational actions like deleting resource groups.

D

A log alert based only on guest OS event logs cannot detect Azure resource-level operations like resource group deletion because it monitors events within the virtual machine's operating system, not Azure Resource Manager activities.

112
MCQhard

Your operations team needs to run Kusto queries across collected sign-in logs, VM performance counters, and Azure Activity Log data in a central location. What should you deploy?

A.A Log Analytics workspace
B.An availability zone
D.A standard public IP address
AnswerA

A Log Analytics workspace is the Azure Monitor service designed specifically for centralized log retention, indexing, and KQL-based analysis. It ingests telemetry from Azure resources, operating systems, and applications, then stores that data in queryable tables. Running Kusto queries across collected logs requires this workspace as the analytical backend, making it the only valid choice here.

Why this answer

A Log Analytics workspace is the central repository in Azure that ingests and stores diagnostic data from multiple sources, including sign-in logs (Azure AD), VM performance counters (Azure Monitor for VMs), and Azure Activity Logs. It supports Kusto Query Language (KQL) for running complex queries across all collected data, making it the correct choice for this requirement.

Exam trap

The trap here is that candidates may confuse a Log Analytics workspace with other networking or compute resources, thinking a NAT gateway or public IP is needed for data ingestion, when in fact Azure Monitor agents and diagnostic settings send data directly to the workspace without requiring public internet exposure.

Why the other options are wrong

B

An availability zone is a physically separate datacenter within an Azure region, used for high availability and disaster recovery, not for centralizing and querying log data from multiple sources.

C

A NAT gateway is used to enable outbound internet connectivity for virtual networks, not to centralize and query logs. It does not store or analyze log data.

D

A standard public IP address is used for outbound connectivity and inbound access to Azure resources, not for centralizing and querying log data from multiple sources like sign-in logs, VM performance counters, and Activity Logs.

113
Multi-Selecteasy

A team needs an alert that emails the operations group whenever a VM's average CPU percentage stays above 85% for 10 minutes. Which two Azure Monitor components must you configure? Select two.

Select 2 answers
A.A metric alert rule on the VM CPU metric
B.An action group with an email receiver
C.A Recovery Services vault
D.A private endpoint for the virtual machine
E.A blob lifecycle management policy
AnswersA, B

A metric alert rule for the VM's CPU metric is the correct alerting mechanism because it continuously samples the 'Percentage CPU' performance counter from the virtual machine's Azure Monitor metrics. You define a threshold (e.g., >80% for 10 minutes), and Azure Monitor evaluates that condition on a configured frequency, generating a triggered alert when the condition is met. This rule is the trigger that invokes notifications and is the foundation of the team's requirement.

Why this answer

A metric alert rule on the VM CPU metric is required because it continuously monitors the 'Percentage CPU' metric and triggers when the average value exceeds 85% for a duration of 10 minutes. This rule evaluates the condition using the aggregation type 'Average' and the window size set to PT10M (ISO 8601 format). Without this rule, no alert condition exists to detect the threshold breach.

Exam trap

The trap here is that candidates often forget that an action group (with email, SMS, or webhook receivers) is a separate, required component that must be linked to the metric alert rule to actually send the notification; without it, the alert rule fires but no one gets emailed.

Why the other options are wrong

C

A Recovery Services vault is used for Azure Backup and Site Recovery, not for configuring alerts based on VM performance metrics like CPU percentage.

D

A private endpoint is used to securely connect to Azure services over a private IP address, not for monitoring or alerting on VM CPU metrics. It does not help configure alerts or notifications.

E

A blob lifecycle management policy manages the tiering or deletion of blob data in Azure Storage, not VM CPU alerts. It is irrelevant to monitoring VM performance metrics.

114
MCQmedium

Based on the exhibit, the VM backup item was accidentally deleted from the vault yesterday, but the VM itself still exists. What should you do to resume protection with the existing backup item?

A.Delete the VM and recreate it so the backup can start again.
B.Recover or undelete the backup item from the vault before the soft-delete retention expires.
C.Create a new action group so the vault can re-enable protection.
D.Disable diagnostic settings on the vault and then re-enable them.
AnswerB

Because soft delete is enabled and the retention window is still open, the deleted backup item can be recovered from the Recovery Services vault. Undeleting the item restores the backup relationship without requiring a new protection configuration or a rebuild of the VM.

Why this answer

Azure Backup uses soft-delete for backup items, which retains deleted backup data for 14 days by default. Since the backup item was accidentally deleted yesterday, it is still in the soft-delete state and can be recovered or undeleted from the vault before the retention period expires. Once recovered, protection can be resumed on the existing VM without data loss or reconfiguration.

Exam trap

The trap here is that candidates may think deleting a backup item permanently removes all data, but Azure Backup's soft-delete feature retains the data for 14 days, allowing recovery without recreating the VM or backup configuration.

Why the other options are wrong

A

Deleting the VM would cause loss of data and is unnecessary because the backup item can be recovered from soft-delete state without recreating the VM.

C

Creating a new action group does not restore a deleted backup item or re-enable protection. Action groups define notification settings for alerts, not backup item recovery.

D

Disabling and re-enabling diagnostic settings on the vault does not restore a soft-deleted backup item or resume protection; it only affects logging and monitoring data sent to Azure Monitor.

115
MCQmedium

You want Azure to identify security improvements, underutilized resources, and cost-saving opportunities across your subscriptions. Which Azure service should you use?

A.Azure Advisor
B.Azure Policy
C.Azure Backup
D.Virtual network peering
AnswerA

Azure Advisor is a built-in, free service that provides personalized best-practice recommendations by analyzing your Azure resources. It categorizes recommendations into Security, Reliability, Performance, and Cost, and for the security category it surfaces issues such as missing network security group rules, unencrypted storage, and exposed SQL databases, often sourced from Defender for Cloud. It also identifies underutilized virtual machines through metrics like CPU and network usage, giving it the unique ability to fulfill both 'security improvements' and 'underutilized' requirements.

Why this answer

Azure Advisor is the correct service because it provides personalized recommendations across five categories: Reliability, Security, Performance, Operational Excellence, and Cost. It analyzes your deployed resources and usage patterns to identify security improvements (e.g., missing network security groups), underutilized resources (e.g., idle virtual machines), and cost-saving opportunities (e.g., reserved instance purchases). This aligns directly with the question's requirement for a unified service that delivers these insights across subscriptions.

Exam trap

The trap here is that candidates confuse Azure Advisor's proactive recommendations with Azure Policy's reactive compliance enforcement, mistakenly thinking Policy can identify underutilized resources or cost-saving opportunities when it only enforces rules.

Why the other options are wrong

B

Azure Policy enforces compliance rules and governance, but it does not proactively identify security improvements, underutilized resources, or cost-saving opportunities. Those are the specific functions of Azure Advisor.

C

Azure Backup is a service for backing up data and workloads, not for identifying security improvements, underutilized resources, or cost-saving opportunities. The question asks for a service that provides recommendations, which is Azure Advisor's function.

D

Virtual network peering connects virtual networks for traffic routing, but does not provide security recommendations, identify underutilized resources, or offer cost-saving insights.

116
MCQmedium

A developer deleted a single configuration file on a Windows Azure VM. The administrator wants to restore only that file from the latest backup without replacing the entire VM. Which restore workflow should be used?

A.Restore the entire VM to a new instance
B.Use file recovery from the backup item
C.Create a new storage account and copy the file from there
D.Enable a resource lock on the VM
AnswerB

File recovery lets an administrator mount the backup content and copy back only the deleted file or folder. That is the most efficient option when the VM itself is healthy and only a small set of files needs to be recovered. It avoids downtime and avoids replacing the whole virtual machine or disk set.

Why this answer

Azure Backup provides file-level recovery for Azure VMs using the 'File Recovery' feature. This allows you to mount the recovery point as a drive on the VM (or another machine) and copy individual files without restoring the entire VM. It uses iSCSI to present the backup snapshot directly to the VM for granular file access.

Exam trap

The trap here is that candidates may assume file-level recovery is not possible with Azure VM backups and choose the full VM restore option, not realizing that Azure Backup supports granular file recovery via iSCSI mounting.

Why the other options are wrong

A

Restoring the entire VM to a new instance would replace the whole VM, not just a single file, and would require additional configuration to extract the file, making it inefficient for a single file restore.

C

Creating a new storage account and copying the file from there does not restore the file from a backup; it only provides a storage location. The file must first be recovered from the backup, which is not part of this workflow.

D

Enabling a resource lock on the VM prevents accidental deletion or modification of the VM itself, but it does not provide any mechanism to restore a deleted file from a backup.

117
MCQhard

Several Azure Monitor alerts across different subscriptions must notify the same on-call group by email, SMS, and webhook whenever they fire. The operations team wants to define the notification target once and reuse it from future metric alerts, log alerts, and activity log alerts. What should be created?

A.An action group that can be attached to multiple Azure Monitor alert rules.
B.A metric alert with the same threshold applied to every resource that needs notification.
C.A diagnostic setting on each resource so the contact list is stored with the logs.
D.A Log Analytics workbook used as the shared notification destination.
AnswerA

An action group is the reusable notification target in Azure Monitor. You define the recipients and actions once, then attach that action group to any metric, log, or activity log alert that should notify the same people. This separates alert detection from alert delivery, which keeps the design consistent across subscriptions and reduces repeated configuration. It is the right feature when the notification method must be shared broadly.

Why this answer

An action group in Azure Monitor is the correct solution because it defines a reusable collection of notification channels (email, SMS, webhook) that can be attached to multiple alert rules across different subscriptions. This allows the operations team to define the on-call group notification target once and reuse it for metric alerts, log alerts, and activity log alerts, ensuring consistent notification behavior.

Exam trap

The trap here is that candidates confuse alert rules (which define the condition to trigger) with action groups (which define the notification destination), leading them to select a metric alert or diagnostic setting instead of the reusable notification container.

Why the other options are wrong

B

A metric alert defines a threshold condition, not a notification target. It cannot be reused across different alert rules or notification channels like email, SMS, and webhook.

C

Diagnostic settings send logs and metrics to storage, Event Hubs, or Log Analytics, but they do not define notification targets like email, SMS, or webhook. They cannot be used to trigger alerts or notify on-call groups.

D

A Log Analytics workbook is a visualization and analysis tool, not a notification destination. It cannot send emails, SMS, or webhooks when alerts fire.

118
MCQeasy

Based on the exhibit, what should the administrator configure so the operations team receives an email when the VM's average CPU stays above 80% for 10 minutes?

A.Create a diagnostic setting on the VM and send platform logs to Log Analytics.
B.Create an action group and attach it to the metric alert rule.
C.Assign a Reader role to the operations team on the VM resource.
D.Enable a resource lock on the VM to prevent CPU spikes.
AnswerB

An action group is the Azure Monitor component that delivers notifications or runs automation when an alert fires. The metric alert already defines the CPU condition, so the missing piece is the action group to email the operations team. Once linked, the alert can evaluate continuously and send the required notification whenever the threshold is met.

Why this answer

To send an email when a metric threshold is breached, you must first create an action group that defines the notification action (e.g., email, SMS). Then, when configuring the metric alert rule for 'Percentage CPU' with a condition of 'greater than 80%' for 10 minutes, you attach that action group to the alert rule. This ensures that when the alert fires, the defined email notification is sent to the operations team.

Exam trap

The trap here is that candidates confuse diagnostic settings (which send data to a destination) with alert rules (which evaluate conditions and trigger notifications), leading them to pick Option A even though it does not include the action group needed for email delivery.

Why the other options are wrong

A

This option does not configure email notification for the alert. Diagnostic settings send logs to Log Analytics for analysis, but they do not trigger email alerts when CPU exceeds a threshold.

C

Assigning a Reader role allows the operations team to view VM metrics but does not enable email notifications for CPU threshold alerts.

D

Resource locks prevent accidental deletion or modification of a resource, not CPU spikes. They do not trigger email notifications based on performance metrics.

119
Matchingmedium

A backup engineer is reviewing policy-related settings in a Recovery Services vault. Match each backup setting to the behavior it controls.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Determines when the VM backup job runs, such as daily at a specific time.

Determines how long a recovery point is kept before it expires.

Keeps short-term snapshots available for quick restores before they age out.

Preserves deleted backup data for a recovery window instead of removing it immediately.

Represents the protected VM that is registered in the vault.

Why these pairings

Backup frequency sets how often; retention range sets how long; snapshot retention keeps local copy; schedule sets time; tier defines storage type; alerts notify on issues.

120
MCQhard

An organization must retain Azure Key Vault audit data for 18 months, search the data in Log Analytics, and keep a second copy if the workspace retention policy is later shortened. The operations team already has an action group for notifications. What should be configured on the Key Vault?

A.Create an activity log alert and point it at the existing action group.
B.Create a diagnostic setting that streams AuditEvent logs to Log Analytics and a storage account.
C.Create a metric alert on the Key Vault and archive the alert history.
D.Enable only resource metrics and rely on workspace retention for compliance.
AnswerB

A diagnostic setting on the Key Vault can export resource logs to Log Analytics for querying and also to a storage account for durable retention. That meets both investigation and long-term preservation requirements. The action group can still be used separately for notifications, but it does not replace the log collection path. This is the only option that addresses both searchable telemetry and an independent retained copy.

Why this answer

Azure Key Vault audit data is captured via the AuditEvent category in diagnostic settings. By configuring a diagnostic setting to stream AuditEvent logs to both a Log Analytics workspace (for querying and long-term retention up to 18 months) and a storage account (for a second copy independent of workspace retention policy changes), the organization meets all requirements. The existing action group is not needed for this data retention and search scenario.

Exam trap

The trap here is that candidates confuse activity log alerts or metric alerts with diagnostic settings, not realizing that audit data retention and search require streaming the AuditEvent category to Log Analytics and a storage account, not just monitoring or metrics.

Why the other options are wrong

A

Activity log alerts only notify on Azure resource-level operations (e.g., create/delete vault), not on Key Vault audit events like secret access. They cannot stream data to Log Analytics or a storage account for long-term retention.

C

Metric alerts and alert history archiving do not capture Key Vault audit logs (e.g., access attempts, secret operations) required for 18-month retention and searchable Log Analytics storage. Audit logs require diagnostic settings, not metric alerts.

D

Enabling only resource metrics and relying on workspace retention does not meet the requirement to retain audit data for 18 months and keep a second copy if retention is shortened. Metrics do not capture AuditEvent logs, and workspace retention alone cannot guarantee a separate copy.

121
MCQhard

Your company needs to retain Azure Activity Log data longer than the built-in retention period and make it available for future analysis. What should you configure?

A.Diagnostic settings for the Activity Log
B.A CanNotDelete lock on the subscription
C.An availability set
D.An NSG flow log only
AnswerA

Diagnostic settings for the Activity Log are the correct mechanism because they stream the tenant's control-plane events to a Log Analytics workspace, storage account, or Event Hubs. This enables retention beyond the default 90-day portal window; for example, Log Analytics workspaces support up to two years of retention, and a storage account can hold the data indefinitely. The setting also allows export to tools for alerting and analysis, which is exactly what the requirement of retaining data longer demands.

Why this answer

Azure Activity Log has a default retention period of 30 days for Standard tier subscriptions and 90 days for others. To retain data longer, you must configure diagnostic settings to stream the Activity Log to a Log Analytics workspace (for long-term querying) or to an Azure Storage account (for archival). Diagnostic settings allow you to define the retention duration beyond the built-in limit, enabling future analysis.

Exam trap

The trap here is that candidates confuse the default retention period of the Activity Log with the ability to extend it, mistakenly thinking locks or other resource configurations can preserve log data, when only diagnostic settings enable long-term retention and export.

Why the other options are wrong

B

A CanNotDelete lock prevents deletion of resources but does not extend the retention period of Activity Log data, which is the requirement in the question.

C

An availability set is a logical grouping of VMs to ensure high availability, not a data retention or analysis tool. It cannot store or extend the retention of Activity Log data.

D

NSG flow logs capture IP traffic through a network security group, not Azure Activity Log data. They are used for network monitoring and security analysis, not for extending retention of subscription-level operational logs.

122
MCQeasy

Based on the exhibit, what should the administrator change if the business wants backups to be kept for 30 days instead of 7 days?

A.Change the backup schedule from daily to hourly.
B.Increase the retain daily backup points setting to 30 days.
C.Increase the instant recovery snapshot retention to 30 days.
D.Enable a CanNotDelete lock on the Recovery Services vault.
AnswerB

The requirement is about how long daily recovery points are kept, not how often backups run. The policy setting that controls that is the retention value for daily backup points. Updating it from 7 days to 30 days keeps the restore points available for the required period while leaving the backup schedule unchanged.

Why this answer

The backup retention policy in Azure Backup is configured via the 'Retain daily backup points' setting, which specifies how many days daily recovery points are kept. To change retention from 7 to 30 days, the administrator must increase this value to 30. This directly controls the lifespan of daily backups in the Recovery Services vault.

Exam trap

The trap here is confusing 'instant recovery snapshot retention' (short-term local snapshots) with 'daily backup point retention' (long-term vault retention), leading candidates to incorrectly select option C.

Why the other options are wrong

A

Changing the backup schedule from daily to hourly increases backup frequency, not retention duration. The question asks to keep backups for 30 days instead of 7 days, which is a retention setting, not a scheduling change.

C

The instant recovery snapshot retention setting controls how long snapshots are kept for immediate restores, not the overall backup retention period. The question asks for keeping backups for 30 days, which is managed by the retention policy (e.g., retain daily backup points).

123
MCQmedium

The operations team wants an email and SMS notification whenever any production virtual machine's average CPU stays above 85 percent for 10 minutes. They also want to reuse the same notification targets for future alerts. What should they configure?

A.A diagnostic setting on each VM that sends metrics to a storage account
B.An action group attached to a metric alert rule
C.A Log Analytics query alert with no notification target
D.A resource lock on the virtual machines
AnswerB

An action group centralizes the email and SMS targets, and a metric alert can evaluate CPU percentage over a 10-minute window. Linking the alert to the action group gives the team reusable notifications for future monitoring rules without recreating contact information each time.

Why this answer

An action group in Azure Monitor defines the notification targets (email, SMS, etc.) for alerts, and a metric alert rule can be configured to trigger when the average CPU percentage exceeds 85% for 10 minutes. By attaching the same action group to multiple alert rules, the operations team can reuse the notification targets for future alerts without reconfiguring them each time.

Exam trap

The trap here is that candidates often confuse diagnostic settings (which only export data) with alert rules that require an action group to deliver notifications, or they mistakenly think a resource lock can provide monitoring capabilities.

Why the other options are wrong

A

A diagnostic setting sending metrics to a storage account only archives data for later analysis; it does not trigger real-time notifications like email or SMS when CPU exceeds a threshold.

C

A Log Analytics query alert with no notification target cannot send email or SMS notifications, which is a core requirement of the question.

D

Resource locks prevent accidental deletion or modification of resources but do not provide any monitoring or notification capabilities for performance metrics like CPU usage.

124
MCQeasy

A user accidentally deleted a file from an Azure VM. The administrator wants to recover only the deleted file from the most recent backup instead of restoring the entire VM. What should the administrator use?

A.File recovery from the Azure Backup restore process
B.A new VM image
C.A metric alert
D.An NSG flow log
AnswerA

File recovery lets the administrator mount or browse backup data and restore only the needed files instead of the full VM.

Why this answer

Azure Backup's file-level recovery (also known as item-level restore) allows you to recover individual files or folders from a VM backup point without restoring the entire VM. This is achieved by mounting the recovery point as a drive on the same or another VM, enabling direct file copy. Option A is correct because this feature is specifically designed for granular recovery of deleted files from the most recent backup.

Exam trap

The trap here is that candidates may confuse Azure Backup's full VM restore with its file-level recovery capability, assuming that only a complete VM restore is possible from a backup.

Why the other options are wrong

B

A new VM image would require creating an entirely new VM from a captured image, which does not allow selective file recovery from a backup. It would not restore the deleted file without redeploying the whole VM.

C

A metric alert monitors performance metrics (e.g., CPU, memory) and triggers notifications; it cannot recover deleted files from backups.

D

NSG flow logs capture IP traffic through a network security group, not file-level recovery from backups. They are used for network monitoring and troubleshooting, not for restoring deleted files.

125
MCQeasy

Your team wants every protected Azure VM in a vault to be backed up once each day and kept for 30 days. Which Recovery Services vault setting should you configure?

A.A diagnostic setting
B.A resource lock
C.A backup policy
D.An action group
AnswerC

A backup policy defines when backups run and how long recovery points are retained, which matches the daily backup and 30-day retention requirement.

Why this answer

A backup policy defines the frequency and retention duration for backups. By configuring a backup policy with a daily backup schedule and a retention period of 30 days, you ensure that each protected Azure VM in the Recovery Services vault is backed up once per day and the backups are kept for 30 days. This is the correct setting to meet the team's requirements.

Exam trap

The trap here is that candidates may confuse a backup policy with other vault settings like diagnostic settings or resource locks, thinking they control backup frequency or retention, when in fact only the backup policy directly defines the schedule and retention for protected items.

Why the other options are wrong

A

A diagnostic setting configures logging and metrics for the vault, not backup schedules or retention. It does not control how often backups occur or how long they are kept.

B

A resource lock prevents accidental deletion or modification of the Recovery Services vault, but it does not configure backup frequency or retention. The question asks for a setting that defines backup schedule and retention, which is a backup policy.

D

An action group is used to define notifications and actions triggered by Azure Monitor alerts, not to configure backup schedules or retention. Backup frequency and retention are set via a backup policy.

126
Multi-Selecthard

A backup operations team exports Recovery Services vault logs to Log Analytics. They need a query that returns only failed backup jobs from the last 24 hours and displays just the vault name, protected item name, and error description. Which two KQL operators should the query include? Select two.

Select 2 answers
A.where
B.project
C.summarize
D.join
E.extend
AnswersA, B

The where operator filters rows based on a boolean predicate, evaluating each row and retaining only those that satisfy the condition. In this scenario, it is the correct choice because the team must return only failed jobs from the last 24 hours, which requires a row-level filter such as Status == "Failed" and TimeGenerated >= ago(24h). Without where, the query would include all jobs regardless of status or time, making it impossible to isolate the specific failed backup operations.

Why this answer

The `where` operator filters the Log Analytics data to include only rows where the backup job status equals 'Failed' and the timestamp falls within the last 24 hours. This is essential for narrowing down the dataset to the specific failed jobs the team needs.

Exam trap

The trap here is that candidates often confuse `extend` with `project`—both can manipulate columns, but only `project` drops all unlisted columns, while `extend` keeps all original columns and adds new ones, failing to limit the output to the required fields.

Why the other options are wrong

C

The query needs to filter rows (where) and select columns (project), not aggregate data. summarize would group rows and compute aggregates, which is unnecessary for simply listing failed jobs.

D

The query only needs data from a single table (the backup jobs log), so there is no need to combine rows from two tables. The 'join' operator is used to merge rows from multiple tables based on a key, which is irrelevant here.

E

The 'extend' operator adds a new calculated column to the result set, but the question only requires filtering existing columns and selecting specific columns, not creating new ones.

127
MCQmedium

Based on the exhibit, a backup administrator accidentally stopped protection for a critical VM and then deleted its backup item. The team wants Azure Backup to retain the deleted item long enough to recover it after the mistake is discovered the next day. What should be enabled on the vault?

A.Soft delete for backup data
B.A read-only resource lock on the VM
C.A network security group rule allowing port 445
D.Instant restore snapshots set to 30 days
AnswerA

Soft delete for backup data in Azure Backup retains accidentally deleted backup items for a default grace period of 14 days after protection is stopped or the backup item is deleted. During this window, the backup data is not permanently purged and can be recovered or restored without any data loss. This makes it the direct solution for a scenario where an administrator mistakenly stops protection and later wants to retrieve that backup data. Note that soft delete is a vault-level setting and must be enabled in the Recovery Services vault to take effect.

Why this answer

Soft delete for backup data is the correct answer because it provides a safety net for accidentally deleted backup items. When enabled, Azure Backup retains deleted backup data for an additional 14 days (default) in a soft-deleted state, allowing administrators to recover the data before it is permanently purged. This directly addresses the scenario where protection was stopped and the backup item was deleted, as the data remains recoverable within the retention period.

Exam trap

The trap here is that candidates may confuse soft delete for backup data with resource locks or network security rules, mistakenly thinking that protecting the VM itself or enabling network access will preserve deleted backup items, when in fact only the vault-level soft delete feature retains the backup data after deletion.

Why the other options are wrong

B

A read-only resource lock on the VM prevents deletion or modification of the VM itself, but does not affect the backup vault's retention of deleted backup items. The lock does not enable soft delete or extend retention of backup data.

C

A network security group rule allowing port 445 is used for SMB file sharing, not for retaining deleted backup items. It does not affect backup retention or recovery of deleted backups.

D

Instant restore snapshots set to 30 days controls how long recovery points are retained for immediate restoration, but it does not protect against deletion of the backup item itself. The question asks for retaining a deleted backup item after accidental deletion, which is achieved by soft delete, not by extending snapshot retention.

128
Multi-Selecteasy

You need to monitor CPU on a small set of VMs while keeping ingestion costs low. Which two actions are the best choices? Select two.

Select 2 answers
A.Use Azure Monitor platform metrics for CPU instead of collecting guest logs
B.Collect only the required diagnostic categories and performance counters
C.Collect all Windows event logs from every VM
D.Create a separate workspace for each VM
E.Enable verbose guest logging on every server
AnswersA, B

Azure Monitor platform metrics for CPU are automatically collected for Azure VMs at no additional Log Analytics ingestion cost, and they are stored in the Azure metrics database which supports near-real-time alerting and charting. Guest-level logs require the Azure Monitor Agent, incurring per-GB ingestion fees and ongoing agent management. Because CPU percentage is a host-side metric, platform metrics provide exactly the data needed without sending any log data, making this the most cost-effective choice.

Why this answer

Azure Monitor platform metrics for CPU are collected automatically from the Azure VM host at no additional cost, providing basic CPU utilization data without requiring the Log Analytics agent or incurring data ingestion charges. This approach keeps costs low because platform metrics are included in the Azure Monitor pricing, whereas guest-level metrics require log ingestion and storage fees. For a small set of VMs where only CPU monitoring is needed, platform metrics are sufficient and cost-effective.

Exam trap

The trap here is that candidates often assume guest-level logging is required for CPU monitoring, but Azure Monitor platform metrics already provide host-level CPU data at no extra cost, making options like verbose logging or full event collection unnecessary and costly.

Why the other options are wrong

C

Collecting all Windows event logs from every VM generates excessive data, increasing ingestion costs and storage, which contradicts the goal of keeping costs low.

D

Creating a separate workspace for each VM increases management overhead and costs, as each workspace incurs its own ingestion and retention charges, contradicting the goal of low costs.

E

Verbose guest logging generates excessive data, increasing ingestion costs without providing additional value for CPU monitoring, which is already covered by platform metrics.

129
MCQmedium

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?

A.Rotate the storage account keys and review access from the portal activity feed.
B.Create diagnostic settings on the storage account and the subscription that send logs to the same Log Analytics workspace.
C.Place the storage account behind an availability set so writes remain available during maintenance.
D.Enable a service endpoint from the application subnet and check whether the firewall blocks the writes.
AnswerB

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.

Why this answer

Diagnostic settings on both the storage account and the subscription can stream platform logs (e.g., StorageWrite failures) and activity logs (e.g., role assignments, deployments) to the same Log Analytics workspace. This enables correlated queries across resource-level operational issues and subscription-level changes, allowing the administrator to identify if a recent role assignment or deployment caused the write failures.

Exam trap

The trap here is that candidates may think the Activity Log alone (Option A) is sufficient for correlation, but it lacks the resource-level diagnostic data needed to see the actual write failures, while diagnostic settings to a common Log Analytics workspace provide the necessary cross-layer query capability.

Why the other options are wrong

A

Rotating storage account keys does not correlate write failures with subscription-level changes like role assignments or deployments; it only addresses access control. The portal activity feed shows resource-level operations but not subscription-level changes in a unified view.

C

An availability set is a VM-level construct for high availability, not a storage account feature, and does not address write failures or correlate errors with subscription-level changes.

130
MCQhard

You need to keep Azure activity log data for longer than the default retention period and make it available for analysis. What should you configure?

A.Diagnostic settings for the activity log
B.A resource lock on the subscription
C.An availability zone
D.A scale set autoscale policy
AnswerA

Diagnostic settings for the activity log are the correct mechanism because they allow you to route Azure activity log data to a Log Analytics workspace, storage account, or Event Hub. By default, activity logs are retained for only 90 days, but configuring diagnostic settings enables you to archive that data for years or stream it to analysis tools, satisfying long-term retention and compliance requirements.

Why this answer

The default retention period for Azure activity logs is 90 days. To retain activity log data beyond this period and make it available for analysis (e.g., in a Log Analytics workspace, storage account, or Event Hubs), you must configure diagnostic settings for the activity log. This allows you to stream the log data to a destination of your choice, where you can set custom retention policies.

Exam trap

The trap here is that candidates often confuse the default retention period (90 days) with the ability to extend it via simple settings, not realizing that diagnostic settings are required to route the data to a persistent destination for longer retention and analysis.

Why the other options are wrong

B

A resource lock on the subscription prevents accidental deletion or modification of resources, but it does not extend the retention period of activity log data or enable its analysis.

C

Availability zones are physically separate datacenters within an Azure region used for high availability and disaster recovery, not for extending data retention or enabling analysis of activity logs.

D

A scale set autoscale policy manages the number of VM instances in a virtual machine scale set based on demand, not the retention or analysis of Azure activity log data.

131
MCQeasy

Based on the exhibit, which Azure feature should the administrator use to track this kind of platform-wide service issue?

A.Service Health, because it reports Azure platform incidents that affect customers in a region.
B.Resource Health, because it shows whether a specific virtual machine is healthy or unavailable.
C.Activity Log, because it lists every administrative action taken in the subscription.
D.Azure Advisor, because it gives recommendations to improve the virtual machine configuration.
AnswerA

Service Health is the correct option because it provides a personalized, subscription-scoped view into Azure platform incidents, planned maintenance, and advisories that affect a specified region or set of services. It is the primary official channel where Microsoft publishes root-cause analyses, impact summaries, and periodic updates during an active outage, allowing administrators to determine whether a multi-resource failure is due to a known regional event rather than a problem in their own configuration.

Why this answer

Service Health is the correct feature because it provides a personalized dashboard of all Azure service incidents, planned maintenance, and health advisories that impact the customer's subscriptions and regions. It aggregates platform-wide issues (e.g., regional outages or degradation) that Azure engineering has confirmed, making it the appropriate tool for tracking a platform-wide service issue affecting multiple resources in a region.

Exam trap

The trap here is that candidates confuse Resource Health (which shows the health of a single resource) with Service Health (which shows platform-wide incidents), leading them to select Resource Health when the question explicitly asks about a 'platform-wide service issue' affecting multiple resources in a region.

Why the other options are wrong

B

Resource Health focuses on individual resource status (e.g., a specific VM), not platform-wide service issues affecting an entire region.

C

The Activity Log records administrative actions (e.g., create, delete, update) on resources, not platform-wide service incidents. The question asks about tracking a platform-wide service issue, which is reported by Service Health, not individual resource operations.

D

Azure Advisor provides recommendations for optimizing resource configurations, not for tracking platform-wide service issues. The question specifically asks about tracking a platform-wide service incident, which is the domain of Service Health.

132
MCQmedium

A security team needs platform logs and metrics from an Azure Key Vault to be searchable later in a Log Analytics workspace so they can investigate administrative changes and access trends. What should you configure on the Key Vault?

A.Azure Monitor private link scope
B.A diagnostic setting that sends logs and metrics to the workspace
C.An activity log alert on the subscription only
D.A resource lock on the Key Vault
AnswerB

Diagnostic settings are the Azure feature that forwards resource logs and metrics from a service like Key Vault to a Log Analytics workspace. That makes the data searchable with KQL for investigations, reporting, and trend analysis. It is the correct configuration when the goal is to centralize operational telemetry from a specific Azure resource.

Why this answer

A diagnostic setting on Azure Key Vault allows you to stream platform logs (e.g., AuditEvent) and metrics (e.g., ServiceApiHit) to a Log Analytics workspace. This makes the data searchable via KQL queries for investigating administrative changes and access trends, fulfilling the security team's requirement.

Exam trap

The trap here is that candidates may confuse diagnostic settings with activity logs or alerts, thinking that activity log alerts or resource locks provide log searchability, when only a diagnostic setting can route platform logs and metrics to a Log Analytics workspace for querying.

Why the other options are wrong

A

Azure Monitor private link scope is used to privately connect to Azure Monitor workspaces, not to send Key Vault logs and metrics to a Log Analytics workspace.

C

Activity log alerts notify on events but do not store logs for later search; the question requires logs to be searchable in a Log Analytics workspace, which only a diagnostic setting can provide.

133
MCQeasy

A company wants an alert to be sent by email and SMS whenever a production virtual machine's CPU percentage goes above 80 percent. The administrator also wants the notification targets to be reusable by other alerts later. What should the administrator configure first?

A.A metric alert rule only
B.An action group
C.A service health alert
D.A diagnostic setting
AnswerB

An action group stores the notification targets, such as email and SMS recipients, so multiple alerts can reuse the same response action.

Why this answer

An action group (B) is the correct first configuration because it defines the notification targets (email, SMS) that can be reused across multiple alert rules. In Azure Monitor, alert rules are decoupled from notification actions; you create an action group once and then reference it in any metric alert rule, including the CPU percentage threshold rule needed here. This ensures the administrator can meet the requirement for reusable notification targets.

Exam trap

The trap here is that candidates often think a metric alert rule inherently includes notification settings, but Azure separates the condition (alert rule) from the notification method (action group) to enforce reusability and centralized management.

Why the other options are wrong

A

A metric alert rule defines the condition (CPU > 80%) but does not include notification targets. The question requires reusable notification targets, which are configured separately as an action group.

C

A service health alert monitors Azure service outages and planned maintenance, not VM CPU performance. The question requires alerting on a specific VM metric (CPU percentage), which is not covered by service health alerts.

D

A diagnostic setting is used to stream platform logs and metrics to destinations like Log Analytics, Storage, or Event Hubs, not to trigger alerts via email or SMS. It does not define notification actions.

134
Multi-Selecteasy

A user deleted several files from an Azure VM, and the administrator wants to use Azure Backup file recovery. Which two items are needed to start the recovery process? Select two.

Select 2 answers
A.A recovery point
B.An application security group
C.The file recovery script downloaded from the vault
D.A metric alert rule
E.A user-assigned managed identity
AnswersA, C

A recovery point is the core artifact of Azure Backup: it is a point-in-time snapshot (crash-consistent or app-consistent) of the VM's disks, stored in the Recovery Services vault. To recover deleted files, you must have at least one successful recovery point that predates the deletion, because the actual file data is only available from that snapshot. Without a recovery point, there is no backed-up copy of the file system to restore, making the entire recovery operation impossible.

Why this answer

Azure Backup file recovery requires a recovery point (A) because it represents the snapshot of the VM's data at a specific time from which files can be restored. The file recovery script (C) is downloaded from the Recovery Services vault and mounts the recovery point as a drive on the VM, enabling file-level access. Without both, the recovery process cannot proceed.

Exam trap

The trap here is that candidates may think a user-assigned managed identity (E) is needed for authentication to access the vault, but the file recovery script handles authentication via a temporary SAS token embedded in the script, not via managed identities.

Why the other options are wrong

B

An application security group is used to control network traffic to Azure VMs, not for file recovery from Azure Backup. File recovery requires a recovery point and the file recovery script, not network security components.

D

A metric alert rule is used to monitor Azure resources and trigger actions based on performance or availability metrics, not to recover files from an Azure VM backup.

E

Azure VM file recovery via Azure Backup requires a recovery point and the file recovery script from the vault; a user-assigned managed identity is not needed for this process.

135
MCQeasy

Based on the exhibit, which alert type should the administrator create to detect when Azure marks the storage account unhealthy because of a platform issue?

A.Metric alert on account capacity.
B.Resource Health alert.
C.Log search alert against AzureDiagnostics.
D.Autoscale rule based on storage transactions.
AnswerB

Resource Health alerts are intended for platform-level availability problems reported by Azure itself. They are the right fit when the business wants to know that Azure has marked a resource unhealthy or unavailable, rather than watching an application metric or a custom log entry. This directly matches the requirement for platform issue notification on the storage account.

Why this answer

Resource Health alerts are specifically designed to notify administrators when an Azure service or resource becomes unhealthy due to platform issues. In this scenario, the storage account being marked unhealthy by Azure due to a platform issue is exactly the kind of event that a Resource Health alert captures, as it monitors the health status of Azure resources and triggers alerts on state transitions (e.g., from 'Available' to 'Degraded' or 'Unavailable').

Exam trap

The trap here is that candidates often confuse Resource Health alerts with metric alerts or log search alerts, mistakenly thinking that any health-related event can be captured by querying AzureDiagnostics or by setting a metric threshold, when in fact Resource Health alerts are the dedicated mechanism for platform-issue notifications.

Why the other options are wrong

A

A metric alert on account capacity monitors storage usage thresholds, not platform-level health issues. The question specifically asks for detecting when Azure marks the storage account unhealthy due to a platform issue, which requires a Resource Health alert.

C

Log search alerts against AzureDiagnostics require log data to be sent to a Log Analytics workspace, which is not the primary method for detecting platform-level health issues on a storage account. Resource Health alerts directly monitor the health state of Azure resources, including platform issues, without needing diagnostic logs.

D

Autoscale rules adjust resources based on metrics like transactions, but they do not detect or alert on platform-level health issues. The question asks for an alert when Azure marks the storage account unhealthy due to a platform issue, which requires a Resource Health alert, not an autoscale rule.

136
MCQeasy

A company wants to enable backup for an Azure virtual machine and later restore the VM if needed. Which Azure service should the administrator use to manage the backup plan and restores?

A.Azure Monitor
B.Recovery Services vault
C.Log Analytics workspace
D.Azure Front Door
AnswerB

A Recovery Services vault is the dedicated Azure entity that stores backup data and recovery points, and its console is where you configure VM backup policies, trigger on-demand backups, and restore VMs from a chosen recovery point. It uses the Azure Backup service under the hood, which coordinates the VM snapshot and vault-level storage. Because the restore workflow — including disk replacement and VM re-creation — is initiated from this vault, it is the only service among these that actually enables backup and restores for an Azure VM.

Why this answer

The Recovery Services vault is the correct Azure service for managing backup plans and restores for Azure virtual machines. It provides a centralized management interface for configuring backup policies, performing on-demand backups, and initiating restore operations to recover VMs to a specific point in time.

Exam trap

The trap here is that candidates often confuse Azure Backup (which uses Recovery Services vault) with Azure Site Recovery (which also uses a Recovery Services vault but for disaster recovery replication, not backup), leading them to incorrectly select a different service or misunderstand the vault's dual role.

Why the other options are wrong

A

Azure Monitor is a monitoring and diagnostics service, not a backup and restore solution. It cannot manage backup plans or perform VM restores.

C

Log Analytics workspace is used for collecting and analyzing telemetry data, not for managing VM backup plans or restores. Backup and restore operations for Azure VMs are managed through a Recovery Services vault.

D

Azure Front Door is a global load balancer and application delivery service, not a backup or restore solution. It does not provide backup plans or VM restore capabilities.

137
MCQeasy

Based on the exhibit, why does a query against AzureDiagnostics return no rows after the storage account diagnostic setting was changed?

A.The storage account cannot send logs to Log Analytics when public network access is disabled.
B.The logs are written to resource-specific tables instead of AzureDiagnostics.
C.The diagnostic setting only sends metrics, not logs, to the workspace.
D.The workspace retention period automatically deletes all records after one hour.
AnswerB

When diagnostic settings use resource-specific mode, Azure writes records to service-specific tables rather than the legacy AzureDiagnostics table. The query failed because it looked in the wrong table. The administrator should query the table that matches the storage log source or switch the destination format if a unified table is preferred.

Why this answer

When you change a diagnostic setting for a storage account from 'AzureDiagnostics' mode to 'Resource-specific' mode, logs are no longer sent to the AzureDiagnostics table. Instead, they are written to dedicated resource-specific tables (e.g., StorageReadLogs, StorageWriteLogs). Since the query targets AzureDiagnostics, it returns no rows because the logs are now stored in the new table format.

Exam trap

The trap here is that candidates assume logs are always written to the AzureDiagnostics table, overlooking that the diagnostic setting can be configured to use resource-specific tables, which changes the destination table name and causes queries against AzureDiagnostics to return no rows.

Why the other options are wrong

A

The question states that the diagnostic setting was changed, not that public network access was disabled. AzureDiagnostics table is used for resource-specific logs only when the diagnostic setting sends logs to the legacy Azure Diagnostics mode; changing to resource-specific tables causes logs to go to separate tables, not AzureDiagnostics.

C

The diagnostic setting explicitly includes 'send to Log Analytics' for logs, not just metrics. The question states the setting was changed to send logs to a Log Analytics workspace, so option C is incorrect because logs are being sent.

D

The workspace retention period does not automatically delete records after one hour; the default retention is 30 days (or longer), and the question's scenario involves a change in diagnostic setting, not retention.

138
MCQeasy

An administrator wants to send a virtual machine's guest logs to a central workspace so they can search them later with queries. Which configuration should be created on the VM or its resource provider first?

A.A role assignment at the subscription scope
B.A diagnostic setting
C.A private endpoint
D.A lock on the VM resource group
AnswerB

A diagnostic setting is the correct mechanism because it explicitly defines which logs and metrics from a virtual machine are streamed to an Azure Monitor destination such as a Log Analytics workspace. For guest OS logs (like Windows Event logs or Syslog), you must combine the diagnostic setting with an installed monitoring agent—either the legacy Log Analytics agent or the newer Azure Monitor Agent—to actually collect and forward those events. Without this, platform-level logs may be available, but guest-level log collection would not occur.

Why this answer

A diagnostic setting is the correct configuration because it enables the streaming of guest OS logs (e.g., System, Application, Security event logs) from an Azure virtual machine to a Log Analytics workspace. This is done by installing the Azure Monitor Agent (AMA) or legacy Log Analytics agent on the VM and then configuring a data collection rule or diagnostic setting to specify which logs to send and the destination workspace. Without this setting, the VM's guest logs remain local and cannot be queried centrally.

Exam trap

The trap here is that candidates often confuse a diagnostic setting with a role assignment, thinking that granting permissions (RBAC) is the first step to enable log collection, but in reality, the diagnostic setting is the specific configuration that defines what logs to send and where.

Why the other options are wrong

A

A role assignment at the subscription scope grants permissions to users or services but does not configure data collection or forwarding of VM guest logs to a Log Analytics workspace. Diagnostic settings are required to specify which logs and metrics to send and where to send them.

C

A private endpoint is used to securely connect to a service over a private IP address, not to send guest logs to a Log Analytics workspace. The question asks for sending logs, which requires a diagnostic setting, not network connectivity.

D

A lock on the VM resource group prevents deletion or modification of resources, but it does not enable sending guest logs to a central workspace. Diagnostic settings are required to route logs.

139
MCQmedium

Based on the exhibit, an administrator needs to recover one deleted configuration file from a running Azure VM without replacing the VM. Which restore option should be used?

A.Create a new VM from the recovery point so the deleted file returns with a clean operating system.
B.Restore disks and manually rebuild the VM afterward.
C.Use File Recovery to mount the recovery point and copy back the missing file.
D.Replace the existing VM immediately to recover only one file.
AnswerC

Azure Backup's File Recovery mounts the selected recovery point over iSCSI to a temporary location without touching the live production VM. The administrator can copy the missing file from that mounted point directly back to the original VM, then unmount the iSCSI target. This preserves all current VM state and incurs no downtime, making it the correct granular recovery method.

Why this answer

Azure VM File Recovery (part of Azure Backup) allows you to mount a recovery point as a drive on a running VM, browse the file system, and copy specific files back without restoring the entire VM or disks. This is the only option that recovers a single deleted configuration file without replacing or rebuilding the VM.

Exam trap

The trap here is that candidates may think a full disk restore or VM rebuild is required for file-level recovery, but Azure Backup's File Recovery feature is specifically designed for granular file recovery from a VM backup without VM replacement.

Why the other options are wrong

A

Creating a new VM from the recovery point replaces the existing VM, which contradicts the requirement to not replace the VM. The goal is to recover a single file without affecting the running VM.

B

Restoring disks and manually rebuilding the VM is more complex and time-consuming than necessary for recovering a single file; it requires recreating the VM from the restored disks, which is not needed when only one file is missing.

D

Replacing the existing VM is an extreme measure that would cause downtime and potential data loss, and it is not necessary for recovering a single file when Azure Backup's File Recovery can mount the recovery point and copy the file without replacing the VM.

140
Matchinghard

A VM backup policy is being designed in a Recovery Services vault. Match each backup policy element to the behavior it controls.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Defines when the backup job starts, such as daily at a specific time.

Defines how long recovery points remain available for restore.

Determines how the scheduled backup time is interpreted in the policy.

Keeps snapshot copies available for fast local restores before the vault copy completes.

Reusable object that combines schedule, retention, and related backup settings.

Why these pairings

A backup policy in a Recovery Services vault includes retention settings (how long to keep backups), schedule (when to back up), snapshot retention (for instant restores), policy type (Standard vs Enhanced), time zone, and frequency (daily/weekly).

141
Matchinghard

A team manages a production VM and its supporting storage account. Match each operational requirement to the Azure Monitor component that should be configured.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Metric alert rule

Action group

Diagnostic setting

Activity log alert

Log Analytics workspace

Why these pairings

Azure Monitor Metrics stores numerical performance data, Log Analytics enables KQL queries, Alerts notify on conditions, Workbooks provide dashboards, the Azure Monitor Agent collects guest OS logs, and Storage analytics logs capture storage access data.

142
MCQmedium

The team accidentally stopped protection for a VM and deleted its backup data. They want Azure Backup to keep deleted backup items recoverable for a grace period so the item can be undeleted if needed. Which vault feature should be enabled?

A.Instant restore
B.Soft delete
C.A new backup policy
D.A private endpoint for the vault
AnswerB

Soft delete keeps removed backup items in a recoverable state for a retention period after deletion or after protection is stopped. That gives administrators a safety window to reverse accidental deletion and prevents immediate permanent loss of backup data. It is the right protection setting for accidental removal scenarios in Recovery Services vaults.

Why this answer

Soft delete is the correct feature because it provides a grace period (default 14 days) during which deleted backup data is retained in a soft-deleted state. This allows administrators to recover (undelete) backup items that were accidentally deleted, including cases where protection was stopped and data was removed. Without soft delete, deleted backup data is permanently purged and cannot be recovered.

Exam trap

The trap here is that candidates confuse 'soft delete' with 'instant restore' because both involve retention of backup data, but instant restore only affects recovery point snapshots, not the ability to recover deleted items after protection is stopped.

Why the other options are wrong

A

Instant restore controls the retention of recovery points for immediate restoration, not the grace period for deleted backup items. It does not allow undeletion of accidentally deleted backups.

C

A new backup policy defines backup schedule and retention rules, but it cannot recover deleted backup data or provide a grace period for undeletion. The question specifically asks for a feature that keeps deleted items recoverable, which is soft delete, not a policy.

D

A private endpoint for the vault provides secure network connectivity to the Recovery Services vault, not a grace period for recovering deleted backup items.

143
Multi-Selecteasy

A security team wants platform logs from a storage account sent for long-term retention and later analysis. Which three destinations can an Azure diagnostic setting send data to? Select three.

Select 3 answers
A.A Log Analytics workspace
B.A storage account
C.An Event Hub
D.A Recovery Services vault
E.An availability zone
AnswersA, B, C

A Log Analytics workspace is the correct destination when you need to query, analyze, and alert on platform logs from a storage account. Diagnostics settings can stream logs into Azure Monitor tables such as StorageBlobLogs, where KQL enables deep troubleshooting, custom retention, and integration with workbooks and alerts, making it ideal for operational visibility.

Why this answer

Azure Diagnostic Settings can stream platform logs and metrics to three destinations: a Log Analytics workspace for query-based analysis, a storage account for archival and long-term retention, and an Event Hub for real-time ingestion into SIEM or third-party tools. This is defined in the Azure Monitor diagnostic settings configuration, which supports these three outputs natively.

Exam trap

The trap here is that candidates may confuse a Recovery Services vault (used for backup) with a Log Analytics workspace or storage account, or mistakenly think availability zones can store log data, when in fact they are purely a high-availability construct.

Why the other options are wrong

D

A Recovery Services vault is used for Azure Backup and Azure Site Recovery, not for storing diagnostic logs. Diagnostic settings can send data to Log Analytics, Storage Account, or Event Hubs, but not to a Recovery Services vault.

E

An availability zone is a physically separate datacenter within an Azure region, not a destination for diagnostic log data. Diagnostic settings can only send logs to Log Analytics workspaces, storage accounts, or Event Hubs.

144
MCQmedium

Based on the exhibit, the operations team says the alert is too noisy because short CPU spikes after nightly maintenance trigger notifications. They want an alert only when VM1's average CPU stays above 80% for at least 10 minutes. What should you change?

A.Lower the threshold to 70% so the alert becomes less sensitive.
B.Increase the window size to 10 minutes and keep the evaluation frequency at 1 minute.
C.Replace the metric alert with a Log Analytics query alert against the activity log.
D.Move the alert scope from the VM to the resource group.
AnswerB

Increasing the window size to 10 minutes while keeping the evaluation frequency at 1 minute causes each evaluation to use a rolling 10-minute average of the CPU percentage. A short maintenance spike is diluted within that longer aggregation window, so the alert will not fire unless the sustained average actually exceeds the threshold. A one-minute check cadence still detects genuine sustained load within at most a couple of minutes after it begins, so you keep responsiveness.

Why this answer

Increasing the window size to 10 minutes while keeping the evaluation frequency at 1 minute means the alert will only fire when the average CPU over the last 10 minutes exceeds 80%. This filters out transient spikes from nightly maintenance, as the alert requires sustained high CPU for the full duration. The evaluation frequency of 1 minute ensures the alert is checked every minute, but the condition is based on the 10-minute rolling average.

Exam trap

The trap here is that candidates often confuse 'window size' with 'evaluation frequency' and think increasing the evaluation frequency alone would solve the noise, but it is the window size that controls the duration over which the metric must remain above the threshold.

Why the other options are wrong

A

Lowering the threshold to 70% would make the alert more sensitive, not less, and does not address the requirement to filter out short spikes by requiring sustained high CPU for 10 minutes.

C

The question requires a metric-based alert for CPU spikes, not a Log Analytics query alert. Activity logs track operational events, not performance metrics like CPU usage, so this change would not address the noisy alert issue.

D

Moving the alert scope to the resource group does not address the alert noise from short CPU spikes; it would aggregate metrics across all VMs in the group, potentially increasing noise rather than reducing it.

145
MCQhard

You need to collect Windows event logs and performance counters from multiple Azure virtual machines and query the data by using Kusto Query Language. Which Azure resource should you use?

A.A Log Analytics workspace
B.A Recovery Services vault
C.Azure Network Watcher
AnswerA

A Log Analytics workspace is the correct destination because it acts as Azure Monitor's centralized data repository for telemetry such as Windows event logs (collected in the Event table) and performance counters (stored in the Perf table). The Azure Monitor Agent (or legacy Log Analytics agent) sends this VM data to the workspace, where it can be analyzed using KQL queries, visualized in workbooks, and used to trigger alerts. Without a workspace, you cannot run log analytics queries over these OS-level metrics and events.

Why this answer

A Log Analytics workspace is the correct Azure resource for collecting Windows event logs and performance counters from Azure VMs and querying them using Kusto Query Language (KQL). It serves as the central repository where diagnostic data is ingested via the Azure Diagnostics extension or the Log Analytics agent, enabling rich log analytics and custom KQL queries.

Exam trap

The trap here is that candidates often confuse a Log Analytics workspace with Azure Monitor itself, but the workspace is the specific resource that stores and queries the data, while Azure Monitor is the overarching service; the question explicitly asks for the resource that collects and queries the data, which is the workspace.

Why the other options are wrong

B

A Recovery Services vault is used for backup and disaster recovery, not for collecting and querying Windows event logs and performance counters with Kusto Query Language.

C

Azure Network Watcher is used for network monitoring and diagnostics, not for collecting and querying Windows event logs and performance counters with KQL.

D

A load balancer distributes network traffic and does not collect or store Windows event logs or performance counters, nor does it support Kusto Query Language queries.

146
Multi-Selecthard

A finance VM is backed up daily. The team wants short-lived snapshots so recently changed files can be recovered quickly, but they also need daily recovery points retained for 30 days. Which two backup policy settings should be configured? Select two.

Select 2 answers
A.Retain instant restore snapshots for 2 days
B.Retain daily recovery points for 30 days
C.Run the backup job every 12 hours
D.Retain weekly recovery points for 30 days
E.Move backup data to Archive tier
AnswersA, B

Instant restore snapshots are VM-consistent snapshots stored locally with the VM for fast, file-level recovery without network latency. Retaining them for 2 days keeps recent restore points readily available while minimizing the cost of extra local storage. This retention is separate from vault-tier retention, which governs how long backup copies persist in the Recovery Services vault.

Why this answer

Instant restore snapshots are short-lived, locally stored snapshots that allow quick recovery of recently changed files. Setting 'Retain instant restore snapshots for 2 days' ensures these snapshots are available for immediate restores without consuming long-term backup storage. Option B is correct because 'Retain daily recovery points for 30 days' meets the requirement for daily recovery points to be kept for the specified retention period, allowing recovery from any of the last 30 daily backups.

Exam trap

The trap here is that candidates often confuse 'instant restore snapshots' with 'recovery points' and may select options like 'Run the backup job every 12 hours' thinking more frequent backups improve recovery speed, when in fact the instant restore snapshot retention setting directly controls the availability of quick file-level restores.

Why the other options are wrong

C

The requirement is for short-lived snapshots for quick recovery and daily recovery points retained for 30 days. Running the backup job every 12 hours would create additional recovery points but does not address the need for short-lived snapshots or the 30-day retention of daily points.

D

The question specifies daily recovery points retained for 30 days, not weekly. Retaining weekly recovery points for 30 days would keep only 4-5 weekly points, not daily, failing the requirement for daily recovery.

E

The Archive tier is for long-term retention of backup data at lower cost, but it does not support short-lived snapshots for quick recovery of recently changed files. The question requires both short-term snapshots and daily recovery points for 30 days, not archival storage.

147
MCQmedium

A Recovery Services vault currently keeps daily Azure VM recovery points for 7 days. The business changes the requirement to keep daily recovery points for 30 days. Where should the administrator change the setting?

A.In the VM's network interface settings, because backup retention follows the NIC configuration.
B.In the backup policy associated with the Recovery Services vault.
C.In Azure Policy, by assigning a retention compliance initiative to the subscription.
D.In a storage account lifecycle rule attached to the VM disks.
AnswerB

Retention settings for Azure VM backups are controlled in the backup policy within the Recovery Services vault. The policy defines how often backups occur and how long recovery points are retained. To move from 7 days to 30 days of daily retention, the administrator updates the backup policy and applies it to the protected VM. This is the correct place because retention is a vault-level backup behavior, not a VM networking or storage setting.

Why this answer

The retention duration for Azure VM backups is configured within the backup policy that is associated with the Recovery Services vault. By modifying the backup policy (either the default policy or a custom policy), the administrator can change the retention setting from 7 days to 30 days for daily recovery points. This policy directly controls how long backup snapshots are retained, and the change takes effect for all VMs linked to that policy.

Exam trap

The trap here is that candidates often confuse backup retention settings with storage lifecycle management or Azure Policy, assuming that retention can be controlled at the disk or subscription level, when in fact it is exclusively managed through the backup policy linked to the Recovery Services vault.

Why the other options are wrong

A

Backup retention settings are configured in the backup policy, not in the VM's network interface. The NIC controls network connectivity, not backup retention.

C

Azure Policy can enforce compliance rules but does not directly configure backup retention for Recovery Services vaults; retention is set within the backup policy itself.

D

Azure VM backup retention is configured in the backup policy, not in storage account lifecycle rules. Lifecycle rules manage blob storage tiers or deletion, not Recovery Services vault backup retention.

148
MCQhard

A storage account becomes unavailable because Azure has a regional platform issue. The operations team wants a notification whenever Azure marks the resource or region unhealthy, and they want to avoid continuous log ingestion just to detect the outage. What should they configure?

A.A metric alert on storage capacity with an action group.
B.A log alert on storage diagnostic logs that watches for 503 responses.
C.A Service Health alert based on the Activity log, scoped appropriately.
D.An Azure Policy assignment that audits the storage account state.
AnswerC

Service Health alerts are the right choice when you need to know about Azure platform incidents, regional issues, or service degradations that affect a resource or region. They are generated from the Activity log and do not require you to ingest operational logs continuously just to detect an outage. This makes them both efficient and appropriate for platform availability monitoring.

Why this answer

A Service Health alert, configured from the Azure Activity log, provides proactive notifications when Azure services or regions experience an outage or degradation. This alert is triggered by Azure's own health signals, eliminating the need for continuous log ingestion or custom metric monitoring to detect platform-level issues.

Exam trap

The trap here is that candidates confuse application-level monitoring (e.g., log alerts on HTTP 503 errors) with Azure's own platform health signals, leading them to choose a log-based solution that requires continuous ingestion and misses the native Service Health alert capability.

Why the other options are wrong

A

Metric alerts on storage capacity monitor performance metrics like used capacity, not service health or regional outages. They cannot detect when Azure marks a resource or region as unhealthy, which is the specific requirement.

B

A log alert on storage diagnostic logs requires continuous log ingestion, which the operations team wants to avoid. Additionally, it watches for 503 responses from the storage account itself, not for Azure platform health notifications.

D

Azure Policy audits compliance but does not generate real-time notifications for service health issues; it is a governance tool, not an alerting mechanism for regional platform outages.

149
MCQeasy

Based on the exhibit, which KQL operator should replace the blank to return only those columns?

A.where, because it filters rows and also selects the visible columns.
B.summarize, because it groups the failed records into a smaller result set.
C.project, because it returns only the named columns in the result.
D.extend, because it creates new output columns for the selected fields.
AnswerC

The project operator is a column selection and reshaping operator: it returns only the columns explicitly listed in its arguments, in the order specified, and drops all other columns from the input tabular schema. In this query, using project TimeGenerated, VaultName, OperationName gives a concise, readable result set that keeps only the fields relevant to the failed recovery vault entries. All other columns, such as ResourceId or SubscriptionId, are discarded from the output even though they may exist in the underlying log data.

Why this answer

The `project` operator in Kusto Query Language (KQL) is specifically designed to select a subset of columns from the input table, returning only the named columns in the result set. This matches the requirement to 'return only those columns,' making option C correct.

Exam trap

The trap here is confusing row-filtering operators (like `where`) with column-selection operators (like `project`), leading candidates to choose `where` because they think it controls visible columns, when in fact it only filters rows.

Why the other options are wrong

A

The 'where' operator filters rows based on a condition, but it does not select or limit the columns returned; it returns all columns from the input table.

B

The question asks for an operator that returns only specific columns. 'summarize' groups rows and produces aggregation results, but it does not control which columns are returned; it can include additional columns from the group-by clause, not just the named ones.

D

The 'extend' operator creates new columns based on existing ones, but it does not remove other columns from the output. The question requires returning only specific columns, which 'project' does by selecting a subset of columns and discarding the rest.

150
MCQmedium

Based on the exhibit, a user accidentally deleted one file from the VM and you need to restore only that file without recovering the entire virtual machine. What should you use?

A.Run file recovery from the available recovery point.
B.Restore the entire VM to the original resource group.
C.Create a new backup policy with longer retention and wait for the next backup.
D.Use Azure Monitor alerts to trigger an automatic file restore.
AnswerA

Azure VM backup supports file-level recovery from a restore point. Because only one file is needed, file recovery is the least disruptive and most efficient choice. It mounts the recovery point and lets you copy back the missing file without restoring the entire VM or its disks.

Why this answer

Azure Backup for Azure VMs supports file-level recovery from VM backup snapshots without restoring the entire VM. By selecting 'File Recovery' from the backup item's recovery point, you can mount the backup as a drive on the VM or a recovery machine, browse the file system, and copy the deleted file back to its original location. This avoids the overhead and downtime of a full VM restore.

Exam trap

The trap here is that candidates may confuse 'file recovery' with 'full VM restore' or assume that only a full restore can recover data, overlooking the granular file-level recovery capability built into Azure Backup.

Why the other options are wrong

B

Restoring the entire VM to the original resource group would recover the whole virtual machine, not just the single deleted file, which is not the required action.

C

Creating a new backup policy with longer retention does not restore the already deleted file; it only affects future backups. The file was deleted before the new policy takes effect, so no recovery point exists for it.

D

Azure Monitor alerts are for monitoring and triggering actions based on metrics or logs, not for file-level recovery from backups. File recovery requires using Azure Backup's file recovery feature from a recovery point.

← PreviousPage 2 of 3 · 174 questions totalNext →

Ready to test yourself?

Try a timed practice session using only AZ Monitoring questions.