Courseiva

CCNA AZ Monitoring Questions

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

151
MCQhard

An administrator accidentally stopped protection for a critical VM and then deleted its backup item. The mistake was discovered a day later, and the organization wants deleted backup data to remain recoverable for a grace period. Which feature should be enabled on the Recovery Services vault?

A.Soft delete on the Recovery Services vault.
B.An action group attached to the vault alerts.
C.Diagnostic settings that export vault events to Log Analytics.
D.Cross-region restore for the vault.
AnswerA

Soft delete keeps deleted backup items recoverable for a retention window after deletion. That gives administrators time to reverse a mistaken stop-protection or delete action before the data is permanently lost. It is specifically designed for this sort of operational recovery scenario and is a vault-level protection setting. Because the question asks for recoverability after deletion, soft delete is the feature that directly addresses the requirement.

Why this answer

Soft delete on the Recovery Services vault provides a grace period (default 14 days) during which deleted backup data is retained in a soft-deleted state, allowing recovery even after a backup item is deleted. This feature is specifically designed to protect against accidental deletion, as it prevents permanent removal of backup data until the soft-delete period expires or is manually purged.

Exam trap

The trap here is that candidates may confuse soft delete with cross-region restore or diagnostic settings, thinking that logging or alerts can recover deleted data, when in fact only soft delete provides a grace period for recovery after accidental deletion.

Why the other options are wrong

B

An action group attached to vault alerts sends notifications but does not provide a grace period to recover deleted backup data. The question specifically asks for a feature that makes deleted backup data recoverable for a grace period, which soft delete provides.

C

Diagnostic settings export vault events to Log Analytics for monitoring and auditing, but they do not provide a grace period for recovering deleted backup data. Soft delete is the feature that retains deleted backups for 14 days.

D

Cross-region restore (CRR) enables restoring backup data to a paired secondary region for disaster recovery, but it does not provide a grace period to recover deleted backup items within the primary vault. The question specifically asks for a feature that retains deleted backup data for a grace period, which is soft delete, not CRR.

152
MCQhard

You need to suppress alert notifications for a group of virtual machines every Sunday during a planned maintenance window, without deleting the underlying alert rules. What should you configure?

A.Disable diagnostic settings during the maintenance window.
B.Create an alert processing rule for the maintenance window.
C.Delete and recreate the alert rules every week.
D.Move the VMs to a different subscription on Sundays.
AnswerB

An alert processing rule (formerly an action rule) can be configured with a maintenance window schedule to suppress notifications for a scoped set of virtual machines. During that defined time range, the rule overrides future alert actions by discarding or modifying them, while the underlying alert rules continue to evaluate and fire. This preserves your alert rule configuration, avoids false silence outside the window, and keeps the audit trail/history of fired alerts intact.

Why this answer

An alert processing rule (formerly action rule) allows you to apply actions or suppress notifications for specific alert rules during defined time windows without modifying the underlying alert rules. By configuring a suppression action rule for the maintenance window (every Sunday), you can prevent notifications from being sent while the alert rules remain active and continue to evaluate conditions.

Exam trap

The trap here is that candidates may confuse disabling diagnostic settings (which stops data collection) with suppressing notifications, or think that modifying the underlying alert rule is required, when Azure provides a dedicated alert processing rule feature for this exact scenario.

Why the other options are wrong

A

Disabling diagnostic settings stops the collection of metrics and logs, but it does not suppress alert notifications from existing alert rules that are already configured. Alerts based on those diagnostics would not fire because data stops flowing, but the rules remain active and would resume firing once diagnostics are re-enabled, which is not the same as suppressing notifications during a planned window.

C

Deleting and recreating alert rules every week is inefficient, error-prone, and does not suppress notifications during maintenance; it removes the rules entirely, which is not required.

D

Moving VMs to a different subscription on Sundays is an overly complex and disruptive approach that doesn't suppress alerts; it changes the management boundary and may affect other resources and policies.

153
Multi-Selecteasy

A VM was corrupted and the team wants to recover it from Azure Backup without using the original damaged disks. Which two restore targets are supported? Select two.

Select 2 answers
A.Create a new virtual machine
B.Restore the managed disks
C.Change the subscription automatically
D.Replace the Recovery Services vault name
E.Rebuild the virtual network
AnswersA, B

Restoring to a new virtual machine creates a fresh VM resource from the chosen recovery point, preserving the original VM's disks, network interface, and configuration as of the backup. This is the default restore target and lets you leave the corrupted VM intact for forensic analysis or troubleshooting, while immediately provisioning a clean, bootable instance from the snapshot.

Why this answer

Azure Backup supports restoring a VM to a new virtual machine directly from the recovery point, which creates a new VM with the same configuration and data without using the original damaged disks. This is a common restore workflow when the original VM is corrupted or inaccessible.

Exam trap

The trap here is that candidates often assume 'Replace existing VM' is an option, but Azure Backup does not support in-place restoration of a corrupted VM; you must restore to a new VM or to managed disks, then manually swap disks or reconfigure.

Why the other options are wrong

C

Azure Backup does not support automatically changing the subscription during restore; restore operations are confined to the same subscription as the Recovery Services vault.

D

Azure Backup does not support changing the Recovery Services vault name as a restore target; the vault name is fixed and cannot be replaced during restore operations.

E

Rebuilding the virtual network is not a supported restore target for Azure Backup; backup restores operate on VM or disk level, not on network resources.

154
MCQeasy

