Question 160
A design review identifies: Several web apps need centrally maintained TLS certificates, renewal tracking and controlled private-key access. The failure is: Customer web apps fail TLS because manually installed certificates expired silently. 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.
- Audit Key Vault role assignment and access denials after moving vault resources.
- Monitor certificate expiry events and verify dependent app bindings after rotation.
- Provide a Key Vault private endpoint and correct private DNS zone integration and apply allowed RBAC and firewall settings.
- Use Azure Key Vault Managed HSM and its supported key policies or access roles for the signing workload.
- Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process.
Explanation
Correct Answers
B:This is an ongoing protection specific to the fault: Monitor certificate expiry events and verify dependent app bindings after rotation. The recurrence risk is: Certificate lifecycle management was decentralized with no rotation signal or update workflow. It should be checked using: Renew a test certificate and verify bound applications receive the new certificate before expiration.
E:The evidence (Customer web apps fail TLS because manually installed certificates expired silently.) identifies the following cause: Certificate lifecycle management was decentralized with no rotation signal or update workflow. The design that removes it is: Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process. The acceptance check is: Renew a test certificate and verify bound applications receive the new certificate before expiration.
Incorrect Answers
A: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: Certificate lifecycle management was decentralized with no rotation signal or update workflow. The proper ongoing control is: Monitor certificate expiry events and verify dependent app bindings after rotation.
C: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: Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process.
D:That design instead addresses another observed condition: An audit finds sensitive signing keys exported into general-purpose application configuration. Its technical cause is: The security boundary does not enforce non-exportable managed-HSM key operations. The current workload exhibits: Customer web apps fail TLS because manually installed certificates expired silently. Its targeted remedy is: Store and manage supported application certificates through Azure Key Vault, with authorized retrieval and a rotation process.
Question 161
A design workshop has this requirement: A partner uses Entra B2B access but may only enter from approved external tenants; internal apps are protected by scoped cross-tenant policies. Operators currently observe: Identities from unknown partner tenants gain access merely by accepting an invitation. Select the ONE design remedy that best addresses the root cause.
- Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
- Design a supported Entra hybrid identity synchronization/sign-in architecture with healthy synchronization and appropriate password hash or federation choices.
- Use Microsoft Entra B2B collaboration with an approved guest invitation and application-level assignment or access package.
- Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps.
Explanation
Correct Answer
D:The evidence (Identities from unknown partner tenants gain access merely by accepting an invitation.) identifies the following cause: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. The design that removes it is: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps. The acceptance check is: Test an approved partner tenant and a nonapproved tenant against the same application policy.
Incorrect Answers
A:This choice mitigates an alternative scenario, where: Pipeline authentication fails after a stored service principal client secret rotates. The underlying issue there is: Secret-based pipeline identity was used instead of a scoped federated trust configuration. Here the root issue is: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. Choose the corresponding action: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps.
B:The option belongs to a different failure mechanism: The hybrid identity provisioning path between AD and Entra is missing or not healthy. That situation exhibits: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. For the stated case, the remedy is: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps.
C:That design instead addresses another observed condition: The vendor needs unrestricted tenant accounts to reach one internal app. Its technical cause is: External collaboration was treated as a permanent internal employee account rather than a governed guest identity. The current workload exhibits: Identities from unknown partner tenants gain access merely by accepting an invitation. Its targeted remedy is: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps.
Question 162
The planned architecture is: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps. Workload context: A partner uses Entra B2B access but may only enter from approved external tenants; internal apps are protected by scoped cross-tenant policies. Which acceptance test demonstrates that the required behavior works?
- Create a test on-premises user and verify account attributes and selected sign-in method in Entra.
- Test an approved partner tenant and a nonapproved tenant against the same application policy.
- Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
- Invite the vendor and verify access only to the approved app under the tenant's external collaboration policies.
Explanation
Correct Answer
B:The decisive evidence is: Test an approved partner tenant and a nonapproved tenant against the same application policy. This measures the mechanism of the planned change, not an unrelated Azure service: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps.
Incorrect Answers
A:That observation pertains to a separate failure: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. Its cause is: The hybrid identity provisioning path between AD and Entra is missing or not healthy. It does not confirm the result of this design. The direct proof would be: Test an approved partner tenant and a nonapproved tenant against the same application policy.
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: Test an approved partner tenant and a nonapproved tenant against the same application policy.
D:That observation pertains to a separate failure: The vendor needs unrestricted tenant accounts to reach one internal app. Its cause is: External collaboration was treated as a permanent internal employee account rather than a governed guest identity. It does not confirm the result of this design. The direct proof would be: Test an approved partner tenant and a nonapproved tenant against the same application policy.
Question 163
The customer states: A partner uses Entra B2B access but may only enter from approved external tenants; internal apps are protected by scoped cross-tenant policies. An incident reveals: Identities from unknown partner tenants gain access merely by accepting an invitation. What cause best accounts for this evidence?
- The hybrid identity provisioning path between AD and Entra is missing or not healthy.
- Secret-based pipeline identity was used instead of a scoped federated trust configuration.
- Inbound cross-tenant collaboration settings are too broad for the specified partner boundary.
- External collaboration was treated as a permanent internal employee account rather than a governed guest identity.
Explanation
Correct Answer
C:The incident is explained by: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. The reported symptom is: Identities from unknown partner tenants gain access merely by accepting an invitation. The corresponding design fix is: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps.
Incorrect Answers
A:The proposed diagnosis fits another scenario: The hybrid identity provisioning path between AD and Entra is missing or not healthy. It would typically be reflected by: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. The current evidence instead supports: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary.
B:The alternative weakness is: Secret-based pipeline identity was used instead of a scoped federated trust configuration. Its associated failure is: Pipeline authentication fails after a stored service principal client secret rotates. Neither explains the present observation: Identities from unknown partner tenants gain access merely by accepting an invitation. The direct cause here is: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary.
D:The proposed diagnosis fits another scenario: External collaboration was treated as a permanent internal employee account rather than a governed guest identity. It would typically be reflected by: The vendor needs unrestricted tenant accounts to reach one internal app. The current evidence instead supports: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary.
Question 164
Workload context: A partner uses Entra B2B access but may only enter from approved external tenants; internal apps are protected by scoped cross-tenant policies. The implemented remedy is: Configure Entra cross-tenant access settings and B2B collaboration allowlists for approved partner tenants and target apps. Which ongoing practice most specifically prevents recurrence of this failure: Identities from unknown partner tenants gain access merely by accepting an invitation.?
- Require guest access reviews and expiration/removal when the contractual engagement ends.
- Review OIDC subject/audience trust and least-privilege scopes as repository branches change.
- Review tenant allowlists, inbound trust and app restrictions when partner contracts change.
- Monitor sync health and privileged account filtering during directory topology changes.
Explanation
Correct Answer
C:The preventive control is: Review tenant allowlists, inbound trust and app restrictions when partner contracts change. It targets the earlier cause: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. Confirm ongoing effectiveness by: Test an approved partner tenant and a nonapproved tenant against the same application policy.
Incorrect Answers
A:This is a reasonable safeguard for a different fault: The vendor needs unrestricted tenant accounts to reach one internal app. That different mechanism is: External collaboration was treated as a permanent internal employee account rather than a governed guest identity. The original incident here instead arises from: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. The directly relevant safeguard is: Review tenant allowlists, inbound trust and app restrictions when partner contracts change.
B:The proposed control focuses on: Secret-based pipeline identity was used instead of a scoped federated trust configuration. For the design in the question, recurrence comes from: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. A precise prevention step is: Review tenant allowlists, inbound trust and app restrictions when partner contracts change.
D:This is a reasonable safeguard for a different fault: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. That different mechanism is: The hybrid identity provisioning path between AD and Entra is missing or not healthy. The original incident here instead arises from: Inbound cross-tenant collaboration settings are too broad for the specified partner boundary. The directly relevant safeguard is: Review tenant allowlists, inbound trust and app restrictions when partner contracts change.
Question 165
A solution architect is reviewing a workload: A managed Kubernetes service uses an Entra group for cluster administrators but must distinguish Azure resource permissions from Kubernetes data-plane access. The observed incident is: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. Which architecture choice most directly removes the identified weakness?
- Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader.
- 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 supported AKS workload identity federation with a Kubernetes service account and a federated managed identity.
- Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
Explanation
Correct Answer
A:The targeted implementation is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader. The problem is not generic resource availability: Management-plane Azure roles and Kubernetes API authorization were conflated. Verify the result by: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments.
Incorrect Answers
B:That design instead addresses another observed condition: A deployed app fails after its hard-coded storage account key expires. Its technical cause is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. The current workload exhibits: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. Its targeted remedy is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader.
C:This choice mitigates an alternative scenario, where: Pods fail when an obsolete secret in Kubernetes is removed. The underlying issue there is: The workload is coupled to static credentials instead of the expected workload identity token trust. Here the root issue is: Management-plane Azure roles and Kubernetes API authorization were conflated. Choose the corresponding action: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader.
D:The option belongs to a different failure mechanism: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. That situation exhibits: The app is resource-group Contributor but receives a 403 when trying to set a secret. For the stated case, the remedy is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader.
Question 166
An architect proposes this change: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader. The workload context is: A managed Kubernetes service uses an Entra group for cluster administrators but must distinguish Azure resource permissions from Kubernetes data-plane access. Which evidence would most directly validate the change?
- Run a pod with the approved service-account binding and verify token-based SQL access, denying unbound pods.
- 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.
- Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments.
Explanation
Correct Answer
D:The decisive evidence is: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments. This measures the mechanism of the planned change, not an unrelated Azure service: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader.
Incorrect Answers
A:The alternative test targets: Configure supported AKS workload identity federation with a Kubernetes service account and a federated managed identity. The scenario's actual proposed remedy is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader. Verify that one by: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments.
B:This check validates a different workload: Run the read from the VM token context and verify access disappears when the managed identity is removed. Its associated design is: Enable a system-assigned managed identity on the VM and grant the needed Storage Blob Data Reader data-plane role at the minimal scope. The required acceptance test here is: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments.
C: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: Test cluster API namespace permissions with a token and verify ARM Reader alone cannot create Kubernetes deployments.
Question 167
During architecture troubleshooting, a team reports: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. Context: A managed Kubernetes service uses an Entra group for cluster administrators but must distinguish Azure resource permissions from Kubernetes data-plane access. Which underlying design mistake explains the observed behavior most precisely?
- The workload is coupled to static credentials instead of the expected workload identity token trust.
- Management-plane Azure roles and Kubernetes API authorization were conflated.
- Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
- The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization.
Explanation
Correct Answer
B:The incident is explained by: Management-plane Azure roles and Kubernetes API authorization were conflated. The reported symptom is: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. The corresponding design fix is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader.
Incorrect Answers
A:The alternative weakness is: The workload is coupled to static credentials instead of the expected workload identity token trust. Its associated failure is: Pods fail when an obsolete secret in Kubernetes is removed. Neither explains the present observation: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. The direct cause here is: Management-plane Azure roles and Kubernetes API authorization were conflated.
C:The proposed diagnosis fits another scenario: Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. It would typically be reflected by: The app is resource-group Contributor but receives a 403 when trying to set a secret. The current evidence instead supports: Management-plane Azure roles and Kubernetes API authorization were conflated.
D: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: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. The direct cause here is: Management-plane Azure roles and Kubernetes API authorization were conflated.
Question 168
The design change is: Use Azure RBAC for AKS where supported and assign appropriate Kubernetes data-plane roles distinct from ARM Reader. The original failure was: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. Which ongoing control best prevents recurrence of the same root cause?
- Review service-account annotations, federated subjects and least-privilege database permissions.
- Audit Key Vault role assignment and access denials after moving vault resources.
- Review managed-identity roles and audit code for remaining shared keys or SAS credentials.
- Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades.
Explanation
Correct Answer
D:The key follow-up control is: Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades. It avoids recurrence of the scenario in which: A subscription Reader can unexpectedly edit cluster namespaces, or an intended AKS admin cannot. It addresses: Management-plane Azure roles and Kubernetes API authorization were conflated.
Incorrect Answers
A:The proposed control focuses on: The workload is coupled to static credentials instead of the expected workload identity token trust. For the design in the question, recurrence comes from: Management-plane Azure roles and Kubernetes API authorization were conflated. A precise prevention step is: Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades.
B: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: Management-plane Azure roles and Kubernetes API authorization were conflated. The proper ongoing control is: Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades.
C:This is a reasonable safeguard for a different fault: A deployed app fails after its hard-coded storage account key expires. That different mechanism is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. The original incident here instead arises from: Management-plane Azure roles and Kubernetes API authorization were conflated. The directly relevant safeguard is: Review Azure RBAC for Kubernetes scopes and audit cluster role bindings during upgrades.
Question 169
A design workshop has this requirement: An Azure Files share must authenticate Windows users with identity-based SMB rather than use a storage account access key on each workstation. Operators currently observe: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares. 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.
- Design a supported Entra hybrid identity synchronization/sign-in architecture with healthy synchronization and appropriate password hash or federation choices.
- Configure supported AKS workload identity federation with a Kubernetes service account and a federated managed identity.
- Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization.
Explanation
Correct Answer
D:This option addresses the actual design defect: Identity-based SMB authentication and share-level permissions were not configured. The correction is: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization. Confirm the outcome with: Mount the share as an authorized user and verify unauthorized group membership cannot access the share.
Incorrect Answers
A:That design instead addresses another observed condition: A deployed app fails after its hard-coded storage account key expires. Its technical cause is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. The current workload exhibits: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares. Its targeted remedy is: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization.
B:This choice mitigates an alternative scenario, where: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. The underlying issue there is: The hybrid identity provisioning path between AD and Entra is missing or not healthy. Here the root issue is: Identity-based SMB authentication and share-level permissions were not configured. Choose the corresponding action: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization.
C:The option belongs to a different failure mechanism: The workload is coupled to static credentials instead of the expected workload identity token trust. That situation exhibits: Pods fail when an obsolete secret in Kubernetes is removed. For the stated case, the remedy is: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization.
Question 170
The planned architecture is: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization. Workload context: An Azure Files share must authenticate Windows users with identity-based SMB rather than use a storage account access key on each workstation. 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.
- Create a test on-premises user and verify account attributes and selected sign-in method in Entra.
- Mount the share as an authorized user and verify unauthorized group membership cannot access the share.
- Run a pod with the approved service-account binding and verify token-based SQL access, denying unbound pods.
Explanation
Correct Answer
C:The decisive evidence is: Mount the share as an authorized user and verify unauthorized group membership cannot access the share. This measures the mechanism of the planned change, not an unrelated Azure service: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization.
Incorrect Answers
A:This check validates a different workload: Run the read from the VM token context and verify access disappears when the managed identity is removed. Its associated design is: Enable a system-assigned managed identity on the VM and grant the needed Storage Blob Data Reader data-plane role at the minimal scope. The required acceptance test here is: Mount the share as an authorized user and verify unauthorized group membership cannot access the share.
B:That observation pertains to a separate failure: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. Its cause is: The hybrid identity provisioning path between AD and Entra is missing or not healthy. It does not confirm the result of this design. The direct proof would be: Mount the share as an authorized user and verify unauthorized group membership cannot access the share.
D:This check validates a different workload: Run a pod with the approved service-account binding and verify token-based SQL access, denying unbound pods. Its associated design is: Configure supported AKS workload identity federation with a Kubernetes service account and a federated managed identity. The required acceptance test here is: Mount the share as an authorized user and verify unauthorized group membership cannot access the share.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests