exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 4 question 15 discussion

Actual exam question from Microsoft's AZ-500
Question #: 15
Topic #: 4
[All AZ-500 Questions]

HOTSPOT -
You plan to use Azure Log Analytics to collect logs from 200 servers that run Windows Server 2016.
You need to automate the deployment of the Microsoft Monitoring Agent to all the servers by using an Azure Resource Manager template.
How should you complete the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://blogs.technet.microsoft.com/manageabilityguys/2015/11/19/enabling-the-microsoft-monitoring-agent-in-windows-json-templates/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gcpbrig01
Highly Voted 2 years, 8 months ago
Answer is correct. "properties": { "publisher": "Microsoft.EnterpriseCloud.Monitoring", "type": "MicrosoftMonitoringAgent", "typeHandlerVersion": "1.0", "settings": { "workspaceId": "[parameters('monitoringAgentWorkspaceID')]" }, "protectedSettings": { "workspaceKey": "[parameters('monitoringAgentWorkspaceKey')]" } } }
upvoted 18 times
Pinto
2 years, 8 months ago
https://docs.microsoft.com/en-us/services-hub/health/mma-setup
upvoted 1 times
...
...
majstor86
Highly Voted 8 months, 3 weeks ago
WorkspaceID WorkspaceKey
upvoted 6 times
...
ligu
Most Recent 9 months ago
I´m agree with OrangeSG: Box 1: WorkspaceID Box 2: WorkspaceKey
upvoted 1 times
...
OrangeSG
9 months, 4 weeks ago
Box 1: WorkspaceID Box 2: WorkspaceKey Note: Microsoft Monitoring Agent and Log Analytics agent have been replaced by Azure Monitoring Agent. For Azure Monitoring Agent, only WorkspaceID is required. No longer use WorkspaceKey for authentication. Instead, Azure Monitoring Agent use Azure AD device tokens to authenticate.
upvoted 5 times
...
F117A_Stealth
1 year ago
Answer is correct: workspaceId & workspaceKey
upvoted 1 times
...
Eltooth
1 year, 8 months ago
Correct - WorkspaceID & WorkspaceKey
upvoted 3 times
...
Tash95
1 year, 8 months ago
Answer is correct: How to gather logs from a large number of Windows Server 2016 computers using Azure Log Analytics but without having the Microsoft Monitoring Agent installed. We can’t (as of November 2015) enable the Microsoft Monitoring Agent in the Azure Preview Console for Resource Manager Virtual Machines which leaves us the options of retrospectively scripting a solution or, even better, enabling the Microsoft Monitoring Agent as part of the Resource Manager json template. In the parameters section of the json we need to add the following (which will allow us to state the name of the extension we are installing and the workspace id and key).
upvoted 2 times
...
JaBe
2 years, 6 months ago
Help me understand I don't get it. See previous question " You have an Azure subscription that contains the virtual machines shown in the following table. [...] From Azure Security Center, you turn on Auto Provisioning. You deploy the virtual machines shown in the following table. [...] On which virtual machines is the Log Analytics Agent installed?" Answer: VM1/2/3/4 So if it is that easy to auto deploy the agent by only enabling auto provisioning in ASC, then why go through the hassle of preparing and deploying an ARM template?
upvoted 2 times
kimalto452
2 years, 5 months ago
because template you can use for various subscriptions/accounts
upvoted 1 times
...
ByZaN
2 years, 6 months ago
same as you i dont get it
upvoted 1 times
Neonlight8
2 years, 6 months ago
Because it is "baked" into the template, and does not require additiona configuration to setup auto provisioning on MMS.
upvoted 1 times
...
...
...
JohnYinToronto
2 years, 8 months ago
Answers correct. In AzurePortal: On the **Overview, Settings Dashboard** page, click **Connected Sources**, and then copy and paste the **Workspace ID** and **Workspace Key (Primary Key)** from the log analytics portal.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...