How Should You Track Windows Registry and DNS Changes on Azure VMs?
HOTSPOT
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.

Community Insight
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.
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.
Community Discussion (1 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
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
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?
No. It tracks Azure resource configuration changes; registry edits inside the guest OS are captured by Azure Automation Change Tracking and Inventory.
Why not use VM Insights to monitor DNS setting changes on the 100 VMs?
VM Insights focuses on performance and dependency data, not a configuration change audit trail; DNS setting changes require Azure Monitor Change Analysis.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →