AZ-400 · Question #490
You have an Azure subscription that contains a Log Analytics workspace named WS1 and a virtual machine named VM1. You need to install the Microsoft Enterprise Cloud Monitoring extension on VM1. Which
The correct answer is A. the secret key of WS1 D. the ID of WS1. To install the Microsoft Enterprise Cloud Monitoring extension on a virtual machine Log Analytics workspace, you can either use the Azure portal or the Azure CLI. The extension, also known as the Log Analytics VM extension, automatically installs and configures the agent, allowin
Question
Options
- Athe secret key of WS1
- Bthe ID of the subscription
- Cthe system-assigned managed identity of VM1
- Dthe ID of WS1
- Ethe resource ID of VM1
How the community answered
(59 responses)- A93% (55)
- B2% (1)
- C2% (1)
- E3% (2)
Explanation
To install the Microsoft Enterprise Cloud Monitoring extension on a virtual machine Log Analytics workspace, you can either use the Azure portal or the Azure CLI. The extension, also known as the Log Analytics VM extension, automatically installs and configures the agent, allowing the virtual machine to send data to the Log Analytics workspace. You can use the Azure CLI to deploy the Log Analytics VM extension to an existing virtual machine. The command az vm extension set is used to deploy the extension, with parameters like workspaceId [A] and workspaceKey [D] required. You can find these values in your Log Analytics workspace within the Azure portal. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/oms-windows
Community Discussion
No community discussion yet for this question.