A VM named VM01 stopped sending Heartbeat records to Log Analytics 15 minutes ago. Which KQL query should you run to confirm the VM's recent heartbeat entries?

A.Heartbeat | where Computer == "VM01" and TimeGenerated > ago(15m)
B.AzureActivity | where ResourceProviderValue == "Microsoft.Compute/virtualMachines"
C.Heartbeat | summarize count() by Computer
D.Perf | where CounterName == "% Processor Time"
AnswerA

This query correctly queries the Heartbeat table, which is the dedicated Log Analytics table for agent health signals. The Heartbeat table is populated with a record from VM01 every minute by the Log Analytics agent, and the filter `TimeGenerated > ago(15m)` restricts results to records ingested in the last 15 minutes. If no rows are returned, it indicates that the agent on VM01 has stopped sending heartbeats, confirming the reported issue. The `Computer == "VM01"` filter ensures you isolate that specific virtual machine from other agents reporting to the same workspace.

Why this answer

The Heartbeat table in Log Analytics stores records sent by the Azure Monitor Agent (AMA) or Log Analytics agent every 5 minutes by default. Querying Heartbeat with a filter for Computer == 'VM01' and TimeGenerated > ago(15m) directly checks if any heartbeat records were generated in the last 15 minutes, confirming whether the VM is still reporting. This is the correct approach because Heartbeat is the dedicated table for agent health, and the time filter matches the 15-minute window specified in the question.

Exam trap

The trap here is that candidates confuse the Heartbeat table (agent health) with AzureActivity (resource operations) or Perf (performance metrics), assuming any log data can confirm agent connectivity, but only Heartbeat provides the direct, time-stamped signal of agent liveness.

Why the other options are wrong

B

AzureActivity logs Azure Resource Manager operations, not VM heartbeat data. To confirm recent heartbeat entries, you need to query the Heartbeat table with a time filter, not AzureActivity.

C

This query summarizes heartbeat counts per computer but does not filter by VM01 or time range, so it cannot confirm recent heartbeat entries for a specific VM.

D

The Perf table tracks performance counters like CPU usage, not heartbeat records. The question specifically asks for heartbeat entries, so querying '% Processor Time' cannot confirm heartbeat status.

155
MCQeasy

You already created a metric alert rule. You want the alert to send email and call a webhook when it fires. Which component should you link to the alert rule?

A.A diagnostic setting
B.A Log Analytics workspace
C.An action group
D.An Azure Policy initiative
AnswerC

An action group is a resource that defines the notification and automation recipients for an alert—such as email, SMS, phone call, webhook, Azure function, ITSM, and automation runbook. When the metric alert condition is triggered, Azure sends the configured notifications to this group. You attach one or more action groups to the alert rule so that alerts are actually delivered; this is exactly what makes action groups the correct notification target.

Why this answer

An action group is the correct component because it defines the notification and automation actions (such as sending an email or invoking a webhook) that are triggered when a metric alert rule fires. In Azure Monitor, alert rules are linked to action groups to execute these responses; without an action group, the alert can only log the event but cannot perform any external notification or automation.

Exam trap

The trap here is that candidates often confuse diagnostic settings (which export data) with action groups (which define alert responses), leading them to select A instead of C.

Why the other options are wrong

A

A diagnostic setting controls which Azure resource logs and metrics are sent to destinations like Log Analytics or storage, not the notification actions (email/webhook) triggered by an alert rule.

B

A Log Analytics workspace is used for collecting, analyzing, and querying log data, not for configuring notification actions like email or webhook when an alert fires. Alert rules use action groups to define notification actions.

D

An Azure Policy initiative is used to enforce compliance rules across resources, not to define notification actions for alerts. Alert rules require an action group to specify email, SMS, webhook, or other notifications.

156
Multi-Selecteasy

A help desk analyst needs to find Azure VM heartbeat records in Log Analytics and limit results to the last 30 minutes. Which two KQL elements should be used? Select two.

Select 2 answers
A.where
B.ago()
C.summarize
D.join
E.extend
AnswersA, B

The `where` operator in Kusto Query Language (KQL) filters a tabular input based on a boolean predicate, returning only rows for which the expression evaluates to true. In a heartbeat query, this is the primary way to restrict results to a relevant time window or status, such as `where TimeGenerated > ago(30m)` or `where Computer == "webserver1"`. Unlike operators that transform or aggregate data, `where` preserves the original columns and row structure, making it the correct choice when you need to retrieve actual heartbeat record details rather than summaries.

Why this answer

The `where` operator filters the result set based on a specified condition, which is essential for limiting records to those with a timestamp within the last 30 minutes. The `ago()` function returns a datetime value representing the current time minus a given timespan, allowing you to create a dynamic filter like `where TimeGenerated > ago(30m)`. Together, they enable precise time-based filtering in Kusto Query Language (KQL) for Log Analytics.

Exam trap

Microsoft often tests the misconception that `summarize` or `extend` can filter data by time, but only `where` with a time-based condition like `ago()` actually removes rows from the result set.

Why the other options are wrong

C

The question asks for filtering heartbeat records to the last 30 minutes, which requires a time filter (where with ago()) and not aggregation. summarize is used for aggregating data (e.g., count, average), not for filtering time ranges.

D

The 'join' operator is used to combine rows from two tables based on a matching key, not to filter time-based data. It does not limit results to the last 30 minutes.

E

The 'extend' operator creates calculated columns but does not filter data by time. To limit results to the last 30 minutes, you need a time filter using 'where' with 'ago()'.

157
Multi-Selecteasy

A customer wants official information about whether an Azure service issue is affecting their subscription or the wider Azure platform. Which two sources should they check? Select two.

Select 2 answers
A.Azure Advisor
B.Azure Service Health
C.Backup center
D.Azure Status
E.Resource Graph
AnswersB, D

Azure Service Health provides a personalized view of the health of Azure services and regions used by your subscriptions. It surfaces active incidents, upcoming planned maintenance, and health advisories that directly affect your resources, based on your selected subscriptions and regions. This is the official, tenant-aware channel for service-impacting events, making it the correct source for outage information tailored to your environment.

Why this answer

Azure Service Health (B) provides personalized alerts and guidance when Azure service issues affect your subscription, including planned maintenance and health advisories. Azure Status (D) offers a global view of the health of all Azure services across regions, which is the official source for widespread platform issues. Together, they cover both subscription-specific and platform-wide service incidents.

Exam trap

The trap here is that candidates often confuse Azure Service Health (subscription-specific) with Azure Status (global platform health) and may pick Azure Advisor or Backup center because they sound like they could provide health information, but they serve entirely different monitoring and maintenance functions.

Why the other options are wrong

A

Azure Advisor provides personalized recommendations for optimizing Azure resources, not real-time service health or outage information. It does not offer official status updates on service issues affecting subscriptions or the wider platform.

C

Backup center is used to manage and monitor backups, not to check for Azure service issues affecting a subscription or the wider platform.

E

Resource Graph is a query tool for exploring Azure resources, not for monitoring service health or outages. It does not provide official information about Azure service issues affecting a subscription or the platform.

158
MCQhard

Your company wants to query performance and event data from multiple Azure virtual machines by using Kusto Query Language. The operations team also wants to centralize retention and analysis of this data. What should you deploy?

A.A Log Analytics workspace.
B.Azure Advisor.
C.Azure Network Watcher only.
D.A network security group.
AnswerA

A Log Analytics workspace is the correct destination for querying performance and event data because it acts as Azure Monitor's central repository for log data. It ingests activity logs, resource diagnostics, and VM guest metrics, retaining them for customizable retention periods and enabling rich KQL (Kusto Query Language) queries across all collected signals for troubleshooting and analysis.

Why this answer

A Log Analytics workspace is the correct choice because it is the central repository in Azure Monitor for collecting telemetry and log data from Azure virtual machines. It supports Kusto Query Language (KQL) for querying performance and event data, and it provides centralized retention, analysis, and alerting capabilities, meeting both requirements.

Exam trap

The trap here is that candidates often confuse Azure Advisor or Network Watcher as monitoring tools, but neither provides the centralized log storage and KQL querying required for VM performance and event data analysis.

Why the other options are wrong

B

Azure Advisor provides personalized recommendations for best practices in Azure, but it does not collect, store, or allow querying of performance and event data from VMs using KQL.

C

Azure Network Watcher provides network monitoring and diagnostics, but it does not centralize querying of performance and event data from multiple VMs using Kusto Query Language; that requires a Log Analytics workspace.

D

A network security group (NSG) filters network traffic to and from Azure resources; it does not collect, retain, or analyze performance and event data using Kusto Query Language.

159
MCQmedium

A virtual machine is already protected by Azure Backup. The business wants the VM backed up every day at 11:00 PM and wants daily recovery points retained for 30 days, without re-onboarding the VM. What should the administrator modify?

A.Create a new Recovery Services vault and re-register the VM
B.Modify the backup policy associated with the protected VM
C.Install a new VM extension to change retention behavior
D.Take a manual snapshot of the VM disk every night
AnswerB

Backup schedule and retention are controlled by the backup policy in the Recovery Services vault. Updating that policy changes how future recovery points are created and retained for the protected VM. This is the correct operational object to edit because the VM is already onboarded and the requirement is to adjust policy settings, not the vault itself.

Why this answer

Azure Backup uses backup policies to define the backup schedule and retention rules for protected resources. By modifying the existing policy associated with the VM, you can change the backup time to 11:00 PM and set daily recovery point retention to 30 days without needing to re-onboard the VM or create a new vault.

Exam trap

The trap here is that candidates may think changing the backup schedule or retention requires re-onboarding the VM or creating a new vault, but Azure Backup allows in-place policy modification for already protected resources.

Why the other options are wrong

A

Creating a new Recovery Services vault and re-registering the VM is unnecessary because the existing vault and backup policy can be modified to meet the new schedule and retention requirements without re-onboarding.

C

Installing a new VM extension does not change backup retention or schedule; Azure Backup policies control retention and frequency, not VM extensions.

D

Taking a manual snapshot does not integrate with Azure Backup's retention policy or schedule; it requires manual effort and does not satisfy the requirement for automated daily backups with 30-day retention.

160
MCQhard

An administrator enabled diagnostic settings on an Azure Storage account using the resource-specific schema. A coworker then ran a query against AzureDiagnostics and got no rows, even though failed blob writes occurred during the last hour. What is the best fix?

A.Switch the diagnostic setting back to the legacy AzureDiagnostics schema so all logs land there.
B.Query the storage account's dedicated resource-specific log table and filter for failed write operations.
C.Use the Azure Activity log because blob write failures are always control-plane events.
D.Create a metric alert on storage capacity because that metric includes failed requests.
AnswerB

When resource-specific diagnostic mode is enabled, logs no longer land in AzureDiagnostics for that resource. The correct action is to query the dedicated storage log table produced by the diagnostic setting, then filter for the failed write status and time window. This aligns the query with the actual schema that is collecting the data.

Why this answer

When a diagnostic setting is configured with the resource-specific schema, Azure routes logs to dedicated tables (e.g., StorageBlobLogs) rather than the legacy AzureDiagnostics table. Querying AzureDiagnostics returns no rows because the logs are not stored there. The correct fix is to query the appropriate resource-specific log table (e.g., StorageBlobLogs) and filter for failed write operations, as this table contains the detailed, schema-specific data for the storage account's blob operations.

Exam trap

The trap here is that candidates assume all diagnostic logs land in the AzureDiagnostics table by default, overlooking that the resource-specific schema redirects logs to dedicated tables, leading them to incorrectly choose Option A or fail to query the correct table.

Why the other options are wrong

A

When resource-specific schema is enabled, logs are sent to dedicated tables (e.g., StorageBlobLogs), not to AzureDiagnostics. Querying AzureDiagnostics returns no rows because logs are no longer stored there.

C

Blob write failures are data-plane events, not control-plane events. The Azure Activity log only captures control-plane operations (e.g., creating a storage account), not data-plane operations like blob writes.

D

Metric alerts on storage capacity do not include failed requests; they monitor capacity metrics like used storage. Failed blob writes are data-plane operations logged in diagnostic logs, not captured by capacity metrics.

161
MCQeasy

Based on the exhibit, what should the administrator configure so storage logs can be queried later with KQL?

A.Create a backup policy for the storage account so the logs are retained automatically.
B.Enable a resource lock on the storage account so no logs are lost.
C.Turn on blob versioning so every change to the storage account is searchable.
D.Configure diagnostic settings to send logs to a Log Analytics workspace.
AnswerD

Diagnostic settings on a storage account export platform logs (such as StorageRead, StorageWrite, and StorageDelete) and metrics to a selected destination, including a Log Analytics workspace, where they become available for KQL queries. This is the only option that actually streamlines operational data into an analytical store, enabling you to filter, aggregate, and investigate activity directly. Because Azure Monitor diagnostic settings can be configured per resource and per log category, they provide the precise mechanism to make storage account events searchable and actionable.

Why this answer

Diagnostic settings in Azure allow you to stream platform logs, including storage logs, to a Log Analytics workspace. Once the logs are in Log Analytics, you can query them using Kusto Query Language (KQL) to analyze storage operations, errors, and metrics. This is the only option that directly enables querying storage logs with KQL.

Exam trap

The trap here is that candidates confuse data protection features (backup, locks, versioning) with logging and monitoring capabilities, failing to recognize that only diagnostic settings can route logs to a Log Analytics workspace for KQL queries.

Why the other options are wrong

A

Creating a backup policy for the storage account retains copies of data but does not capture or forward operational logs to a queryable destination like Log Analytics. KQL queries require logs in a Log Analytics workspace, not backup vaults.

B

A resource lock prevents accidental deletion or modification of the storage account, but it does not enable log collection or querying with KQL. Logs must be sent to a Log Analytics workspace to be queried with KQL.

C

Blob versioning preserves previous versions of blobs, but it does not capture or store diagnostic logs (e.g., read/write operations) in a format queryable by KQL. Diagnostic settings must send logs to a Log Analytics workspace for KQL queries.

162
MCQeasy

Based on the exhibit, which KQL clause should replace the blank to show only heartbeat records from the last 30 minutes?

A.project Computer, TimeGenerated
B.where TimeGenerated >= ago(30m)
C.extend TimeWindow = 30m
D.sort by TimeGenerated desc
AnswerB

The where clause filters rows before summarizing, and ago(30m) is the KQL function that represents the last 30 minutes from the current time. This is the correct way to restrict the Heartbeat table to recent records before calculating the most recent check-in for each computer. It is a standard operational troubleshooting pattern in Log Analytics.

Why this answer

The KQL clause `where TimeGenerated >= ago(30m)` filters the results to include only records where the `TimeGenerated` timestamp is within the last 30 minutes. The `ago()` function calculates a datetime value relative to the current time, and the `>=` operator ensures only records from that point forward are returned. This directly satisfies the requirement to show heartbeat records from the last 30 minutes.

Exam trap

The trap here is that candidates often confuse filtering (`where`) with projection (`project`), sorting (`sort`), or extending (`extend`), and may choose a clause that manipulates the output format or order instead of actually restricting the rows based on a time condition.

Why the other options are wrong

A

The 'project' operator only selects columns to display, it does not filter records by time. The question requires filtering heartbeat records to those from the last 30 minutes, which requires a 'where' clause with a time condition.

C

The `extend` operator adds a calculated column but does not filter records; it would not limit results to the last 30 minutes.

D

The `sort by` clause only orders results but does not filter them; it cannot limit records to the last 30 minutes.

163
MCQhard

A virtual machine is already protected by Azure Backup. The current policy runs daily at 23:00 and keeps daily recovery points for 30 days. The business now wants the same schedule but wants new daily recovery points retained for 90 days. No new vault or re-registration should occur. What should the administrator do?

A.Create a new Recovery Services vault and enable backup again with the longer retention period.
B.Edit the existing backup policy and change the daily retention for future recovery points.
C.Take nightly managed disk snapshots because snapshots automatically inherit the Recovery Services vault retention period.
D.Change the vault redundancy setting to increase the number of retained recovery points.
AnswerB

Backup retention is controlled by the backup policy attached to the protected VM. Updating the policy to retain daily recovery points for 90 days changes how future backups are kept without re-registering the workload or creating a new vault. Existing recovery points keep their original retention behavior, while newly created recovery points follow the updated rule. This is the normal, low-impact administrative change.

Why this answer

Azure Backup allows you to modify an existing backup policy to change the retention duration for future recovery points without creating a new vault or re-registering the VM. By editing the policy and setting the daily retention to 90 days, all new daily recovery points will be retained for the longer period, while existing recovery points remain unaffected by the change.

Exam trap

The trap here is that candidates may confuse vault redundancy settings with retention duration, or assume that a new vault is required to change retention, when in fact Azure Backup policies can be edited in place to adjust retention for future recovery points.

Why the other options are wrong

A

The question explicitly states 'No new vault or re-registration should occur', so creating a new Recovery Services vault violates that constraint. The existing vault and policy can be modified to extend retention without a new vault.

C

Managed disk snapshots do not automatically inherit Recovery Services vault retention policies; they have their own independent lifecycle and are not integrated with Azure Backup policies.

D

Changing the vault redundancy setting (e.g., from LRS to GRS) affects data replication, not the retention period of recovery points. Retention is controlled by the backup policy, not redundancy.

164
MCQmedium

A Virtual Machine Scale Set must add instances automatically when average CPU usage is above 75 percent and remove instances when CPU drops below 30 percent. Which feature should you configure?

A.Autoscale rules in Azure Monitor
B.A Recovery Services vault policy
C.Boot diagnostics
D.Azure Advisor only
AnswerA

Autoscale rules in Azure Monitor are the native mechanism for automatically adding or removing VM Scale Set instances based on metric thresholds such as CPU percentage, memory pressure, or a custom application metric. A rule defines a metric source, an operator (e.g., greater than), a threshold, and a duration, and when the condition holds, the scale action increments the instance count by a specified value. These rules can also include a cool-down period to prevent flapping, and schedule-based profiles allow time-window scaling. Because the autoscale engine is part of Azure Monitor, it is the correct component to implement metric-driven auto-instance provisioning for a scale set.

Why this answer

Autoscale rules in Azure Monitor allow you to define conditions for automatically scaling a Virtual Machine Scale Set (VMSS) based on metrics like average CPU usage. You can set a scale-out rule to add instances when CPU exceeds 75% and a scale-in rule to remove instances when CPU drops below 30%, with a cool-down period to prevent flapping. This is the native Azure feature designed for such metric-based auto-scaling scenarios.

Exam trap

The trap here is that candidates may confuse Azure Advisor (which gives recommendations) with the actual implementation of autoscale rules, or mistakenly think Recovery Services vault policies or boot diagnostics are involved in scaling decisions.

Why the other options are wrong

B

A Recovery Services vault policy is used for backup and disaster recovery of Azure VMs, not for scaling VM instances based on CPU metrics.

C

Boot diagnostics captures serial console output and screenshots for troubleshooting VM boot failures, but it does not provide autoscaling capabilities based on CPU metrics.

D

Azure Advisor provides recommendations for best practices but does not implement autoscaling rules. Autoscaling requires configuring Autoscale rules in Azure Monitor, not just Advisor.

165
MCQeasy

Based on the exhibit, what should the administrator check first to resolve the backup failure for the Azure VM?

A.Increase the backup retention period in the vault policy.
B.Verify that the Azure VM Agent is installed and running on the VM.
C.Move the VM to a different availability zone.
D.Change the storage account redundancy to ZRS.
AnswerB

Azure VM backups depend on a healthy VM agent so Azure can coordinate snapshot and extension operations. If the job reports that the agent is not in a ready state, the first troubleshooting step is to confirm the agent is installed, running, and up to date. Custom images sometimes miss the agent or contain a broken installation, which causes backup jobs to fail immediately.

Why this answer

The Azure VM backup failure is most commonly caused by the Azure VM Agent (also known as the Windows Guest Agent or Linux Agent) not being installed, outdated, or in a non-responsive state. The backup extension relies on the VM Agent to execute snapshots and coordinate with the Azure Backup service; without a healthy agent, the backup process cannot initiate. Therefore, verifying the agent's installation and status is the first troubleshooting step.

Exam trap

The trap here is that candidates often jump to storage or networking changes (like redundancy or availability zones) when the real issue is a missing or broken VM Agent, which is a prerequisite for any guest-level operation including backup extensions.

Why the other options are wrong

A

The backup failure is due to the VM Agent not being installed or running, which is required for Azure Backup to take snapshots. Increasing the retention period does not address the root cause of the failure.

C

Moving the VM to a different availability zone does not resolve backup failures caused by the Azure VM Agent not being installed or running. Backup failures are typically related to agent issues, not zone placement.

D

Changing storage account redundancy to ZRS does not resolve backup failures caused by the Azure VM Agent not being installed or running. Backup failures typically relate to agent issues, not storage redundancy.

166
MCQmedium

Based on the exhibit, a VM is protected by Azure Backup. The business wants daily backups at 11:00 PM, retention of daily recovery points for 30 days, and no changes to the existing vault or VM. The current policy already backs up every day but keeps recovery points for only 7 days. What should the administrator modify?

A.Create a new VM and attach the existing backup vault to it.
B.Edit the backup policy and change daily retention to 30 days.
C.Enable soft delete on the vault.
D.Move the VM to another availability zone.
AnswerB

Editing the backup policy is the correct fix because Azure Backup applies retention settings at the policy level, not the vault or VM level. The existing schedule already creates daily recovery points, so the only missing requirement is keeping those daily points for 30 days. By modifying the daily retention duration in the policy to 30 days, you directly satisfy the stated retention goal without affecting other protected items or requiring any reconfiguration of the VM.

Why this answer

The existing backup policy already performs daily backups at 11:00 PM, but its retention setting for daily recovery points is only 7 days. By editing the policy and changing the daily retention to 30 days, the administrator meets the business requirement without creating a new VM, altering the vault, or modifying the VM itself. Azure Backup policies allow modification of retention durations independently of backup frequency, so this is a straightforward configuration change.

Exam trap

The trap here is that candidates may think they need to create a new policy or modify the VM (e.g., move it to another zone) to change retention, when in fact Azure Backup allows direct editing of the existing policy's retention duration without any other infrastructure changes.

Why the other options are wrong

A

Creating a new VM does not address the requirement to change retention for the existing VM's backups. The existing VM already has a backup policy that needs modification, not a new VM.

C

Enabling soft delete on the vault does not change the retention period of recovery points; it only protects against accidental deletion of backup data. The requirement is to extend daily retention to 30 days, which is a policy setting, not a soft delete feature.

D

Moving the VM to another availability zone does not change the backup retention period. The requirement is to extend daily recovery point retention from 7 to 30 days, which is a policy setting, not a zone change.

167
MCQeasy

In Log Analytics, you need to find AzureActivity records for VM stop or deallocate operations from the last 24 hours. Which query should you use?

A.AzureActivity | where TimeGenerated > ago(24h) | where OperationNameValue has_any ("Microsoft.Compute/virtualMachines/deallocate/action", "Microsoft.Compute/virtualMachines/powerOff/action")
B.AzureActivity | summarize count() by OperationNameValue
C.AzureActivity | where ResourceType == "Microsoft.Compute/virtualMachines" | project TimeGenerated, ResourceGroup
D.AzureActivity | sort by TimeGenerated asc
AnswerA

This is correct because it first uses TimeGenerated > ago(24h) to restrict the result set to activity from the last day, then applies has_any on OperationNameValue to match exactly the two control-plane operations that indicate a VM stop: deallocate/action and powerOff/action. The has_any operator performs a case-insensitive substring match across a set of literals, so it reliably captures these specific operation names for the AzureActivity table.

Why this answer

It uses the `has_any` operator to filter AzureActivity records for the exact operation names corresponding to VM stop (powerOff) and deallocate actions, and it restricts the time range to the last 24 hours using `ago(24h)`. This directly matches the requirement to find VM stop or deallocate operations within the specified timeframe.

Exam trap

The trap here is that candidates may confuse the `has_any` operator with `contains` or `in`, or forget to include the time filter, leading them to select options that either don't filter by operation type or don't restrict the time window.

Why the other options are wrong

B

This query summarizes the count of all operations but does not filter for VM stop/deallocate operations or the last 24 hours, so it fails to meet the question's requirements.

C

This query filters by ResourceType but does not filter by time (last 24 hours) or by specific operations (stop/deallocate), so it returns all VM records regardless of time or operation, not meeting the requirement.

D

This query only sorts records by TimeGenerated in ascending order without filtering for the last 24 hours or specific VM stop/deallocate operations, so it returns all AzureActivity records sorted by time, not the required subset.

168
MCQeasy

A team wants an email and SMS notification whenever the average CPU on a production VM stays above 85% for 10 minutes. The same notification setup may be reused by other alerts later. Which Azure feature should you configure?

A.Metric alert rule
B.Action group
C.Diagnostic setting
D.Resource lock
AnswerB

An action group is the correct choice because it is the Azure Monitor component specifically designed to hold notification recipients. It defines email addresses, SMS phone numbers, webhooks, and other actions that can be attached to any number of alert rules, allowing reuse across multiple monitoring scenarios. When a metric alert triggers, it invokes the linked action group, which delivers the email and SMS messages.

Why this answer

B is correct because an Action Group is the Azure component that defines the notification actions (email, SMS, webhook, etc.) to be triggered when an alert fires. The question specifies that the same notification setup should be reusable by other alerts later, which is exactly the purpose of an Action Group: it decouples the notification configuration from the alert rule itself. You would create a Metric Alert Rule to monitor the CPU metric, but that rule references an Action Group to send the email and SMS.

Exam trap

The trap here is that candidates confuse the alert rule (which detects the condition) with the action group (which handles the notification), often selecting Metric Alert Rule thinking it directly sends emails/SMS, when in fact it only triggers the action group.

Why the other options are wrong

A

A metric alert rule defines the condition (CPU > 85% for 10 minutes) but does not include notification actions like email/SMS; it requires an action group to send notifications.

C

Diagnostic settings collect and route metrics/logs to destinations like Log Analytics or storage, but they do not directly trigger email/SMS notifications. The alert rule and action group handle notifications.

D

Resource locks prevent accidental deletion or modification of Azure resources, but they do not provide any notification or alerting capabilities. The question requires email/SMS notifications based on a metric threshold, which is not a function of resource locks.

169
MCQhard

A platform team wants to investigate incidents involving Azure VM performance, storage failures, and subscription-level changes in one place. They want to minimize Log Analytics ingestion cost. Which telemetry approach should they use?

A.Enable full guest-level logging on every VM, send all storage logs to the workspace, and add all activity logs from every subscription
B.Use metric alerts only and avoid Log Analytics because metrics are always cheaper than logs
C.Send only the required platform diagnostic logs and Activity logs to one Log Analytics workspace, and use metric alerts for threshold-based signals
D.Export all telemetry to a storage account and query it manually when an incident occurs
AnswerC

This approach captures the specific platform diagnostic logs and Activity Log entries that contain the resource-level and control-plane operations needed for incident investigation, while avoiding the cost of ingesting unrelated telemetry. Centralizing these logs in a single Log Analytics workspace enables cross-resource correlation using KQL, and metric alerts provide a lightweight, threshold-based monitoring layer that requires no log storage, striking the right balance between investigative depth and operational cost.

Why this answer

It balances the need for centralized incident investigation with cost control. By sending only required platform diagnostic logs (e.g., from Azure Storage and VM metrics) and Activity logs to a single Log Analytics workspace, the team avoids unnecessary ingestion of verbose guest-level logs. Metric alerts provide threshold-based signals without log ingestion costs, enabling efficient monitoring of performance and failures.

Exam trap

The trap here is that candidates may think full logging (Option A) is necessary for comprehensive investigation, overlooking the cost implications of ingesting verbose guest-level logs, or assume metrics alone (Option B) can replace logs for incident root cause analysis.

Why the other options are wrong

A

Enabling full guest-level logging on every VM and sending all storage logs and all activity logs from every subscription generates excessive data, significantly increasing Log Analytics ingestion costs, which contradicts the goal of minimizing cost.

B

Metric alerts alone cannot provide the detailed logs needed to investigate VM performance, storage failures, and subscription-level changes; they only trigger on thresholds and lack the diagnostic data required for root cause analysis.

D

Exporting all telemetry to a storage account and querying it manually is inefficient for real-time incident investigation, incurs high storage costs, and lacks the centralized querying and alerting capabilities of Log Analytics, contradicting the requirement to minimize cost and investigate in one place.

170
MCQeasy

Based on the exhibit, where should the administrator go next to review the failed backup job details?

A.Backup policy, because it shows the retention and schedule configuration.
B.Backup items, because it lists protected resources and recovery points.
C.Jobs, because it contains the backup job status and error details.
D.Properties, because it contains the general vault settings.
AnswerC

The Jobs blade in a Recovery Services vault is the operational log for Azure Backup. It lists every backup, restore, and protection-change operation with a status such as Completed, Failed, or In Progress, and for failed jobs it surfaces the specific error code and a detailed message. Selecting the failed job from the exhibit opens its full error context, including the impacted data source and timestamps, which is exactly what you need to diagnose the failure.

Why this answer

The Jobs blade in Azure Backup is the central location for reviewing the status, progress, and detailed error messages of all backup jobs, including failed ones. It provides a filtered view of backup, restore, and other operations, allowing the administrator to drill into specific job failures to see error codes and recommended actions.

Exam trap

The trap here is that candidates confuse the location of configuration data (policies, properties) with operational data (job status), leading them to select Backup policy or Properties instead of Jobs.

Why the other options are wrong

A

The question asks where to review failed backup job details, not configuration. Backup policy shows retention and schedule, not job execution status or errors.

B

The question asks where to review failed backup job details, which are found under 'Jobs', not 'Backup items'. 'Backup items' lists protected resources and recovery points but does not show job status or error details.

D

The Properties blade shows general vault settings (e.g., name, subscription, encryption), not backup job details or error logs. To review failed backup job details, the administrator must navigate to the Jobs blade, which lists job status and error messages.

171
Multi-Selecthard

A Windows VM fails shortly after startup when a custom extension runs, and the administrator cannot use RDP to inspect the machine. The goal is to see what happened during boot and confirm whether the failure occurred before the guest OS finished loading. Which two features should be used first? Select two.

Select 2 answers
A.Boot diagnostics
B.Azure Serial Console
C.Availability set
D.Managed disk snapshots
E.Azure Monitor autoscale
AnswersA, B

Boot diagnostics captures the VM's serial console output and screenshots during the boot process, storing them in an Azure storage account for later review. For a VM that fails shortly after startup when a custom extension runs, these artifacts can reveal kernel panics, missing drivers, or a stuck boot sequence that prevents the extension from executing. By viewing the serial log, you can pinpoint the exact stage of boot failure, making it the first-line diagnostic tool for such scenarios.

Why this answer

Boot diagnostics captures serial console output and screenshots of the VM during the boot process, allowing you to see if the OS failed to load before the guest OS finished. Azure Serial Console provides text-based, keyboard-focused access to the VM even when RDP is unavailable, enabling you to inspect boot logs and interact with the OS during startup. Together, they let you determine whether the custom extension failure occurred before or after the OS fully loaded.

Exam trap

The trap here is that candidates often choose managed disk snapshots or availability sets, thinking they can restore or inspect the VM state, but these do not provide the real-time, pre-OS boot logs needed to diagnose a startup failure before the guest OS finishes loading.

Why the other options are wrong

C

An availability set provides high availability for VMs by distributing them across fault domains, but it does not help diagnose boot failures or inspect boot logs. The question requires features to see what happened during boot, which availability set cannot provide.

D

Managed disk snapshots are used for backup or creating new disks, not for real-time boot troubleshooting. They cannot show boot logs or allow interactive access to diagnose a VM that fails before the OS loads.

E

Azure Monitor autoscale is used to automatically scale resources (like VMSS) based on demand, not to diagnose boot failures or inspect OS-level issues. It cannot help see what happened during boot or confirm failure timing.

172
Multi-Selecteasy

An administrator enabled Azure VM backup yesterday and now wants to confirm whether the most recent backup job succeeded. Which two places can they check? Select two.

Select 2 answers
A.Activity log
B.Azure Advisor
C.Recovery Services vault backup jobs
D.Backup center
E.Resource Graph
AnswersC, D

The Recovery Services vault's 'Backup Jobs' blade displays the complete history of backup and restore operations for Azure VMs protected by that vault, including their status (completed, failed, in progress) and detailed error messages if a job failed. When an administrator needs a definitive, per-vault list of job success or failure for a specific backup policy, this is the canonical location to check. It also allows filtering by time range, operation type, and status to isolate yesterday's job.

Why this answer

The Recovery Services vault backup jobs (Option C) is correct because it provides a dedicated view of all backup jobs associated with the vault, including status, start time, and duration. Backup Center (Option D) is correct because it offers a centralized, cross-vault, cross-region dashboard to monitor backup jobs and alerts, making it ideal for confirming the success of the most recent backup.

Exam trap

The trap here is that candidates often confuse the Activity log (which shows who enabled backup) with the actual backup job status, or they mistakenly think Azure Advisor provides operational monitoring, when in fact it only offers proactive recommendations.

Why the other options are wrong

A

The Activity log records administrative operations like starting/stopping backup jobs, but does not show the success/failure status of individual backup jobs. It lacks the granularity to confirm a specific backup job's outcome.

B

Azure Advisor provides recommendations for optimizing Azure resources, not real-time backup job status. It does not show the success or failure of individual backup jobs.

E

Resource Graph is a query service for exploring Azure resources, not for monitoring backup job status. It does not provide direct access to backup job success/failure details.

173
Multi-Selecthard

A VM suddenly stops responding, and the operations team needs to determine whether the issue is caused by a Microsoft platform problem or is isolated to that specific VM. Which two Azure portal features should be reviewed? Select two.

Select 2 answers
A.Service Health
B.Resource Health
C.Azure Advisor
D.Diagnostic setting
E.Action group
AnswersA, B

Service Health is the correct first stop because it monitors the status of all Azure services across regions and subscriptions in one dashboard. When a VM stops responding, checking Service Health immediately reveals whether an active incident, advisory, or planned maintenance is affecting the VM's region, which separates a large-scale platform outage from a localized VM problem.

Why this answer

Service Health (A) provides a global view of Azure platform-wide issues, such as regional outages or service degradation, that could affect multiple resources. Resource Health (B) reports the health of a specific VM instance, indicating whether the VM is available, degraded, or unavailable, and whether the issue is due to a platform event or a user-initiated action. Together, these two features allow the operations team to differentiate between a Microsoft platform problem and an isolated VM issue.

Exam trap

The trap here is that candidates often confuse 'Service Health' with 'Resource Health' or think Azure Advisor can diagnose real-time outages, but the exam expects you to know that Service Health covers platform-wide issues while Resource Health is per-resource, and neither Diagnostic settings nor Action groups provide health status.

Why the other options are wrong

C

Azure Advisor provides recommendations for best practices in cost, security, reliability, and performance, but it does not offer real-time health status or incident information for a specific VM or platform issues.

D

Diagnostic settings are used to configure streaming of platform logs and metrics to destinations like Storage, Event Hubs, or Log Analytics; they do not provide real-time health status of a VM or platform services, so they cannot determine if the issue is platform-wide or VM-specific.

E

Action groups are used to define notification and remediation actions for alerts, not to diagnose whether a VM issue is caused by a platform problem or isolated to the VM.

174
MCQmedium

Based on the exhibit, a security team wants to search Key Vault audit events in Log Analytics for 30 days and create alerts when secrets are accessed unexpectedly. The current diagnostic configuration is not sending the right data. What should the administrator enable?

A.Enable AuditEvent and send the logs to a Log Analytics workspace.
B.Enable only AllMetrics and keep sending data to the storage account.
C.Create a private endpoint for the Key Vault.
D.Turn on a resource lock with the ReadOnly effect.
AnswerA

To make Key Vault activity searchable, you must enable the AuditEvent diagnostic category and route it to a Log Analytics workspace. That workspace stores the event data in a structured format that supports KQL queries, time-range filtering, and Azure Monitor log alerts, which are all required for the security team's investigation. Sending audit events to a storage account would only archive them, making real-time search and alerting impractical.

Why this answer

The Key Vault diagnostic setting must include the AuditEvent category to capture all audit logs, including secret operations. Sending these logs to a Log Analytics workspace enables the security team to query them for 30 days and create alerts on unexpected secret access. Without AuditEvent enabled, no audit data is available for analysis.

Exam trap

The trap here is that candidates often confuse AllMetrics (which provides performance data) with AuditEvent (which provides security logs), or mistakenly think that network controls like private endpoints or resource locks can substitute for proper diagnostic logging configuration.

Why the other options are wrong

B

AllMetrics captures performance metrics, not audit events. The question requires searching audit events for secret access, which only AuditEvent provides. Sending to a storage account also prevents real-time alerting in Log Analytics.

C

Creating a private endpoint for Key Vault restricts network access but does not enable audit logging or send audit events to Log Analytics, which is required to search logs and create alerts.

← PreviousPage 3 of 3 · 174 questions total

Ready to test yourself?

Try a timed practice session using only AZ Monitoring questions.