Installing the Azure Connected Machine agent to onboard an AWS-hosted server to Defender for Cloud
You have an Azure subscription that has Microsoft Defender for Cloud enabled. You have a virtual machine named Server1 that runs Windows Server 2022 and is hosted in Amazon Web Services (AWS). You need to collect logs and resolve vulnerabilities for Server1 by using Defender for Cloud. What should you install first on Server1?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Non-Azure machines (AWS, on-premises) must run the Azure Connected Machine agent (Arc agent) to be projected into Azure and managed by Defender for Cloud, including log collection and vulnerability assessment.
To collect logs and assess vulnerabilities for a Windows Server hosted in AWS using Defender for Cloud, you first install the Azure Connected Machine agent (Azure Arc agent), which connects the non-Azure machine to Azure so it can be onboarded.
Installing the Azure Monitor agent alone — AMA collects guest data but does not onboard a non-Azure machine to Azure; the Connected Machine (Arc) agent is the prerequisite connectivity layer.
Community Discussion (7 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Server1 runs in AWS, not Azure. To bring it under Microsoft Defender for Cloud for log collection and vulnerability assessment, you must first install the Azure Connected Machine agent (also called the Azure Arc agent), which connects the non-Azure machine to Azure and makes it manageable as an Arc-enabled server.Why the Other Options Are Wrong
The Azure Monitor agent (B) collects monitoring data but requires the machine to already be connected to Azure via Arc. The legacy Microsoft Monitoring Agent (A) is deprecated and also assumes Azure connectivity. The Azure Pipelines agent (D) is for DevOps build/release, unrelated to Defender for Cloud onboarding.Community Comment Notes
The community is unanimous (C 100). Polomint (8 likes), ServerBrain, and g_man_rap all confirm the Azure Connected Machine (Arc) agent is for non-Azure systems such as AWS, and that AMA alone does not onboard the machine.Official Reference
Related Analysis
Practice All SC-200 Questions
Access 80 questions with complete answers and detailed explanations.
View Full SC-200 Practice Test →