Question 110
An architect proposes this change: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions. The workload context is: A finance application requires per-project authorization across four subscriptions without broad resource management permission. Which evidence would most directly validate the change?
- Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments.
- Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
- Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
- Activate the eligible role for a test window and confirm the elevation expires and audit evidence exists.
Explanation
Correct Answer
C:The decisive evidence is: Sign in as the project operator and test the specific permitted action and a prohibited resource operation. This measures the mechanism of the planned change, not an unrelated Azure service: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions.
Incorrect Answers
A:The decisive evidence is: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments. The decisive evidence is: Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
B:The decisive evidence is: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied. The decisive evidence is: Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
D:The acceptance test is specific: Activate the eligible role for a test window and confirm the elevation expires and audit evidence exists. The decisive evidence is: Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
Question 111
During architecture troubleshooting, a team reports: An operator can delete unrelated production resources after being given subscription Owner. Context: A finance application requires per-project authorization across four subscriptions without broad resource management permission. Which underlying design mistake explains the observed behavior most precisely?
- Management-plane Azure roles and Kubernetes API authorization were conflated.
- The RBAC role and scope exceed the intended project's administrative responsibilities.
- A standing Azure resource role was assigned instead of time-bounded eligible elevation.
- Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
Explanation
Correct Answer
B:This is the failure mechanism rather than an incidental symptom: The RBAC role and scope exceed the intended project's administrative responsibilities. It accounts for: An operator can delete unrelated production resources after being given subscription Owner. The architectural repair is: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions.
Incorrect Answers
A:The alternative diagnosis “Management-plane Azure roles and Kubernetes API authorization were conflated” does not match the observed symptom: An operator can delete unrelated production resources after being given subscription Owner. Context: A finance application requires per-project authorization across four subscriptions without broad resource management permission. This is the failure mechanism rather than an incidental symptom: The RBAC role and scope exceed the intended project's administrative responsibilities. It accounts for: An operator can delete unrelated production resources after being given subscription Owner. The evidence instead supports “The RBAC role and scope exceed the intended project's administrative responsibilities”.
C:The alternative diagnosis “A standing Azure resource role was assigned instead of time-bounded eligible elevation” does not match the observed symptom: An operator can delete unrelated production resources after being given subscription Owner. Context: A finance application requires per-project authorization across four subscriptions without broad resource management permission. This is the failure mechanism rather than an incidental symptom: The RBAC role and scope exceed the intended project's administrative responsibilities. It accounts for: An operator can delete unrelated production resources after being given subscription Owner. The evidence instead supports “The RBAC role and scope exceed the intended project's administrative responsibilities”.
D:The alternative diagnosis “Control-plane management permissions do not automatically confer Key Vault data-plane secret rights” does not match the observed symptom: An operator can delete unrelated production resources after being given subscription Owner. Context: A finance application requires per-project authorization across four subscriptions without broad resource management permission. This is the failure mechanism rather than an incidental symptom: The RBAC role and scope exceed the intended project's administrative responsibilities. It accounts for: An operator can delete unrelated production resources after being given subscription Owner. The evidence instead supports “The RBAC role and scope exceed the intended project's administrative responsibilities”.
Question 112
The design change is: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions. The original failure was: An operator can delete unrelated production resources after being given subscription Owner. Which ongoing control best prevents recurrence of the same root cause?
- Review eligible versus active role assignments and enforce periodic access reviews.
- Review role assignments and inherited scopes at subscription and resource-group boundaries.
- Audit Key Vault role assignment and access denials after moving vault resources.
- Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades.
Explanation
Correct Answer
B:This is an ongoing protection specific to the fault: Review role assignments and inherited scopes at subscription and resource-group boundaries. The recurrence risk is: The RBAC role and scope exceed the intended project's administrative responsibilities. It should be checked using: Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
Incorrect Answers
A:The alternative diagnosis “Review eligible versus active role assignments and enforce periodic access reviews” does not match the observed symptom: The design change is: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions. This is an ongoing protection specific to the fault: Review role assignments and inherited scopes at subscription and resource-group boundaries. The recurrence risk is: The RBAC role and scope exceed the intended project's administrative responsibilities. The evidence instead supports “Review role assignments and inherited scopes at subscription and resource-group boundaries”.
C:The alternative diagnosis “Audit Key Vault role assignment and access denials after moving vault resources” does not match the observed symptom: The design change is: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions. This is an ongoing protection specific to the fault: Review role assignments and inherited scopes at subscription and resource-group boundaries. The recurrence risk is: The RBAC role and scope exceed the intended project's administrative responsibilities. The evidence instead supports “Review role assignments and inherited scopes at subscription and resource-group boundaries”.
D:The alternative diagnosis “Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades” does not match the observed symptom: The design change is: Assign a specific built-in or justified custom Azure RBAC role at the narrowest management scope granting needed resource actions. This is an ongoing protection specific to the fault: Review role assignments and inherited scopes at subscription and resource-group boundaries. The recurrence risk is: The RBAC role and scope exceed the intended project's administrative responsibilities. The evidence instead supports “Review role assignments and inherited scopes at subscription and resource-group boundaries”.
Question 113
A design workshop has this requirement: An Entra application needs to write to one Azure Key Vault through application identity, without broad subscription Contributor privileges. Operators currently observe: The app is resource-group Contributor but receives a 403 when trying to set a secret. Select the ONE design remedy that best addresses the root cause.
- Enable a system-assigned managed identity on the VM and grant the needed Storage Blob Data Reader data-plane role at the minimal scope.
- Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
- Provide a Key Vault private endpoint and correct private DNS zone integration and apply allowed RBAC and firewall settings.
- Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
Explanation
Correct Answer
D:The evidence (The app is resource-group Contributor but receives a 403 when trying to set a secret.) identifies the following cause: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. The design that removes it is: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls. The acceptance check is: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
Incorrect Answers
A:The alternative diagnosis “Enable a system-assigned managed identity on the VM and grant the needed Storage Blob Data Reader data-plane role at the minimal scope” does not match the observed symptom: The app is resource-group Contributor but receives a 403 when trying to set a secret. The evidence (The app is resource-group Contributor but receives a 403 when trying to set a secret.) identifies the following cause: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. The evidence instead supports “Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls”.
B:The alternative diagnosis “Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC” does not match the observed symptom: The app is resource-group Contributor but receives a 403 when trying to set a secret. The evidence (The app is resource-group Contributor but receives a 403 when trying to set a secret.) identifies the following cause: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. The evidence instead supports “Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls”.
C:The alternative diagnosis “Provide a Key Vault private endpoint and correct private DNS zone integration and apply allowed RBAC and firewall settings” does not match the observed symptom: The app is resource-group Contributor but receives a 403 when trying to set a secret. The evidence (The app is resource-group Contributor but receives a 403 when trying to set a secret.) identifies the following cause: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. The evidence instead supports “Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls”.
Question 114
The planned architecture is: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls. Workload context: An Entra application needs to write to one Azure Key Vault through application identity, without broad subscription Contributor privileges. Which acceptance test demonstrates that the required behavior works?
- Run the read from the VM token context and verify access disappears when the managed identity is removed.
- Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
- Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
- Resolve the vault hostname to a private IP and successfully fetch an approved secret from the subnet.
Explanation
Correct Answer
B:The decisive evidence is: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied. This measures the mechanism of the planned change, not an unrelated Azure service: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
Incorrect Answers
A:That observation pertains to a separate failure: A deployed app fails after its hard-coded storage account key expires. Its cause is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. It does not confirm the result of this design. The direct proof would be: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
C:The decisive evidence is: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
D:That observation pertains to a separate failure: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. Its cause is: Private endpoint connectivity and private DNS were not established for the vault. It does not confirm the result of this design. The direct proof would be: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
Question 115
The customer states: An Entra application needs to write to one Azure Key Vault through application identity, without broad subscription Contributor privileges. An incident reveals: The app is resource-group Contributor but receives a 403 when trying to set a secret. What cause best accounts for this evidence?
- Secret-based pipeline identity was used instead of a scoped federated trust configuration.
- The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization.
- Private endpoint connectivity and private DNS were not established for the vault.
- Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
Explanation
Correct Answer
D:This is the failure mechanism rather than an incidental symptom: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. It accounts for: The app is resource-group Contributor but receives a 403 when trying to set a secret. The architectural repair is: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
Incorrect Answers
A:Secret-based pipeline identity was used would not address the need for control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
B:Identity and access control would not address the need for control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
C:DNS configuration would not address the need for control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
Question 116
Workload context: An Entra application needs to write to one Azure Key Vault through application identity, without broad subscription Contributor privileges. The implemented remedy is: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls. Which ongoing practice most specifically prevents recurrence of this failure: The app is resource-group Contributor but receives a 403 when trying to set a secret.?
- Test private endpoint approvals and DNS resolution after adding spokes or DNS forwarders.
- Review managed-identity roles and audit code for remaining shared keys or SAS credentials.
- Review OIDC subject/audience trust and least-privilege scopes as repository branches change.
- Audit Key Vault role assignment and access denials after moving vault resources.
Explanation
Correct Answer
D:This is an ongoing protection specific to the fault: Audit Key Vault role assignment and access denials after moving vault resources. The recurrence risk is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. It should be checked using: Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
Incorrect Answers
A:Testing private endpoint approvals and DNS resolution after adding spokes or DNS forwarders would not audit Key Vault role assignment and access denials after moving vault resources.
B:Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
C:Reviewing OIDC subject/audience trust and least-privilege scopes as repository branches change would not audit Key Vault role assignment and access denials after moving vault resources.
Question 117
A solution architect is reviewing a workload: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. The observed incident is: An audit finds sensitive signing keys exported into general-purpose application configuration. Which architecture choice most directly removes the identified weakness?
- Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process.
- Provide a Key Vault private endpoint and correct private DNS zone integration and apply allowed RBAC and firewall settings.
- Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
- Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
Explanation
Correct Answer
D:The targeted implementation is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. The problem is not generic resource availability: The security boundary does not enforce non-exportable managed-HSM key operations. Verify the result by: Create or use a key in the managed HSM and verify signing operations without private key export.
Incorrect Answers
A:Storing and managing supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process would not meet the need for Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
B:Providing a Key Vault private endpoint and correcting private DNS zone integration and applying allowed RBAC and firewall settings would not meet the need for Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
C:Granting the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and using approved network controls would not meet the need for Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
Question 118
An architect proposes this change: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. The workload context is: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. Which evidence would most directly validate the change?
- Resolve the vault hostname to a private IP and successfully fetch an approved secret from the subnet.
- Renew a test certificate and verify bound applications receive the new certificate before expiration.
- Create or use a key in the managed HSM and verify signing operations without private key export.
- Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
Explanation
Correct Answer
C:The acceptance test is specific: Create or use a key in the managed HSM and verify signing operations without private key export. Its purpose is to establish that the proposed architecture works: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
Incorrect Answers
A:The alternative test targets: Provide a Key Vault private endpoint and correct private DNS zone integration and apply allowed RBAC and firewall settings. The scenario's actual proposed remedy is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. Verify that one by: Create or use a key in the managed HSM and verify signing operations without private key export.
B:Its purpose is to establish that the proposed architecture works: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
D:The alternative test targets: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls. The scenario's actual proposed remedy is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. Verify that one by: Create or use a key in the managed HSM and verify signing operations without private key export.
Question 119
During architecture troubleshooting, a team reports: An audit finds sensitive signing keys exported into general-purpose application configuration. Context: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. Which underlying design mistake explains the observed behavior most precisely?
- Private endpoint connectivity and private DNS were not established for the vault.
- Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
- Certificate lifecycle management was decentralized with no rotation signal or update workflow.
- The security boundary does not enforce non-exportable managed-HSM key operations.
Explanation
Correct Answer
D:The recorded behavior follows from: The security boundary does not enforce non-exportable managed-HSM key operations. The appropriate mitigation would be: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. Verify with: Create or use a key in the managed HSM and verify signing operations without private key export.
Incorrect Answers
A:The alternative diagnosis “Private endpoint connectivity and private DNS were not established for the vault” does not match the observed symptom: An audit finds sensitive signing keys exported into general-purpose application configuration. Context: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. The recorded behavior follows from: The security boundary does not enforce non-exportable managed-HSM key operations. The appropriate mitigation would be: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. The evidence instead supports “The security boundary does not enforce non-exportable managed-HSM key operations”.
B:The alternative diagnosis “Control-plane management permissions do not automatically confer Key Vault data-plane secret rights” does not match the observed symptom: An audit finds sensitive signing keys exported into general-purpose application configuration. Context: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. The recorded behavior follows from: The security boundary does not enforce non-exportable managed-HSM key operations. The appropriate mitigation would be: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. The evidence instead supports “The security boundary does not enforce non-exportable managed-HSM key operations”.
C:The alternative diagnosis “Certificate lifecycle management was decentralized with no rotation signal or update workflow” does not match the observed symptom: An audit finds sensitive signing keys exported into general-purpose application configuration. Context: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. The recorded behavior follows from: The security boundary does not enforce non-exportable managed-HSM key operations. The appropriate mitigation would be: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. The evidence instead supports “The security boundary does not enforce non-exportable managed-HSM key operations”.
Question 120
A design review identifies: A company requires a cryptographic signing key whose private material remains protected by managed HSM with dedicated administration boundaries. The failure is: An audit finds sensitive signing keys exported into general-purpose application configuration. Select TWO distinct decisions that together provide the immediate technical solution AND an ongoing prevention control. A verification-only step does not replace either responsibility.
- Review HSM activation, RBAC and key-rotation/audit events for authorized users.
- Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process.
- Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
- Provide a Key Vault private endpoint and correct private DNS zone integration and apply allowed RBAC and firewall settings.
- Audit Key Vault role assignment and access denials after moving vault resources.
Explanation
Correct Answers
A:The key follow-up control is: Review HSM activation, RBAC and key-rotation/audit events for authorized users. It avoids recurrence of the scenario in which: An audit finds sensitive signing keys exported into general-purpose application configuration. It addresses: The security boundary does not enforce non-exportable managed-HSM key operations.
C:The evidence (An audit finds sensitive signing keys exported into general-purpose application configuration.) identifies the following cause: The security boundary does not enforce non-exportable managed-HSM key operations. The design that removes it is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload. The acceptance check is: Create or use a key in the managed HSM and verify signing operations without private key export.
Incorrect Answers
B:A certificate-storage workflow in a standard Key Vault does not establish the dedicated managed-HSM key-protection and administration boundary required for signing-key material.
D:Private endpoints and DNS restrict network access to a vault; they do not establish managed-HSM signing-key non-exportability or the required HSM administration controls.
E:Reviewing role assignments after resource moves is useful governance, but it does not replace provisioning managed-HSM-protected signing keys and regularly auditing their use.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests