Question 130 An e-commerce enterprise needs secure hybrid sign-on. The security architect wants to prevent application teams from handing out self-signed credential secrets. What is the most defensible design for this scenario? Separate administrative/control-plane privileges from Key Vault or HSM data-plane roles Separate identity authentication from resource/data authorization with scoped roles Restrict application registration/consent policies and support certificate or federated identity standards Evaluate local AD DS authentication dependencies and recovery rather than assuming cloud SSO remains available Explanation Correct Answer C:Credential governance limits unreviewed persistent identities and high-privilege app permissions. Incorrect Answers A:Management scope does not by itself imply permission to use or retrieve managed secrets and private keys. B:Successful sign-in proves identity but does not establish permission to sensitive tables or files. D:Hybrid systems must define their offline authentication boundary and domain controller availability.
Question 131 A financial services company revisits guest and admin governance. A departed B2B contractor still appears as a guest with group membership. Which architecture should the organization recommend? Configure Entra access reviews for appropriate external identity assignments Use app-only client credentials with narrowly assigned application roles rather than delegated user scopes Revoke assignments and delete or disable obsolete guest access through lifecycle governance Revoke refresh sessions and require credential reset or risk remediation as appropriate Explanation Correct Answer C:Removing employment at the home company does not automatically clean up all resource-tenant grants. Incorrect Answers A:For security wants periodic confirmation that partner accounts still require access, configure entra access reviews for appropriate external identity assignments is appropriate because scheduled reviews produce approve/deny decisions rather than leaving old invitations permanently effective, whereas a departed b2b contractor still appears as a guest with group membership depends on revoke assignments and delete or disable obsolete guest access through lifecycle governance since removing employment at the home company does not automatically clean up all resource-tenant grants. B:Daemon authentication has no interactive user context and should not impersonate one. D:For an administrator needs to reset a compromised user's sessions immediately, revoke refresh sessions and require credential reset or risk remediation as appropriate is appropriate because session revocation limits refresh continuity but already issued access tokens may persist until expiry, whereas a departed b2b contractor still appears as a guest with group membership depends on revoke assignments and delete or disable obsolete guest access through lifecycle governance since removing employment at the home company does not automatically clean up all resource-tenant grants.
Question 132 A financial services company revisits guest and admin governance. An administrator needs to reset a compromised user's sessions immediately. Which Azure design decision most directly addresses the requirement? Revoke refresh sessions and require credential reset or risk remediation as appropriate Use OAuth authorization-code flow with PKCE for suitable public clients Use Azure Key Vault secret storage with versioning and rotation controls Revoke assignments and delete or disable obsolete guest access through lifecycle governance Explanation Correct Answer A:Session revocation limits refresh continuity but already issued access tokens may persist until expiry. Incorrect Answers B:PKCE protects the code exchange without requiring a secret embedded in a public client. C:For an application needs to store a database password with rotation and audit history, use azure key vault secret storage with versioning and rotation controls is appropriate because key Vault secret versions and access policies support governed credential lifecycle without hardcoding values, whereas an administrator needs to reset a compromised user's sessions immediately depends on revoke refresh sessions and require credential reset or risk remediation as appropriate since session revocation limits refresh continuity but already issued access tokens may persist until expiry. D:Removing employment at the home company does not automatically clean up all resource-tenant grants.
Question 133 A financial services company revisits guest and admin governance. A break-glass account is used without any monitoring notification. What should the solution architect select or change? Alert on its sign-in activity and investigate every use Revoke refresh sessions and require credential reset or risk remediation as appropriate Use OAuth authorization-code flow with PKCE for suitable public clients Use an Entra identity with scoped storage data role assignments across the target resources Explanation Correct Answer A:Emergency account events are rare and should trigger high-priority oversight. Incorrect Answers B:For an administrator needs to reset a compromised user's sessions immediately, revoke refresh sessions and require credential reset or risk remediation as appropriate is appropriate because session revocation limits refresh continuity but already issued access tokens may persist until expiry, whereas a break-glass account is used without any monitoring notification depends on alert on its sign-in activity and investigate every use since emergency account events are rare and should trigger high-priority oversight. C:PKCE protects the code exchange without requiring a secret embedded in a public client. D:Cross-subscription access uses explicit identity authorization, not automatic permissions from source subscription ownership.
Question 134 A financial services company revisits guest and admin governance. A client application must use delegated authorization without receiving a long-lived password. Which approach meets the workload requirement without introducing an unrelated dependency? Use OAuth authorization-code flow with PKCE for suitable public clients Revoke refresh sessions and require credential reset or risk remediation as appropriate Alert on its sign-in activity and investigate every use Use a supported Entra token-based database authentication with the function's managed identity Explanation Correct Answer A:PKCE protects the code exchange without requiring a secret embedded in a public client. Incorrect Answers B:Session revocation limits refresh continuity but already issued access tokens may persist until expiry. C:Emergency account events are rare and should trigger high-priority oversight. D:For a short-lived azure function needs to access a database without distributing a connection password, use a supported entra token-based database authentication with the function's managed identity is appropriate because token-based access avoids embedding long-lived connection credentials in code or configuration, whereas a client application must use delegated authorization without receiving a long-lived password depends on use oauth authorization-code flow with pkce for suitable public clients since pKCE protects the code exchange without requiring a secret embedded in a public client.
Question 135 A financial services company revisits guest and admin governance. A background job should be authorized solely by its own application identity. What is the most defensible design for this scenario? Revoke assignments and delete or disable obsolete guest access through lifecycle governance Revoke refresh sessions and require credential reset or risk remediation as appropriate Use app-only client credentials with narrowly assigned application roles rather than delegated user scopes Avoid assuming the old principal ID persists; plan role reassignment or a user-assigned identity Explanation Correct Answer C:Daemon authentication has no interactive user context and should not impersonate one. Incorrect Answers A:Removing employment at the home company does not automatically clean up all resource-tenant grants. B:Session revocation limits refresh continuity but already issued access tokens may persist until expiry. D:System-assigned identity lifecycle follows its parent Azure resource and can change on recreation.
Question 136 An enterprise requires accountable access for hundreds of automation identities. A scheduled integration uses one client secret shared by five business units. Which architecture should the organization recommend? Enforce both Entra authentication and application/business-level authorization Enable a managed identity on the VM and authorize it for the secret operation Give each automation workload its own scoped identity and rotate shared credentials Grant the smallest supported secret data action at an appropriate scope Explanation Correct Answer C:Dedicated service principals or managed identities improve attribution and reduce shared-secret blast radius. Incorrect Answers A:An authenticated employee is not automatically entitled to every invoice record. B:For an azure vm service must access key vault without storing a client secret in its deployment image, enable a managed identity on the vm and authorize it for the secret operation is appropriate because managed identities obtain tokens from Azure's identity platform without application-managed reusable credentials, whereas a scheduled integration uses one client secret shared by five business units depends on give each automation workload its own scoped identity and rotate shared credentials since dedicated service principals or managed identities improve attribution and reduce shared-secret blast radius. D:Fine-grained secret roles reduce lateral exposure compared with broad vault administrator rights.
Question 137 An enterprise requires accountable access for hundreds of automation identities. A VM identity needs to read one Key Vault secret but not list all secrets. Which Azure design decision most directly addresses the requirement? Enforce both Entra authentication and application/business-level authorization Verify the effective vault permission model and grant the identity appropriate data-plane access Grant the smallest supported secret data action at an appropriate scope Give each automation workload its own scoped identity and rotate shared credentials Explanation Correct Answer C:Fine-grained secret roles reduce lateral exposure compared with broad vault administrator rights. Incorrect Answers A:For a finance app must authenticate a user and also validate their entitlement to a particular invoice, enforce both entra authentication and application/business-level authorization is appropriate because an authenticated employee is not automatically entitled to every invoice record, whereas a vm identity needs to read one key vault secret but not list all secrets depends on grant the smallest supported secret data action at an appropriate scope since fine-grained secret roles reduce lateral exposure compared with broad vault administrator rights. B:Identity creation alone does not authorize Key Vault secret/key operations. D:For a scheduled integration uses one client secret shared by five business units, give each automation workload its own scoped identity and rotate shared credentials is appropriate because dedicated service principals or managed identities improve attribution and reduce shared-secret blast radius, whereas a vm identity needs to read one key vault secret but not list all secrets depends on grant the smallest supported secret data action at an appropriate scope since fine-grained secret roles reduce lateral exposure compared with broad vault administrator rights.
Question 138 An enterprise requires accountable access for hundreds of automation identities. A finance app must authenticate a user and also validate their entitlement to a particular invoice. What should the solution architect select or change? Configure a suitable maximum activation duration and review role eligibility Grant the smallest supported secret data action at an appropriate scope Automate certificate rollover with overlapping credentials and expiration alerts Enforce both Entra authentication and application/business-level authorization Explanation Correct Answer D:An authenticated employee is not automatically entitled to every invoice record. Incorrect Answers A:PIM activation limits standing elevation when short administration tasks end. B:Fine-grained secret roles reduce lateral exposure compared with broad vault administrator rights. C:For a cloud app uses a certificate to authenticate to another api and that certificate nears expiration, automate certificate rollover with overlapping credentials and expiration alerts is appropriate because credential rotation without a temporary overlap can break a valid workload service principal, whereas a finance app must authenticate a user and also validate their entitlement to a particular invoice depends on enforce both entra authentication and application/business-level authorization since an authenticated employee is not automatically entitled to every invoice record.
Question 139 An enterprise requires accountable access for hundreds of automation identities. A PIM role remains active far beyond the maintenance window. Which approach meets the workload requirement without introducing an unrelated dependency? Configure a suitable maximum activation duration and review role eligibility Migrate repeatable app access changes to audited IaC and least-privilege role assignments Enforce both Entra authentication and application/business-level authorization Examine token lifetime, revocation behavior and API authorization checks Explanation Correct Answer A:PIM activation limits standing elevation when short administration tasks end. Incorrect Answers B:For a group of developers uses azure portal role changes for routine application deployments, migrate repeatable app access changes to audited iac and least-privilege role assignments is appropriate because declarative authorization helps detect drift and enforces traceable change control, whereas a pim role remains active far beyond the maintenance window depends on configure a suitable maximum activation duration and review role eligibility since pIM activation limits standing elevation when short administration tasks end. C:An authenticated employee is not automatically entitled to every invoice record. D:Access tokens may remain usable until expiry.
Question 140 An enterprise requires accountable access for hundreds of automation identities. An application token is accepted after its service principal was disabled. What is the most defensible design for this scenario? Grant the smallest supported secret data action at an appropriate scope Examine token lifetime, revocation behavior and API authorization checks Configure a suitable maximum activation duration and review role eligibility Redesign Azure-hosted integration to use managed identity instead of client secret Explanation Correct Answer B:Access tokens may remain usable until expiry; disabling identity does not retroactively erase every cached token. Incorrect Answers A:For a vm identity needs to read one key vault secret but not list all secrets, grant the smallest supported secret data action at an appropriate scope is appropriate because fine-grained secret roles reduce lateral exposure compared with broad vault administrator rights, whereas an application token is accepted after its service principal was disabled depends on examine token lifetime, revocation behavior and api authorization checks since access tokens may remain usable until expiry; disabling identity does not retroactively erase every cached token. C:PIM activation limits standing elevation when short administration tasks end. D:For a service principal has a secret expiration outage while a managed identity alternative is supported, redesign azure-hosted integration to use managed identity instead of client secret is appropriate because managed identity offloads credential issuance and rollover to the platform, whereas an application token is accepted after its service principal was disabled depends on examine token lifetime, revocation behavior and api authorization checks since access tokens may remain usable until expiry; disabling identity does not retroactively erase every cached token.