You want to grant an Azure Virtual Machine access to a secret in a Key Vault without storing any credentials inside the VM's code. What should you use?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Managed Identity

Managed Identity allows Azure services to authenticate to other services (like Key Vault) without managing secrets....

๐Ÿ“‹Part of Microsoft Certified: Azure Fundamentals (AZ-900) ยท Azure Certification Practice
Real Exam ScenarioAzure Key Vault

You want to grant an Azure Virtual Machine access to a secret in a Key Vault without storing any credentials inside the VM's code. What should you use?

โœ“ Correct Answer & ExplanationAzure Key Vault

Correct Answer

Managed Identity

Why This Answer Is Correct

Managed Identity allows Azure services to authenticate to other services (like Key Vault) without managing secrets.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Key Vault โ€” a core concept tested in Microsoft Certified: Azure Fundamentals (AZ-900). Understanding Azure Key Vault is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.