‹ All AZ-900 questions

AZ-900 Practice Question 90: Key Vault Secrets Storage

Microsoft Azure Fundamentals (AZ-900) · Test 9 · question 10 of 10

Identity & Securityeasy

A developer's application currently has its database connection string, including the password, written directly into the source code. A security review flags this and asks for it to be stored and retrieved securely instead. Which Azure service is designed for this?

Select one answer
Show answer and explanation

Answer:

  • D. Azure Key Vault

Azure Key Vault exists to centralize application secrets and control their distribution, and Microsoft's own example is this precise scenario: instead of storing a database connection string in an app's code, you store it securely in Key Vault and let the application retrieve it at runtime through a URI. Key Vault also manages encryption keys and certificates, all encrypted at rest and guarded by authentication and authorization, so the password never has to live in the codebase or a config file again.

Option A, Microsoft Entra ID, is the identity and access management service that authenticates users and applications; it manages who signs in, not where an application's own secrets are stored. Option B, Azure Policy, enforces configuration rules on deployed resources; it could flag a hardcoded secret in some scenarios but has no mechanism for storing or serving one. Option C, Microsoft Defender for Cloud, assesses security posture and can *alert* on exposed secrets, but it is not itself a place to store credentials for an application to retrieve.

Reference: Azure Key Vault Overview

Practice Test 9 ›

Study guides for AZ-900

Azure Administrator (AZ-104): jobs, salary and the examAzure administrator role, jobs and pay data, and the AZ-104 exam: five domains, 100 minutes, US$165 / ₹4,865, AZ-900 first or not, and what next.
Free cloud certifications in 2026: which are really freeWhich free cloud certifications are really free in 2026: Oracle's free OCI exams, and the voucher routes for AWS, Microsoft and Google, with prices.
AI-901 exam guide: Azure AI Fundamentals after AI-900AI-901 replaced AI-900: learn what changed, how much Python and Microsoft Foundry you need, exam costs in India, and how to prepare.
Microsoft Fabric certification: DP-700 vs DP-600Microsoft Fabric certification means two exams, DP-600 and DP-700. Their roles, skills, format, cost in India, and which one to take first.
Which cloud certification is best? AWS vs Azure vs GoogleWhich cloud certification is best for a beginner? AWS Cloud Practitioner, AZ-900 and Google Cloud Digital Leader compared: cost, format and which first.
Azure certification path 2026: AZ-900, AZ-104, AZ-305The Azure certification path for 2026 - AZ-900, AZ-104 and AZ-305 in order, what each covers, the AZ-305 prerequisite, renewal and what to skip.
Azure RBAC vs Azure Policy vs Entra roles vs resource locksHow Azure RBAC, Azure Policy, Microsoft Entra roles and resource locks differ, how scope inheritance works, and when deny beats audit.
Azure Storage redundancy - LRS, ZRS, GRS, GZRS and failoverHow LRS, ZRS, GRS, RA-GRS, GZRS and RA-GZRS differ, what failover does to your account, and how access tiers interact with redundancy.