AZ-500 · Question #203
You have an Azure subscription that contains 100 virtual machines and has Azure Security Center Standard tier enabled. You plan to perform a vulnerability scan of each virtual machine. You need to…
The correct answer is A. the user-assigned managed identity C. the Azure Active Directory (Azure AD) ID. To automate the deployment of a vulnerability scanner extension using an ARM template, you should specify the user-assigned managed identity for secure authentication and the Azure Active Directory ID for correct tenant association.
Question
Options
- Athe user-assigned managed identity
- Bthe workspace ID
- Cthe Azure Active Directory (Azure AD) ID
- Dthe Key Vault managed storage account key
- Ethe system-assigned managed identity
- Fthe primary shared key
How the community answered
(17 responses)- A82% (14)
- B6% (1)
- E12% (2)
Why each option
To automate the deployment of a vulnerability scanner extension using an ARM template, you should specify the user-assigned managed identity for secure authentication and the Azure Active Directory ID for correct tenant association.
A user-assigned managed identity provides a secure, credential-less way for the vulnerability scanner extension to authenticate and gain authorization to interact with other Azure services or resources required for its operation, such as reporting scan results. When deploying with ARM, you specify the resource ID of this user-assigned identity to associate it with the virtual machine.
A Log Analytics workspace ID is specific to the Log Analytics agent and its reporting destination, not a general requirement for deploying a vulnerability scanner extension itself.
The Azure Active Directory (Azure AD) ID, typically the tenant ID, is often required by security agents or extensions to correctly identify the Azure AD tenant context. This ensures that the scanner registers and reports within the correct organizational scope, especially for services that rely on tenant-specific configurations or integrations, and is specified within the extension's settings.
A Key Vault managed storage account key is a highly specific credential management detail unrelated to the general deployment of a VM extension for vulnerability scanning.
While a system-assigned managed identity can be used, it is enabled directly on the VM and its ID is not explicitly 'specified' in the extension's settings as a separate value like a user-assigned identity's resource ID would be.
The primary shared key is typically used for authenticating with a Log Analytics workspace, similar to the workspace ID, and is not a general parameter for deploying a vulnerability scanner extension.
Concept tested: VM extension deployment parameters for security agents
Source: https://learn.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-managed-identity-with-resource-manager-template#create-a-vm-with-a-user-assigned-managed-identity-by-using-an-arm-template
Topics
Community Discussion
No community discussion yet for this question.