Practice Key Vault Questions Now
Start a timed practice session focusing on Azure Key Vault topics from the AZ-204 question bank.
Start AZ-204 Practice Quiz →AZ-204 Key Vault Question Bank (26 Questions)
Browse all 26 practice questions covering Azure Key Vault for the AZ-204 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.
- Question 1Develop Azure compute solutions
How should a developer configure Azure Functions to use a User-Assigned Managed Identity for accessing Azure Key Vault?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 2Develop Azure compute solutions
What Azure App Service feature allows injecting secrets from Azure Key Vault directly as environment variables without code changes?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 3Implement Azure security
What is Azure Key Vault 'certificate' management and how do developers use it?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 4Implement Azure security
A developer needs their App Service to access Azure Key Vault secrets without storing credentials anywhere. What is the correct approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 5Implement Azure security
A developer needs to ensure that a Key Vault secret is automatically rotated every 90 days. Which Key Vault feature should they configure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 6Implement Azure security
A developer stores a certificate in Azure Key Vault. Which SDK class allows downloading the certificate with its private key?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 7Implement Azure security
A developer wants to prevent Key Vault secrets from being permanently deleted, even by an administrator, for a minimum retention period. Which feature should be enabled?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 8Develop for Azure storage
A developer needs to import a PFX certificate into Azure Key Vault and retrieve it for use in an application. Which SDK client and method should be used to import it?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 9Implement Azure security
A developer needs to obtain an access token for Azure Key Vault from inside an Azure VM with a system-assigned Managed Identity. Which endpoint should they call?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 10Implement Azure security
A developer needs to prevent a Key Vault secret from being accessed outside of business hours. Which Azure feature enables time-based access control?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 11Implement Azure security
What is 'Azure AD Managed Identity' vs 'Service Principal with secret' for application authentication?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 12Implement Azure security
Your application needs to connect to Azure Key Vault without storing any credentials in code or configuration. What should you use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 13Implement Azure security
Which Azure Key Vault object type should be used to store a database connection string?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 14Implement Azure security
Which Azure Key Vault operation allows a developer to decrypt data that was encrypted with a Key Vault key without the key material ever leaving the vault?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 15Implement Azure security
A developer stores a connection string in Azure Key Vault and wants to rotate it without application restart. How can Azure App Service Key Vault references handle this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 16Develop Azure compute solutions
Which identity type should a developer use when writing a background service that runs in an Azure VM and needs to access Key Vault?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 17Implement Azure security
What does 'az keyvault secret set' do for a developer?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 18Implement Azure security
How does a developer implement Azure Key Vault access using C# SDK without storing credentials?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 19Implement Azure security
What is Azure Key Vault 'soft delete' and 'purge protection'?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 20Develop for Azure storage
A developer needs to set a stored access policy on a Blob Storage container to allow revoking all SAS tokens without regenerating the account key. How is this done?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 21Implement Azure security
Which Azure Key Vault object type should be used to store a database connection string securely?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 22Implement Azure security
A developer implements a user-assigned Managed Identity instead of a system-assigned one. What is the key advantage?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 23Implement Azure security
A developer stores a cryptographic key in Azure Key Vault and needs to use it to sign data without the key leaving Key Vault. Which SDK operation should be used?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 24Implement Azure security
A developer deploys a Key Vault in a production subscription. They want to ensure the Key Vault cannot be deleted even if a developer accidentally runs az keyvault delete. Which two features must be enabled?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 25Implement Azure security
A developer needs to restrict access to an Azure Key Vault to only allow calls from a specific virtual network subnet. Which feature should be configured?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 26Develop for Azure storage
A developer needs to ensure that a blob uploaded to Azure Storage is encrypted with a customer-managed key stored in Azure Key Vault. Which feature must be configured on the storage account?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz
Key Key Vault Concepts for AZ-204
AZ-204 Key Vault Exam Tips
Azure Key Vault questions in AZ-204 are typically scenario-based. Focus on Azure application development, integration services, authentication, and runtime reliability. Priority concepts: key vault, secret, key, certificate, managed identity, access policy.
What AZ-204 Expects
- Anchor your answer in choose managed developer services that simplify secure integration and deployment.
- Key Vault scenarios for AZ-204 are frequently mapped to Domain 3 (20-25%), so read the objective carefully before picking controls or architecture.
- Expect multi-topic scenarios where Key Vault interacts with identity, networking, governance, or monitoring patterns rather than appearing as an isolated question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.
High-Value Key Vault Concepts
- Know the core Key Vault building blocks cold: key vault, secret, key, certificate.
- Review the edge-case features and limits for managed identity, access policy; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Key Vault pairs with Identity, Blob Storage in real deployment patterns.
- For AZ-204, explain why the chosen Key Vault design meets reliability, security, and cost expectations better than the alternatives.
Common AZ-204 Traps
- Watch for using infrastructure-heavy answers for app-level requirements.
- Questions in Implement Azure Security often include distractors that look correct for Key Vault but violate least-privilege, compliance, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Key Vault implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Implement Azure Security (20-25%) outcomes for AZ-204?
- Can you explain security and access boundaries for Key Vault without relying on default-open assumptions?
- Can you describe how Key Vault integrates with Identity and Blob Storage during failure, scaling, and monitoring events?