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:This check validates a different workload: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments. Its associated design is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader. The required acceptance test here is: Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
B:That observation pertains to a separate failure: The app is resource-group Contributor but receives a 403 when trying to set a secret. Its cause is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. It does not confirm the result of this design. The direct proof would be: Sign in as the project operator and test the specific permitted action and a prohibited resource operation.
D:This check validates a different workload: Activate the eligible role for a test window and confirm the elevation expires and audit evidence exists. Its associated design is: Use Microsoft Entra Privileged Identity Management for eligible Azure resource-role assignments with controlled activation. The required acceptance test here 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:This cause would explain a different symptom: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. The mechanism for that event is: Management-plane Azure roles and Kubernetes API authorization were conflated. Here the stated symptom is: An operator can delete unrelated production resources after being given subscription Owner. Its cause is: The RBAC role and scope exceed the intended project's administrative responsibilities.
C:The alternative weakness is: A standing Azure resource role was assigned instead of time-bounded eligible elevation. Its associated failure is: The developer retains permanent active Owner after the incident window. Neither explains the present observation: An operator can delete unrelated production resources after being given subscription Owner. The direct cause here is: The RBAC role and scope exceed the intended project's administrative responsibilities.
D:This cause would explain a different symptom: The app is resource-group Contributor but receives a 403 when trying to set a secret. The mechanism for that event is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. Here the stated symptom is: An operator can delete unrelated production resources after being given subscription Owner. Its cause is: 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:That safeguard manages another risk: A standing Azure resource role was assigned instead of time-bounded eligible elevation. Its scenario is: The developer retains permanent active Owner after the incident window. The present recurring risk is: The RBAC role and scope exceed the intended project's administrative responsibilities. The proper ongoing control is: Review role assignments and inherited scopes at subscription and resource-group boundaries.
C:The proposed control focuses on: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. For the design in the question, recurrence comes from: The RBAC role and scope exceed the intended project's administrative responsibilities. A precise prevention step is: Review role assignments and inherited scopes at subscription and resource-group boundaries.
D:That safeguard manages another risk: Management-plane Azure roles and Kubernetes API authorization were conflated. Its scenario is: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. The present recurring risk is: The RBAC role and scope exceed the intended project's administrative responsibilities. The proper ongoing control is: 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:This choice mitigates an alternative scenario, where: A deployed app fails after its hard-coded storage account key expires. The underlying issue there is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. Here the root issue is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. Choose the corresponding action: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
B:The option belongs to a different failure mechanism: Secret-based pipeline identity was used instead of a scoped federated trust configuration. That situation exhibits: Pipeline authentication fails after a stored service principal client secret rotates. For the stated case, the remedy is: Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
C:That design instead addresses another observed condition: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. Its technical cause is: Private endpoint connectivity and private DNS were not established for the vault. The current workload exhibits: The app is resource-group Contributor but receives a 403 when trying to set a secret. Its targeted remedy is: 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:This check validates a different workload: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected. Its associated design is: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The required acceptance test here 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:The proposed diagnosis fits another scenario: Secret-based pipeline identity was used instead of a scoped federated trust configuration. It would typically be reflected by: Pipeline authentication fails after a stored service principal client secret rotates. The current evidence instead supports: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
B:The alternative weakness is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. Its associated failure is: A deployed app fails after its hard-coded storage account key expires. Neither explains the present observation: The app is resource-group Contributor but receives a 403 when trying to set a secret. The direct cause here is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
C:This cause would explain a different symptom: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. The mechanism for that event is: Private endpoint connectivity and private DNS were not established for the vault. Here the stated symptom is: The app is resource-group Contributor but receives a 403 when trying to set a secret. Its cause is: 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:This is a reasonable safeguard for a different fault: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. That different mechanism is: Private endpoint connectivity and private DNS were not established for the vault. The original incident here instead arises from: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. The directly relevant safeguard is: Audit Key Vault role assignment and access denials after moving vault resources.
B:The proposed control focuses on: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. For the design in the question, recurrence comes from: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. A precise prevention step is: Audit Key Vault role assignment and access denials after moving vault resources.
C:That safeguard manages another risk: Secret-based pipeline identity was used instead of a scoped federated trust configuration. Its scenario is: Pipeline authentication fails after a stored service principal client secret rotates. The present recurring risk is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. The proper ongoing control is: 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:The option belongs to a different failure mechanism: Certificate lifecycle management was decentralized with no rotation signal or update workflow. That situation exhibits: Customer web apps fail TLS because manually installed certificates expired silently. For the stated case, the remedy is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
B:That design instead addresses another observed condition: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. Its technical cause is: Private endpoint connectivity and private DNS were not established for the vault. The current workload exhibits: An audit finds sensitive signing keys exported into general-purpose application configuration. Its targeted remedy is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
C:This choice mitigates an alternative scenario, where: The app is resource-group Contributor but receives a 403 when trying to set a secret. The underlying issue there is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. Here the root issue is: The security boundary does not enforce non-exportable managed-HSM key operations. Choose the corresponding action: Use 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:This check validates a different workload: Renew a test certificate and verify bound applications receive the new certificate before expiration. Its associated design is: Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process. The required acceptance test here is: Create or use a key in the managed HSM and verify signing operations without private key export.
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 weakness is: Private endpoint connectivity and private DNS were not established for the vault. Its associated failure is: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. Neither explains the present observation: An audit finds sensitive signing keys exported into general-purpose application configuration. The direct cause here is: The security boundary does not enforce non-exportable managed-HSM key operations.
B:This cause would explain a different symptom: The app is resource-group Contributor but receives a 403 when trying to set a secret. The mechanism for that event is: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. Here the stated symptom is: An audit finds sensitive signing keys exported into general-purpose application configuration. Its cause is: The security boundary does not enforce non-exportable managed-HSM key operations.
C:The proposed diagnosis fits another scenario: Certificate lifecycle management was decentralized with no rotation signal or update workflow. It would typically be reflected by: Customer web apps fail TLS because manually installed certificates expired silently. The current 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:That design instead addresses another observed condition: Customer web apps fail TLS because manually installed certificates expired silently. Its technical cause is: Certificate lifecycle management was decentralized with no rotation signal or update workflow. The current workload exhibits: An audit finds sensitive signing keys exported into general-purpose application configuration. Its targeted remedy is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
D:The option belongs to a different failure mechanism: Private endpoint connectivity and private DNS were not established for the vault. That situation exhibits: The app reports DNS or connectivity failure after Key Vault public endpoints are disabled. For the stated case, the remedy is: Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
E:That safeguard manages another risk: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. Its scenario is: The app is resource-group Contributor but receives a 403 when trying to set a secret. The present recurring risk is: The security boundary does not enforce non-exportable managed-HSM key operations. The proper ongoing control is: Review HSM activation, RBAC and key-rotation/audit events for authorized users.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests