What is the main benefit of using Managed Identities in Azure?

  1. To encrypt database connections
  2. To eliminate the need for storing credentials in application code by providing automatic credential management ✓
  3. To manage API quotas across services
  4. To automatically provision virtual machines

Correct answer: To eliminate the need for storing credentials in application code by providing automatic credential management

Option B is correct because Azure Managed Identities provide Azure Active Directory identities for Azure resources, allowing applications to authenticate to any service that supports Azure AD without embedding credentials, connection strings, or secrets in code or configuration files, with token lifecycle handled automatically by the platform. Option A is wrong because database connection encryption is managed by TLS settings on the database and connection strings, not by Managed Identities. Option C is wrong because API quota management is handled by Azure API Management or per-service throttling policies, which are unrelated to identity management. Option D is wrong because virtual machine provisioning is an infrastructure task performed through Azure Resource Manager or infrastructure-as-code tooling, not through Managed Identities.

Topic: · managed identities, azure active directory, credential management, az-500

Practice Microsoft Azure Security Engineer (AZ-500) Questions Free