Question 90
The planned architecture is: Attach one user-assigned managed identity to the eligible compute resources and grant its required API permission or Azure role. Workload context: Three Azure Functions must use the same principal to authenticate to an external API even when one function is recreated. 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 pod with the approved service-account binding and verify token-based SQL access, denying unbound pods.
- Recreate one function and verify its calls retain the same managed identity client ID and authorization.
Explanation
Correct Answer
D:The acceptance test is specific: Recreate one function and verify its calls retain the same managed identity client ID and authorization. Its purpose is to establish that the proposed architecture works: Attach one user-assigned managed identity to the eligible compute resources and grant its required API permission or Azure role.
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: Recreate one function and verify its calls retain the same managed identity client ID and authorization.
B: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: Attach one user-assigned managed identity to the eligible compute resources and grant its required API permission or Azure role. Verify that one by: Recreate one function and verify its calls retain the same managed identity client ID and authorization.
C:The acceptance test is specific: Recreate one function and verify its calls retain the same managed identity client ID and authorization.
Question 91
The customer states: Three Azure Functions must use the same principal to authenticate to an external API even when one function is recreated. An incident reveals: A re-created function loses access because its original system identity principal no longer exists. What cause best accounts for this evidence?
- The workload is coupled to static credentials instead of the expected workload identity token trust.
- The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization.
- Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
- A lifecycle-coupled identity was used where a shared persistent identity was required.
Explanation
Correct Answer
D:This is the failure mechanism rather than an incidental symptom: A lifecycle-coupled identity was used where a shared persistent identity was required. It accounts for: A re-created function loses access because its original system identity principal no longer exists. The architectural repair is: Attach one user-assigned managed identity to the eligible compute resources and grant its required API permission or Azure role.
Incorrect Answers
A:The workload is coupled to static credentials instead of the expected workload identity token trust. A lifecycle-coupled identity was used where a shared persistent identity was required.
B:The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. A lifecycle-coupled identity was used where a shared persistent identity was required.
C:Control-plane management permissions do not automatically confer Key Vault data-plane secret rights. A lifecycle-coupled identity was used where a shared persistent identity was required.
Question 92
Workload context: Three Azure Functions must use the same principal to authenticate to an external API even when one function is recreated. The implemented remedy is: Attach one user-assigned managed identity to the eligible compute resources and grant its required API permission or Azure role. Which ongoing practice most specifically prevents recurrence of this failure: A re-created function loses access because its original system identity principal no longer exists.?
- Audit the user-assigned identity's assignments when services or environments are retired.
- Review managed-identity roles and audit code for remaining shared keys or SAS credentials.
- Review service-account annotations, federated subjects and least-privilege database permissions.
- Audit Key Vault role assignment and access denials after moving vault resources.
Explanation
Correct Answer
A:This is an ongoing protection specific to the fault: Audit the user-assigned identity's assignments when services or environments are retired. The recurrence risk is: A lifecycle-coupled identity was used where a shared persistent identity was required. It should be checked using: Recreate one function and verify its calls retain the same managed identity client ID and authorization.
Incorrect Answers
B:A lifecycle-coupled identity was used where a shared persistent identity was required.
C:Reviewing service-account annotations, federated subjects and least-privilege database permissions would not audit the user-assigned identity's assignments when services or environments are retired.
D:Auditing Key Vault role assignment and access denials after moving vault resources would not audit the user-assigned identity's assignments when services or environments are retired.
Question 93
A solution architect is reviewing a workload: A GitHub Actions release workflow should deploy infrastructure to a restricted Azure subscription without storing a client secret. The observed incident is: Pipeline authentication fails after a stored service principal client secret rotates. Which architecture choice most directly removes the identified weakness?
- Configure supported AKS workload identity federation with a Kubernetes service account and a federated managed identity.
- Attach one user-assigned managed identity to the eligible compute resources and grant its required API permission or Azure role.
- Grant the service principal the appropriate Key Vault RBAC data-plane role at the vault scope and use approved network controls.
- Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
Explanation
Correct Answer
D:The targeted implementation is: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The problem is not generic resource availability: Secret-based pipeline identity was used instead of a scoped federated trust configuration. Verify the result by: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
Incorrect Answers
A:Configuring supported AKS workload identity federation with a Kubernetes service account and a federated managed identity would not configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
B:Attaching one user-assigned managed identity to the eligible compute resources and granting its required API permission or Azure role would not configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
C:This option does not address the stated problem. The problem is not generic resource availability: Secret-based pipeline identity was used instead of a scoped federated trust configuration.
Question 94
An architect proposes this change: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The workload context is: A GitHub Actions release workflow should deploy infrastructure to a restricted Azure subscription without storing a client secret. Which evidence would most directly validate the change?
- Obtain an application token and test writing a permitted secret while confirming an unrelated vault is denied.
- Recreate one function and verify its calls retain the same managed identity client ID and authorization.
- Run a pod with the approved service-account binding and verify token-based SQL access, denying unbound pods.
- Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
Explanation
Correct Answer
D:The decisive evidence is: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected. This measures the mechanism of the planned change, not an unrelated Azure service: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
Incorrect Answers
A: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: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. Verify that one by: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
B:The decisive evidence is: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
C:That observation pertains to a separate failure: Pods fail when an obsolete secret in Kubernetes is removed. Its cause is: The workload is coupled to static credentials instead of the expected workload identity token trust. It does not confirm the result of this design. The direct proof would be: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
Question 95
During architecture troubleshooting, a team reports: Pipeline authentication fails after a stored service principal client secret rotates. Context: A GitHub Actions release workflow should deploy infrastructure to a restricted Azure subscription without storing a client secret. Which underlying design mistake explains the observed behavior most precisely?
- A lifecycle-coupled identity was used where a shared persistent identity was required.
- Control-plane management permissions do not automatically confer Key Vault data-plane secret rights.
- Secret-based pipeline identity was used instead of a scoped federated trust configuration.
- The workload is coupled to static credentials instead of the expected workload identity token trust.
Explanation
Correct Answer
C:This is the failure mechanism rather than an incidental symptom: Secret-based pipeline identity was used instead of a scoped federated trust configuration. It accounts for: Pipeline authentication fails after a stored service principal client secret rotates. The architectural repair is: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC.
Incorrect Answers
A:The alternative diagnosis “A lifecycle-coupled identity was used where a shared persistent identity was required” does not match the observed symptom: Pipeline authentication fails after a stored service principal client secret rotates. Context: A GitHub Actions release workflow should deploy infrastructure to a restricted Azure subscription without storing a client secret. This is the failure mechanism rather than an incidental symptom: Secret-based pipeline identity was used instead of a scoped federated trust configuration. It accounts for: Pipeline authentication fails after a stored service principal client secret rotates. The evidence instead supports “Secret-based pipeline identity was used instead of a scoped federated trust configuration”.
B:The alternative diagnosis “Control-plane management permissions do not automatically confer Key Vault data-plane secret rights” does not match the observed symptom: Pipeline authentication fails after a stored service principal client secret rotates. Context: A GitHub Actions release workflow should deploy infrastructure to a restricted Azure subscription without storing a client secret. This is the failure mechanism rather than an incidental symptom: Secret-based pipeline identity was used instead of a scoped federated trust configuration. It accounts for: Pipeline authentication fails after a stored service principal client secret rotates. The evidence instead supports “Secret-based pipeline identity was used instead of a scoped federated trust configuration”.
D:The alternative diagnosis “The workload is coupled to static credentials instead of the expected workload identity token trust” does not match the observed symptom: Pipeline authentication fails after a stored service principal client secret rotates. Context: A GitHub Actions release workflow should deploy infrastructure to a restricted Azure subscription without storing a client secret. This is the failure mechanism rather than an incidental symptom: Secret-based pipeline identity was used instead of a scoped federated trust configuration. It accounts for: Pipeline authentication fails after a stored service principal client secret rotates. The evidence instead supports “Secret-based pipeline identity was used instead of a scoped federated trust configuration”.
Question 96
The design change is: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The original failure was: Pipeline authentication fails after a stored service principal client secret rotates. Which ongoing control best prevents recurrence of the same root cause?
- Review service-account annotations, federated subjects and least-privilege database permissions.
- Review OIDC subject/audience trust and least-privilege scopes as repository branches change.
- Audit the user-assigned identity's assignments when services or environments are retired.
- Audit Key Vault role assignment and access denials after moving vault resources.
Explanation
Correct Answer
B:The preventive control is: Review OIDC subject/audience trust and least-privilege scopes as repository branches change. It targets the earlier cause: Secret-based pipeline identity was used instead of a scoped federated trust configuration. Confirm ongoing effectiveness by: Run a permitted pipeline and confirm its OIDC token exchanges successfully while a different branch claim is rejected.
Incorrect Answers
A:The alternative diagnosis “Review service-account annotations, federated subjects and least-privilege database permissions” does not match the observed symptom: The design change is: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The preventive control is: Review OIDC subject/audience trust and least-privilege scopes as repository branches change. It targets the earlier cause: Secret-based pipeline identity was used instead of a scoped federated trust configuration. The evidence instead supports “Review OIDC subject/audience trust and least-privilege scopes as repository branches change”.
C:The alternative diagnosis “Audit the user-assigned identity's assignments when services or environments are retired” does not match the observed symptom: The design change is: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The preventive control is: Review OIDC subject/audience trust and least-privilege scopes as repository branches change. It targets the earlier cause: Secret-based pipeline identity was used instead of a scoped federated trust configuration. The evidence instead supports “Review OIDC subject/audience trust and least-privilege scopes as repository branches change”.
D: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: Configure an Entra application/service principal workload identity federation credential for approved GitHub OIDC claims with scoped Azure RBAC. The preventive control is: Review OIDC subject/audience trust and least-privilege scopes as repository branches change. It targets the earlier cause: Secret-based pipeline identity was used instead of a scoped federated trust configuration. The evidence instead supports “Review OIDC subject/audience trust and least-privilege scopes as repository branches change”.
Question 97
A design workshop has this requirement: A financial app demands interactive sign-in requiring phishing-resistant credentials for privileged administrators regardless of user location. Operators currently observe: A privileged user can sign in with an ordinary SMS factor despite the requirement. Select the ONE design remedy that best addresses the root cause.
- Assign the least-privileged supported Microsoft Entra role appropriate for the reset task, scoped through an administrative unit where supported.
- Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions.
- Use Microsoft Entra B2B collaboration with an approved guest invitation and application-level assignment or access package.
- Publish the supported web app using Microsoft Entra Application Proxy and a healthy outbound connector group, with Entra preauthentication.
Explanation
Correct Answer
B:The evidence (A privileged user can sign in with an ordinary SMS factor despite the requirement.) identifies the following cause: An MFA requirement was configured without mandating phishing-resistant authentication methods. The design that removes it is: Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions. The acceptance check is: Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access.
Incorrect Answers
A:The alternative diagnosis “Assign the least-privileged supported Microsoft Entra role appropriate for the reset task, scoped through an administrative unit where supported” does not match the observed symptom: A privileged user can sign in with an ordinary SMS factor despite the requirement. The evidence (A privileged user can sign in with an ordinary SMS factor despite the requirement.) identifies the following cause: An MFA requirement was configured without mandating phishing-resistant authentication methods. The evidence instead supports “Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions”.
C:The alternative diagnosis “Use Microsoft Entra B2B collaboration with an approved guest invitation and application-level assignment or access package” does not match the observed symptom: A privileged user can sign in with an ordinary SMS factor despite the requirement. The evidence (A privileged user can sign in with an ordinary SMS factor despite the requirement.) identifies the following cause: An MFA requirement was configured without mandating phishing-resistant authentication methods. The evidence instead supports “Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions”.
D:The alternative diagnosis “Publish the supported web app using Microsoft Entra Application Proxy and a healthy outbound connector group, with Entra preauthentication” does not match the observed symptom: A privileged user can sign in with an ordinary SMS factor despite the requirement. The evidence (A privileged user can sign in with an ordinary SMS factor despite the requirement.) identifies the following cause: An MFA requirement was configured without mandating phishing-resistant authentication methods. The evidence instead supports “Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions”.
Question 98
The planned architecture is: Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions. Workload context: A financial app demands interactive sign-in requiring phishing-resistant credentials for privileged administrators regardless of user location. Which acceptance test demonstrates that the required behavior works?
- Invite the vendor and verify access only to the approved app under the tenant's external collaboration policies.
- Test an external login against Entra and verify the connector reaches the internal URL without an inbound internet firewall rule.
- Use a test operator to reset an authorized user's password and confirm an out-of-scope user's reset is denied.
- Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access.
Explanation
Correct Answer
D:This observation directly verifies the intended design: Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access. The architecture being tested is: Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions. The original symptom was: A privileged user can sign in with an ordinary SMS factor despite the requirement.
Incorrect Answers
A:This observation directly verifies the intended design: Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access.
B:That observation pertains to a separate failure: Remote users access a legacy web app directly without expected Conditional Access controls. Its cause is: The application was published by direct inbound exposure instead of Entra-aware proxy preauthentication. It does not confirm the result of this design. The direct proof would be: Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access.
C:The alternative test targets: Assign the least-privileged supported Microsoft Entra role appropriate for the reset task, scoped through an administrative unit where supported. The scenario's actual proposed remedy is: Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions. Verify that one by: Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access.
Question 99
The customer states: A financial app demands interactive sign-in requiring phishing-resistant credentials for privileged administrators regardless of user location. An incident reveals: A privileged user can sign in with an ordinary SMS factor despite the requirement. What cause best accounts for this evidence?
- An MFA requirement was configured without mandating phishing-resistant authentication methods.
- The application was published by direct inbound exposure instead of Entra-aware proxy preauthentication.
- External collaboration was treated as a permanent internal employee account rather than a governed guest identity.
- Directory role assignment has broader scope than the intended administrative unit.
Explanation
Correct Answer
A:The incident is explained by: An MFA requirement was configured without mandating phishing-resistant authentication methods. The reported symptom is: A privileged user can sign in with an ordinary SMS factor despite the requirement. The corresponding design fix is: Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions.
Incorrect Answers
B:The application was published by direct inbound exposure instead of Entra-aware proxy preauthentication. An MFA requirement was configured without mandating phishing-resistant authentication methods.
C:External collaboration was treated as a permanent internal employee account rather than a governed guest identity. An MFA requirement was configured without mandating phishing-resistant authentication methods.
D:Directory role assignment has broader scope than the intended administrative unit. An MFA requirement was configured without mandating phishing-resistant authentication methods.
Question 100
Workload context: A financial app demands interactive sign-in requiring phishing-resistant credentials for privileged administrators regardless of user location. The implemented remedy is: Apply a correctly targeted Microsoft Entra Conditional Access policy requiring an appropriate phishing-resistant authentication strength with tested exclusions. Which ongoing practice most specifically prevents recurrence of this failure: A privileged user can sign in with an ordinary SMS factor despite the requirement.?
- Maintain emergency access exclusion controls and re-evaluate strength policy after authentication method changes.
- Review role scopes and eligible assignments whenever the business unit's membership changes.
- Require guest access reviews and expiration/removal when the contractual engagement ends.
- Monitor connector health, published app preauthentication and Conditional Access exclusions.
Explanation
Correct Answer
A:The preventive control is: Maintain emergency access exclusion controls and re-evaluate strength policy after authentication method changes. It targets the earlier cause: An MFA requirement was configured without mandating phishing-resistant authentication methods. Confirm ongoing effectiveness by: Use report-only or What If evaluation and protected test accounts to verify required strength gates administrator access.
Incorrect Answers
B:Reviewing role scopes and eligible assignments whenever the business unit's membership changes would not maintain emergency access exclusion controls and re-evaluate strength policy after authentication method changes.
C:Requiring guest access reviews and expiration/removal when the contractual engagement ends would not maintain emergency access exclusion controls and re-evaluate strength policy after authentication method changes.
D:Monitoring connector health, published app preauthentication and Conditional Access exclusions would not maintain emergency access exclusion controls and re-evaluate strength policy after authentication method changes.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests