Question 380 An enterprise is choosing between traditional service principals and managed identities for a migration. An application must authenticate to Entra from an external on-premises service that cannot use managed identity. What is the best next administrative action? Check resource networking and Key Vault access model as well as RBAC Use an appropriate application registration with secure credential or federation support Inspect service principal type and associated Azure resource metadata Distinguish workload principal identifiers from human user principal names Explanation Correct Answer B:An off-Azure workload needs an supported noninteractive authentication mechanism independent of Azure resource identity. Incorrect Answers A:When the team suspects a managed identity cannot reach Key Vault despite an approved role, Check resource networking and Key Vault access model as well as RBAC is justified because access can fail due to private connectivity or an incorrect policy model even with a valid token; here the issue is an application must authenticate to Entra from an external on-premises service that cannot use managed identity, and Use an appropriate application registration with secure credential or federation support addresses that distinction. C:The distinct mechanism for Inspect service principal type and associated Azure resource metadata is that both are directory principals but managed identities have resource-managed lifecycle semantics; this handles security wants to know whether a service principal is application-created or managed-identity-backed rather than an application must authenticate to Entra from an external on-premises service that cannot use managed identity, so use Use an appropriate application registration with secure credential or federation support. D:Although Distinguish workload principal identifiers from human user principal names fits an owner asks why a managed identity's application ID cannot be treated like a user UPN (workload applications and human directory users have different identity objects and sign-in flows), it is not the necessary control for an application must authenticate to Entra from an external on-premises service that cannot use managed identity. Select Use an appropriate application registration with secure credential or federation support.
Question 381 An enterprise is choosing between traditional service principals and managed identities for a migration. Security wants to know whether a service principal is application-created or managed-identity-backed. Which option is most appropriate for this specific condition? Distinguish workload principal identifiers from human user principal names Reduce the app and resource grants to only the required operations Inspect service principal type and associated Azure resource metadata Prefer a managed identity for its cloud token issuance where capabilities match Explanation Correct Answer C:Both are directory principals but managed identities have resource-managed lifecycle semantics. Incorrect Answers A:Distinguish workload principal identifiers from human user principal names concerns an owner asks why a managed identity's application ID cannot be treated like a user UPN, where workload applications and human directory users have different identity objects and sign-in flows; the current scenario instead requires security wants to know whether a service principal is application-created or managed-identity-backed, so Inspect service principal type and associated Azure resource metadata is a closer fit. B:The distinct mechanism for Reduce the app and resource grants to only the required operations is that application identities can be overprivileged even when their credentials are temporary or federated; this handles security finds that the application's service principal has unrelated directory-wide permissions rather than security wants to know whether a service principal is application-created or managed-identity-backed, so use Inspect service principal type and associated Azure resource metadata. D:Prefer a managed identity for its cloud token issuance where capabilities match would support the different situation where the application runs exclusively on Azure-hosted compute supporting managed identities: managed identities reduce manual secret lifecycle and credentials exposure for Azure workloads; however it does not resolve security wants to know whether a service principal is application-created or managed-identity-backed, which calls for Inspect service principal type and associated Azure resource metadata.
Question 382 An enterprise is choosing between traditional service principals and managed identities for a migration. An owner asks why a managed identity's application ID cannot be treated like a user UPN. What configuration should be selected? Use an appropriate application registration with secure credential or federation support Assign the specific storage data RBAC role to its managed identity at the needed scope Distinguish workload principal identifiers from human user principal names Prefer a managed identity for its cloud token issuance where capabilities match Explanation Correct Answer C:Workload applications and human directory users have different identity objects and sign-in flows. Incorrect Answers A:The distinct mechanism for Use an appropriate application registration with secure credential or federation support is that an off-Azure workload needs an supported noninteractive authentication mechanism independent of Azure resource identity; this handles an application must authenticate to Entra from an external on-premises service that cannot use managed identity rather than an owner asks why a managed identity's application ID cannot be treated like a user UPN, so use Distinguish workload principal identifiers from human user principal names. B:Although Assign the specific storage data RBAC role to its managed identity at the needed scope fits the research app must access Blob data without giving it subscription Owner (storage data access roles can be limited independently of broad Azure subscription management rights), it is not the necessary control for an owner asks why a managed identity's application ID cannot be treated like a user UPN. Select Distinguish workload principal identifiers from human user principal names. D:Managed identities reduce manual secret lifecycle and credentials exposure for Azure workloads, which makes Prefer a managed identity for its cloud token issuance where capabilities match appropriate when the application runs exclusively on Azure-hosted compute supporting managed identities; here the task is an owner asks why a managed identity's application ID cannot be treated like a user UPN, requiring Distinguish workload principal identifiers from human user principal names.
Question 383 A national airline is operating Azure VMs in separate production and nonproduction subscriptions. The production VM should access only production storage containers. Which recommendation is most defensible? Audit and clean up the independent identity and permissions after resource decommission Attach an approved user-assigned managed identity to the supported container resources Assign its managed identity a production-scoped storage data role without broad subscription grants Verify the token audience and target storage data-plane role assignment Explanation Correct Answer C:Resource-scoped authorization keeps the nonproduction storage boundary intact. Incorrect Answers A:Although Audit and clean up the independent identity and permissions after resource decommission fits a deleted VM leaves an old user-assigned identity and role assignments in the subscription (user-assigned identities are not automatically deleted with each attached compute resource), it is not the necessary control for the production VM should access only production storage containers. Select Assign its managed identity a production-scoped storage data role without broad subscription grants. B:Attach an approved user-assigned managed identity to the supported container resources would support the different situation where containers should use a single explicitly managed workload identity through resource replacement: user-assigned identities survive application revision and resource changes when managed separately; however it does not resolve the production VM should access only production storage containers, which calls for Assign its managed identity a production-scoped storage data role without broad subscription grants. D:When an operator mistakes the service principal's ability to request a token for authority to read private files, Verify the token audience and target storage data-plane role assignment is justified because valid workload authentication is necessary but insufficient for the requested resource data action; here the issue is the production VM should access only production storage containers, and Assign its managed identity a production-scoped storage data role without broad subscription grants addresses that distinction.
Question 384 A national airline is operating Azure VMs in separate production and nonproduction subscriptions. Nonproduction instances use the same user-assigned identity as production by accident. Which configuration best addresses the stated requirement? Verify the token audience and target storage data-plane role assignment Attach an approved user-assigned managed identity to the supported container resources Split the identities and resource grants into separately managed production and test principals Assign its managed identity a production-scoped storage data role without broad subscription grants Explanation Correct Answer C:Sharing a principal can accidentally bridge authorization across environment boundaries. Incorrect Answers A:Verify the token audience and target storage data-plane role assignment would support the different situation where an operator mistakes the service principal's ability to request a token for authority to read private files: valid workload authentication is necessary but insufficient for the requested resource data action; however it does not resolve nonproduction instances use the same user-assigned identity as production by accident, which calls for Split the identities and resource grants into separately managed production and test principals. B:User-assigned identities survive application revision and resource changes when managed separately, which makes Attach an approved user-assigned managed identity to the supported container resources appropriate when containers should use a single explicitly managed workload identity through resource replacement; here the task is nonproduction instances use the same user-assigned identity as production by accident, requiring Split the identities and resource grants into separately managed production and test principals. D:Assign its managed identity a production-scoped storage data role without broad subscription grants concerns the production VM should access only production storage containers, where resource-scoped authorization keeps the nonproduction storage boundary intact; the current scenario instead requires nonproduction instances use the same user-assigned identity as production by accident, so Split the identities and resource grants into separately managed production and test principals is a closer fit.
Question 385 A national airline is operating Azure VMs in separate production and nonproduction subscriptions. A deleted VM leaves an old user-assigned identity and role assignments in the subscription. What should the identity administrator implement? Audit and clean up the independent identity and permissions after resource decommission Assign its managed identity a production-scoped storage data role without broad subscription grants Split the identities and resource grants into separately managed production and test principals Choose a system-assigned managed identity on the VM Explanation Correct Answer A:User-assigned identities are not automatically deleted with each attached compute resource. Incorrect Answers B:When the production VM should access only production storage containers, Assign its managed identity a production-scoped storage data role without broad subscription grants is justified because resource-scoped authorization keeps the nonproduction storage boundary intact; here the issue is a deleted VM leaves an old user-assigned identity and role assignments in the subscription, and Audit and clean up the independent identity and permissions after resource decommission addresses that distinction. C:Split the identities and resource grants into separately managed production and test principals concerns nonproduction instances use the same user-assigned identity as production by accident, where sharing a principal can accidentally bridge authorization across environment boundaries; the current scenario instead requires a deleted VM leaves an old user-assigned identity and role assignments in the subscription, so Audit and clean up the independent identity and permissions after resource decommission is a closer fit. D:The distinct mechanism for Choose a system-assigned managed identity on the VM is that a system-assigned identity is bound to its parent resource and has no independent reattachment lifecycle; this handles a VM's workload identity must disappear when that VM is permanently deleted rather than a deleted VM leaves an old user-assigned identity and role assignments in the subscription, so use Audit and clean up the independent identity and permissions after resource decommission.
Question 386 A national airline is operating Azure VMs in separate production and nonproduction subscriptions. An operator mistakes the service principal's ability to request a token for authority to read private files. Which change most directly satisfies the scenario? Assign the minimum Azure RBAC role to the workload principal at the target scope Verify the token audience and target storage data-plane role assignment Split the identities and resource grants into separately managed production and test principals Audit and clean up the independent identity and permissions after resource decommission Explanation Correct Answer B:Valid workload authentication is necessary but insufficient for the requested resource data action. Incorrect Answers A:When the pipeline has a valid Entra token but lacks deployment permission, Assign the minimum Azure RBAC role to the workload principal at the target scope is justified because token authentication does not grant resource-provider actions absent the corresponding RBAC role; here the issue is an operator mistakes the service principal's ability to request a token for authority to read private files, and Verify the token audience and target storage data-plane role assignment addresses that distinction. C:The distinct mechanism for Split the identities and resource grants into separately managed production and test principals is that sharing a principal can accidentally bridge authorization across environment boundaries; this handles nonproduction instances use the same user-assigned identity as production by accident rather than an operator mistakes the service principal's ability to request a token for authority to read private files, so use Verify the token audience and target storage data-plane role assignment. D:Although Audit and clean up the independent identity and permissions after resource decommission fits a deleted VM leaves an old user-assigned identity and role assignments in the subscription (user-assigned identities are not automatically deleted with each attached compute resource), it is not the necessary control for an operator mistakes the service principal's ability to request a token for authority to read private files. Select Verify the token audience and target storage data-plane role assignment.
Question 387 A government laboratory reviews managed identity access for applications handling restricted research data. Investigators require a stable identity for a multi-resource automation that is moved across approved compute pools. Which option is most appropriate for this specific condition? Disable or remove affected assignments and revoke resource permissions under the incident procedure Check resource networking and Key Vault access model as well as RBAC Revoke the exposed credential and migrate to a managed or federated identity where feasible Provision an independently governed user-assigned managed identity for supported resources Explanation Correct Answer D:A separate identity can be attached to successive eligible compute resources under the same access controls. Incorrect Answers A:Disable or remove affected assignments and revoke resource permissions under the incident procedure concerns the legal team requires disabling a compromised managed identity immediately, where workload containment should remove the ability to acquire or use rights rather than only change a display name; the current scenario instead requires investigators require a stable identity for a multi-resource automation that is moved across approved compute pools, so Provision an independently governed user-assigned managed identity for supported resources is a closer fit. B:The distinct mechanism for Check resource networking and Key Vault access model as well as RBAC is that access can fail due to private connectivity or an incorrect policy model even with a valid token; this handles the team suspects a managed identity cannot reach Key Vault despite an approved role rather than investigators require a stable identity for a multi-resource automation that is moved across approved compute pools, so use Provision an independently governed user-assigned managed identity for supported resources. C:Although Revoke the exposed credential and migrate to a managed or federated identity where feasible fits a code review finds a production service principal secret checked into source control (rotating or eliminating the leaked secret limits reuse and removes the persistent credential from source), it is not the necessary control for investigators require a stable identity for a multi-resource automation that is moved across approved compute pools. Select Provision an independently governed user-assigned managed identity for supported resources.
Question 388 A government laboratory reviews managed identity access for applications handling restricted research data. The legal team requires disabling a compromised managed identity immediately. What configuration should be selected? Inspect the target API's access control and the token's intended audience Provision an independently governed user-assigned managed identity for supported resources Disable or remove affected assignments and revoke resource permissions under the incident procedure Check resource networking and Key Vault access model as well as RBAC Explanation Correct Answer C:Workload containment should remove the ability to acquire or use rights rather than only change a display name. Incorrect Answers A:The distinct mechanism for Inspect the target API's access control and the token's intended audience is that an Entra identity token can be valid while the resource independently denies an ungranted action; this handles an application unexpectedly receives a 403 after obtaining an identity token rather than the legal team requires disabling a compromised managed identity immediately, so use Disable or remove affected assignments and revoke resource permissions under the incident procedure. B:Although Provision an independently governed user-assigned managed identity for supported resources fits investigators require a stable identity for a multi-resource automation that is moved across approved compute pools (a separate identity can be attached to successive eligible compute resources under the same access controls), it is not the necessary control for the legal team requires disabling a compromised managed identity immediately. Select Disable or remove affected assignments and revoke resource permissions under the incident procedure. D:Access can fail due to private connectivity or an incorrect policy model even with a valid token, which makes Check resource networking and Key Vault access model as well as RBAC appropriate when the team suspects a managed identity cannot reach Key Vault despite an approved role; here the task is the legal team requires disabling a compromised managed identity immediately, requiring Disable or remove affected assignments and revoke resource permissions under the incident procedure.
Question 389 A government laboratory reviews managed identity access for applications handling restricted research data. An application unexpectedly receives a 403 after obtaining an identity token. Which Microsoft Entra capability best satisfies the requirement? Inspect the target API's access control and the token's intended audience Prefer a managed identity for its cloud token issuance where capabilities match Revoke the exposed credential and migrate to a managed or federated identity where feasible Disable or remove affected assignments and revoke resource permissions under the incident procedure Explanation Correct Answer A:An Entra identity token can be valid while the resource independently denies an ungranted action. Incorrect Answers B:Prefer a managed identity for its cloud token issuance where capabilities match would support the different situation where the application runs exclusively on Azure-hosted compute supporting managed identities: managed identities reduce manual secret lifecycle and credentials exposure for Azure workloads; however it does not resolve an application unexpectedly receives a 403 after obtaining an identity token, which calls for Inspect the target API's access control and the token's intended audience. C:Rotating or eliminating the leaked secret limits reuse and removes the persistent credential from source, which makes Revoke the exposed credential and migrate to a managed or federated identity where feasible appropriate when a code review finds a production service principal secret checked into source control; here the task is an application unexpectedly receives a 403 after obtaining an identity token, requiring Inspect the target API's access control and the token's intended audience. D:When the legal team requires disabling a compromised managed identity immediately, Disable or remove affected assignments and revoke resource permissions under the incident procedure is justified because workload containment should remove the ability to acquire or use rights rather than only change a display name; here the issue is an application unexpectedly receives a 403 after obtaining an identity token, and Inspect the target API's access control and the token's intended audience addresses that distinction.
Question 390 A government laboratory reviews managed identity access for applications handling restricted research data. A code review finds a production service principal secret checked into source control. Which recommendation is most defensible? Revoke the exposed credential and migrate to a managed or federated identity where feasible Reduce the app and resource grants to only the required operations Inspect the target API's access control and the token's intended audience Provision an independently governed user-assigned managed identity for supported resources Explanation Correct Answer A:Rotating or eliminating the leaked secret limits reuse and removes the persistent credential from source. Incorrect Answers B:Application identities can be overprivileged even when their credentials are temporary or federated, which makes Reduce the app and resource grants to only the required operations appropriate when security finds that the application's service principal has unrelated directory-wide permissions; here the task is a code review finds a production service principal secret checked into source control, requiring Revoke the exposed credential and migrate to a managed or federated identity where feasible. C:When an application unexpectedly receives a 403 after obtaining an identity token, Inspect the target API's access control and the token's intended audience is justified because an Entra identity token can be valid while the resource independently denies an ungranted action; here the issue is a code review finds a production service principal secret checked into source control, and Revoke the exposed credential and migrate to a managed or federated identity where feasible addresses that distinction. D:Provision an independently governed user-assigned managed identity for supported resources concerns investigators require a stable identity for a multi-resource automation that is moved across approved compute pools, where a separate identity can be attached to successive eligible compute resources under the same access controls; the current scenario instead requires a code review finds a production service principal secret checked into source control, so Revoke the exposed credential and migrate to a managed or federated identity where feasible is a closer fit.