Your company uses Microsoft Defender for Cloud to protect Azure resources. You notice that some Azure VMs are not showing any security recommendations. You verify that the VMs are running and have network connectivity. What is the most likely cause?
Defender for Cloud relies on the Log Analytics agent (Microsoft Monitoring Agent) on each VM to collect telemetry such as installed patches, endpoint protection status, and audit logs; without it, the VM cannot be assessed and often appears as 'Not monitored' or missing data. The agent sends data to a Log Analytics workspace where the security engine evaluates the configuration and generates recommendations. Therefore, the absence of the agent directly explains why Defender for Cloud shows no or incomplete recommendations for these VMs.
Why this answer
Microsoft Defender for Cloud relies on the Log Analytics agent (or Azure Monitor Agent) to collect security-relevant data from Azure VMs, such as configuration settings, event logs, and vulnerability signals. Without this agent installed, Defender for Cloud cannot assess the VM's security posture, and therefore no security recommendations will be generated for that VM, even if the VM is running and has network connectivity.
Exam trap
The trap here is that candidates often assume network connectivity or VM running status is sufficient for Defender for Cloud to generate recommendations, but they overlook the critical dependency on the Log Analytics agent for data collection and policy evaluation.
How to eliminate wrong answers
Option B is wrong because Azure RBAC roles control who can manage resources, not whether Defender for Cloud can collect data from a VM; the agent installation is what enables data collection. Option C is wrong because resource locks prevent accidental deletion or modification of resources but do not block Defender for Cloud's policy evaluation or data collection from the VM. Option D is wrong because the Free tier of Defender for Cloud still provides security recommendations for Azure VMs; the absence of recommendations is not caused by the pricing tier but by missing data collection via the agent.