How Should You Track Windows Registry and DNS Changes on Azure VMs?
Short answer
Use Azure Automation Change Tracking and Inventory for Windows registry changes, and Azure Monitor Change Analysis for DNS settings changes on the virtual machines.
Question
You have an Azure subscription. The subscription contains 100 virtual machine that run Windows Server.
You need to recommend a solution that will provide monitoring and an audit trail of the following modifications:
• Changes to the Windows registry on the virtual machines
• Changes to the DNS settings of the virtual machines
The solution must minimize administrative effort
What should you recommend using for each change? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Key Takeaways
The question tests whether you can separate in-guest OS change tracking for registry keys from Azure resource configuration change analysis for DNS settings; the trap is assuming one service covers both layers.
For 100 Windows Server Azure VMs, Windows registry modifications should use Azure Automation Change Tracking and Inventory, while DNS setting changes are captured by Azure Monitor Change Analysis. This page maps each monitoring and audit requirement to the service that meets it with the least administrative effort.
Common mistake: A common mistake is choosing Azure Monitor Change Analysis for registry edits or Change Tracking and Inventory for DNS settings, conflating guest-OS monitoring with Azure resource property change history.
Expert Analysis
Why the Answer Is Correct
Azure Automation Change Tracking and Inventory is the service designed to monitor changes inside the Windows guest operating system, including registry keys, files, software, and services. For the registry requirement, it provides the audit trail without building custom scripting or per-VM manual processes. DNS settings on Azure virtual machines are exposed as Azure resource configuration properties, so Azure Monitor Change Analysis is the appropriate fit because it records changes made to Azure resources and their configuration. Using Change Tracking and Inventory for registry and Change Analysis for DNS keeps administrative effort low and aligns each tool with the layer it actually monitors.
Why Other Candidate Answers Are Wrong
Azure Monitor VM Insights is primarily a performance and dependency monitoring feature, not a configuration-change audit trail for registry keys or DNS settings. Azure Policy can audit and enforce Azure resource properties, but it does not inspect Windows registry changes inside the guest OS. Using Log Analytics or Azure Monitor Agent alone would require custom data collection and query logic, increasing administrative effort and failing the audit-trail requirement. Change Analysis cannot see registry edits inside the VM, just as Change Tracking and Inventory is not the primary tool for Azure resource property changes such as DNS configuration.
Community Comment Notes
AllanHouston's comment aligns closely with this split, noting that Change Tracking "monitors changes inside the Windows guest operating system, including registry keys" and pairing that with Azure Monitor Change Analysis for DNS setting changes. The comment's quoted Microsoft Learn reference reinforces that registry monitoring is an in-guest capability, which is the key distinction the exam is testing. No community commentary in the provided record argues for a single service covering both requirements.
Official Reference
- https://learn.microsoft.com/en-us/azure/azure-change-tracking-inventory/overview-monitoring-agent
- https://learn.microsoft.com/en-us/azure/azure-monitor/change/change-analysis
These links open the official vendor documentation in a new tab.
Exam Strategy
When an AZ-305 hotspot question asks about changes inside a VM versus changes to an Azure resource, classify the target first: guest OS registry/file/service changes point to Change Tracking and Inventory, while Azure resource configuration changes such as DNS settings point to Change Analysis.
Frequently Asked Questions
Can Azure Monitor Change Analysis audit registry edits inside a Windows Azure VM?
Why not use VM Insights to monitor DNS setting changes on the 100 VMs?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
AllanHouston 👍 1Windows registry changes: Azure Automation Change Tracking. It monitors changes inside the Windows guest operating system, including registry keys, files, software, and Windows services. https://learn.microsoft.com/en-us/azure/azure-change-tracking-inventory/overview-monitoring-agent DNS settings changes: Azure Monitor Change Analysis. It tracks changes made to Azure resources through the Azure Resource Manager control plane. The VM/network-interface DNS configuration is an Azure resource configuration change, rather than a Windows registry item that should be individually configured across all 100 VMs. It also requires less administration because Change Analysis collects Azure resource changes without per-VM onboarding. https://learn.microsoft.com/en-us/azure/governance/resource-graph/changes/view-resource-changes
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →