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.
Question 171
The customer states: An Azure Files share must authenticate Windows users with identity-based SMB rather than use a storage account access key on each workstation. An incident reveals: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares. What cause best accounts for this evidence?
- Identity-based SMB authentication and share-level permissions were not configured.
- The workload is coupled to static credentials instead of the expected workload identity token trust.
- The hybrid identity provisioning path between AD and Entra is missing or not healthy.
- The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization.
Explanation
Correct Answer
A:The incident is explained by: Identity-based SMB authentication and share-level permissions were not configured. The reported symptom is: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares. The corresponding design fix is: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization.
Incorrect Answers
B:The proposed diagnosis fits another scenario: The workload is coupled to static credentials instead of the expected workload identity token trust. It would typically be reflected by: Pods fail when an obsolete secret in Kubernetes is removed. The current evidence instead supports: Identity-based SMB authentication and share-level permissions were not configured.
C:The alternative weakness is: The hybrid identity provisioning path between AD and Entra is missing or not healthy. Its associated failure is: A new on-premises employee cannot authenticate to Microsoft 365 because no cloud identity exists. Neither explains the present observation: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares. The direct cause here is: Identity-based SMB authentication and share-level permissions were not configured.
D:This cause would explain a different symptom: A deployed app fails after its hard-coded storage account key expires. The mechanism for that event is: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. Here the stated symptom is: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares. Its cause is: Identity-based SMB authentication and share-level permissions were not configured.
Question 172
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. The implemented remedy is: Design supported identity-based SMB authentication for Azure Files with correct directory integration and share-level authorization. Which ongoing practice most specifically prevents recurrence of this failure: Users are prompted for storage keys and cannot use their directory credentials to mount SMB shares.?
- Audit identity synchronization and share-level role changes for file collaboration.
- Review managed-identity roles and audit code for remaining shared keys or SAS credentials.
- Monitor sync health and privileged account filtering during directory topology changes.
- Review service-account annotations, federated subjects and least-privilege database permissions.
Explanation
Correct Answer
A:The preventive control is: Audit identity synchronization and share-level role changes for file collaboration. It targets the earlier cause: Identity-based SMB authentication and share-level permissions were not configured. Confirm ongoing effectiveness by: Mount the share as an authorized user and verify unauthorized group membership cannot access the share.
Incorrect Answers
B: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: Identity-based SMB authentication and share-level permissions were not configured. The directly relevant safeguard is: Audit identity synchronization and share-level role changes for file collaboration.
C:The proposed control focuses on: The hybrid identity provisioning path between AD and Entra is missing or not healthy. For the design in the question, recurrence comes from: Identity-based SMB authentication and share-level permissions were not configured. A precise prevention step is: Audit identity synchronization and share-level role changes for file collaboration.
D:That safeguard manages another risk: The workload is coupled to static credentials instead of the expected workload identity token trust. Its scenario is: Pods fail when an obsolete secret in Kubernetes is removed. The present recurring risk is: Identity-based SMB authentication and share-level permissions were not configured. The proper ongoing control is: Audit identity synchronization and share-level role changes for file collaboration.
Question 173
A solution architect is reviewing a workload: An enterprise wants to issue narrowly scoped, short-lived blob upload access to a client app without embedding a storage account key. The observed incident is: Long-lived account-key SAS links remain active long after a vendor engagement ends. Which architecture choice most directly removes the identified weakness?
- Use Microsoft Entra B2B collaboration with an approved guest invitation and application-level assignment or access package.
- Enable assignment required on the enterprise application and assign only authorized users or groups to permitted app roles.
- Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope.
- Enable a system-assigned managed identity on the VM and grant the needed Storage Blob Data Reader data-plane role at the minimal scope.
Explanation
Correct Answer
C:This option addresses the actual design defect: The access design relies on shared keys rather than limited user-delegated authorizations. The correction is: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope. Confirm the outcome with: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
Incorrect Answers
A:This choice mitigates an alternative scenario, where: The vendor needs unrestricted tenant accounts to reach one internal app. The underlying issue there is: External collaboration was treated as a permanent internal employee account rather than a governed guest identity. Here the root issue is: The access design relies on shared keys rather than limited user-delegated authorizations. Choose the corresponding action: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope.
B:The option belongs to a different failure mechanism: The app allows unsolicited user sign-in when assignment gating is not enforced. That situation exhibits: A nonmember signs in to the app despite having no explicit enterprise-app assignment. For the stated case, the remedy is: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope.
D: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: The access design relies on shared keys rather than limited user-delegated authorizations. Choose the corresponding action: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope.
Question 174
An architect proposes this change: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope. The workload context is: An enterprise wants to issue narrowly scoped, short-lived blob upload access to a client app without embedding a storage account key. Which evidence would most directly validate the change?
- Invite the vendor and verify access only to the approved app under the tenant's external collaboration policies.
- Test sign-in as an unassigned user and as an assigned group member to confirm the boundary.
- Run the read from the VM token context and verify access disappears when the managed identity is removed.
- Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
Explanation
Correct Answer
D:The acceptance test is specific: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied. Its purpose is to establish that the proposed architecture works: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope.
Incorrect Answers
A: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: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
B:The alternative test targets: Enable assignment required on the enterprise application and assign only authorized users or groups to permitted app roles. The scenario's actual proposed remedy is: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope. Verify that one by: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
C: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: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
Question 175
During architecture troubleshooting, a team reports: Long-lived account-key SAS links remain active long after a vendor engagement ends. Context: An enterprise wants to issue narrowly scoped, short-lived blob upload access to a client app without embedding a storage account key. Which underlying design mistake explains the observed behavior most precisely?
- External collaboration was treated as a permanent internal employee account rather than a governed guest identity.
- The access design relies on shared keys rather than limited user-delegated authorizations.
- The app allows unsolicited user sign-in when assignment gating is not enforced.
- The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization.
Explanation
Correct Answer
B:The recorded behavior follows from: The access design relies on shared keys rather than limited user-delegated authorizations. The appropriate mitigation would be: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope. Verify with: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
Incorrect Answers
A: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: The access design relies on shared keys rather than limited user-delegated authorizations.
C:This cause would explain a different symptom: A nonmember signs in to the app despite having no explicit enterprise-app assignment. The mechanism for that event is: The app allows unsolicited user sign-in when assignment gating is not enforced. Here the stated symptom is: Long-lived account-key SAS links remain active long after a vendor engagement ends. Its cause is: The access design relies on shared keys rather than limited user-delegated authorizations.
D:The proposed diagnosis fits another scenario: The app depends on stored credentials rather than the VM managed identity plus Azure RBAC data-plane authorization. It would typically be reflected by: A deployed app fails after its hard-coded storage account key expires. The current evidence instead supports: The access design relies on shared keys rather than limited user-delegated authorizations.
Question 176
The design change is: Generate a Microsoft Entra-authorized user delegation SAS with minimal resource, permission and expiry scope. The original failure was: Long-lived account-key SAS links remain active long after a vendor engagement ends. Which ongoing control best prevents recurrence of the same root cause?
- Require guest access reviews and expiration/removal when the contractual engagement ends.
- Audit group membership and application role mappings after business unit reorganizations.
- Review SAS issuance, expiry and key-access restrictions for external clients.
- Review managed-identity roles and audit code for remaining shared keys or SAS credentials.
Explanation
Correct Answer
C:The preventive control is: Review SAS issuance, expiry and key-access restrictions for external clients. It targets the earlier cause: The access design relies on shared keys rather than limited user-delegated authorizations. Confirm ongoing effectiveness by: Upload using the delegation SAS, confirm expiry is enforced and a different container is denied.
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: The access design relies on shared keys rather than limited user-delegated authorizations. The directly relevant safeguard is: Review SAS issuance, expiry and key-access restrictions for external clients.
B:The proposed control focuses on: The app allows unsolicited user sign-in when assignment gating is not enforced. For the design in the question, recurrence comes from: The access design relies on shared keys rather than limited user-delegated authorizations. A precise prevention step is: Review SAS issuance, expiry and key-access restrictions for external clients.
D: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: The access design relies on shared keys rather than limited user-delegated authorizations. The directly relevant safeguard is: Review SAS issuance, expiry and key-access restrictions for external clients.
Question 177
A design workshop has this requirement: A global company wants corporate policies inherited by all business-unit subscriptions while delegating subscription ownership locally. Operators currently observe: A newly created subscription bypasses enterprise restrictions because it was never attached to governance scope. Select the ONE design remedy that best addresses the root cause.
- Design management-group hierarchy and subscription placement with clear platform versus landing-zone responsibilities.
- Use an approved subscription-vending and landing-zone deployment design with inherited policies, RBAC and network subscriptions.
- Assign governance policies and allow auditors Reader/Policy Insights access for compliance reporting at an appropriate scope.
- Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope.
Explanation
Correct Answer
D:The targeted implementation is: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope. The problem is not generic resource availability: Policy inheritance was not applied through the correct management-group hierarchy. Verify the result by: Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
Incorrect Answers
A:The option belongs to a different failure mechanism: Management-group segmentation and inherited role scope do not match intended trust boundaries. That situation exhibits: Development identities receive production management rights because all subscriptions share one permissive governance branch. For the stated case, the remedy is: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope.
B:That design instead addresses another observed condition: New project subscriptions are manually provisioned without policy and logging controls. Its technical cause is: Subscription vending fails to apply the standard landing-zone configuration. The current workload exhibits: A newly created subscription bypasses enterprise restrictions because it was never attached to governance scope. Its targeted remedy is: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope.
C:This choice mitigates an alternative scenario, where: Compliance reviewers are made subscription Owners solely to view policy state. The underlying issue there is: Visibility role separation was not designed; policy reporting does not require resource ownership. Here the root issue is: Policy inheritance was not applied through the correct management-group hierarchy. Choose the corresponding action: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope.
Question 178
The planned architecture is: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope. Workload context: A global company wants corporate policies inherited by all business-unit subscriptions while delegating subscription ownership locally. Which acceptance test demonstrates that the required behavior works?
- Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
- Provision a pilot subscription and verify inherited policies, diagnostic collection and baseline connectivity.
- Have an auditor view noncompliant resources and approved exemptions but fail to alter the policies.
- Create a sandbox subscription and confirm it cannot inherit production-only RBAC while receiving universal governance policies.
Explanation
Correct Answer
A:The decisive evidence is: Deploy a test subscription under the branch and confirm its inherited policy is evaluated. This measures the mechanism of the planned change, not an unrelated Azure service: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope.
Incorrect Answers
B:This check validates a different workload: Provision a pilot subscription and verify inherited policies, diagnostic collection and baseline connectivity. Its associated design is: Use an approved subscription-vending and landing-zone deployment design with inherited policies, RBAC and network subscriptions. The required acceptance test here is: Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
C:That observation pertains to a separate failure: Compliance reviewers are made subscription Owners solely to view policy state. Its cause is: Visibility role separation was not designed; policy reporting does not require resource ownership. It does not confirm the result of this design. The direct proof would be: Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
D:The alternative test targets: Design management-group hierarchy and subscription placement with clear platform versus landing-zone responsibilities. The scenario's actual proposed remedy is: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope. Verify that one by: Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
Question 179
The customer states: A global company wants corporate policies inherited by all business-unit subscriptions while delegating subscription ownership locally. An incident reveals: A newly created subscription bypasses enterprise restrictions because it was never attached to governance scope. What cause best accounts for this evidence?
- Management-group segmentation and inherited role scope do not match intended trust boundaries.
- Subscription vending fails to apply the standard landing-zone configuration.
- Visibility role separation was not designed; policy reporting does not require resource ownership.
- Policy inheritance was not applied through the correct management-group hierarchy.
Explanation
Correct Answer
D:The recorded behavior follows from: Policy inheritance was not applied through the correct management-group hierarchy. The appropriate mitigation would be: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope. Verify with: Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
Incorrect Answers
A:The alternative weakness is: Management-group segmentation and inherited role scope do not match intended trust boundaries. Its associated failure is: Development identities receive production management rights because all subscriptions share one permissive governance branch. Neither explains the present observation: A newly created subscription bypasses enterprise restrictions because it was never attached to governance scope. The direct cause here is: Policy inheritance was not applied through the correct management-group hierarchy.
B:This cause would explain a different symptom: New project subscriptions are manually provisioned without policy and logging controls. The mechanism for that event is: Subscription vending fails to apply the standard landing-zone configuration. Here the stated symptom is: A newly created subscription bypasses enterprise restrictions because it was never attached to governance scope. Its cause is: Policy inheritance was not applied through the correct management-group hierarchy.
C:The proposed diagnosis fits another scenario: Visibility role separation was not designed; policy reporting does not require resource ownership. It would typically be reflected by: Compliance reviewers are made subscription Owners solely to view policy state. The current evidence instead supports: Policy inheritance was not applied through the correct management-group hierarchy.
Question 180
Workload context: A global company wants corporate policies inherited by all business-unit subscriptions while delegating subscription ownership locally. The implemented remedy is: Organize subscriptions under Azure management groups and assign suitable policy at the shared ancestor scope. Which ongoing practice most specifically prevents recurrence of this failure: A newly created subscription bypasses enterprise restrictions because it was never attached to governance scope.?
- Continuously reconcile subscription inventory against the landing-zone baseline.
- Review governance access and exemption approvers during each audit cycle.
- Audit subscriptions without the required management-group parent after onboarding.
- Review hierarchy inheritance during subscription moves between business units.
Explanation
Correct Answer
C:This is an ongoing protection specific to the fault: Audit subscriptions without the required management-group parent after onboarding. The recurrence risk is: Policy inheritance was not applied through the correct management-group hierarchy. It should be checked using: Deploy a test subscription under the branch and confirm its inherited policy is evaluated.
Incorrect Answers
A:The proposed control focuses on: Subscription vending fails to apply the standard landing-zone configuration. For the design in the question, recurrence comes from: Policy inheritance was not applied through the correct management-group hierarchy. A precise prevention step is: Audit subscriptions without the required management-group parent after onboarding.
B:That safeguard manages another risk: Visibility role separation was not designed; policy reporting does not require resource ownership. Its scenario is: Compliance reviewers are made subscription Owners solely to view policy state. The present recurring risk is: Policy inheritance was not applied through the correct management-group hierarchy. The proper ongoing control is: Audit subscriptions without the required management-group parent after onboarding.
D:The proposed control focuses on: Management-group segmentation and inherited role scope do not match intended trust boundaries. For the design in the question, recurrence comes from: Policy inheritance was not applied through the correct management-group hierarchy. A precise prevention step is: Audit subscriptions without the required management-group parent after onboarding.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests