Microsoft Azure Administrator — Question 146
You have an Azure subscription. The subscription contains 10 virtual machines that run Windows Server. Each virtual machine hosts a website in IIS and has the Azure Monitor Agent installed.
You need to collect the IIS logs from each virtual machine and store them in a Log Analytics workspace.
What should you configure first?
Answer options
- A. a data collection endpoint
- B. an Azure Monitor Private Link Scope (AMPLS)
- C. Diagnostic settings
- D. VM insights
- E. a private endpoint
Correct answer: A
Explanation
The correct answer is A, as setting up a data collection endpoint is essential for managing data flow from multiple sources to a Log Analytics workspace. The other options, while relevant to monitoring and managing resources, do not directly address the requirement of collecting and routing IIS logs efficiently.