Microsoft AZ-305 Practice Test 13
Question 120
Acceptance testing must establish the following operational result: Data-plane audit confirms token-based least-privilege access. Which verification action most directly establishes that outcome?
- Verify identity existence and dependent access after a test resource deletion.
- Replace one VM and check application resource permissions through the shared identity.
- Inspect sign-in details for a test external user meeting partner MFA.
- Request a secret using the function's identity and inspect vault audit logs.
Explanation
Correct Answer
D:Data-plane audit confirms token-based least-privilege access.
Incorrect Answers
A:That verification addresses the different requirement: An ephemeral worker should have identity deleted automatically when the hosting Azure resource is deleted. It does not directly establish data-plane audit confirms token-based least-privilege access.
B:That verification addresses the different requirement: A set of VMs must use the same deployable identity even when one VM is replaced. It does not directly establish data-plane audit confirms token-based least-privilege access.
C:This is a test for The company wants to trust MFA claims only from an approved partner tenant. The requirement here is instead demonstrated by request a secret using the function's identity and inspect vault audit logs.
Question 121
A set of VMs must use the same deployable identity even when one VM is replaced. Which Azure architecture choice best meets this requirement?
- Embed an expiring Key Vault administrator password in function settings.
- Depend on each VM's system-assigned identity as if it were the same persistent principal.
- Create a tenant-wide reusable service principal with a long-lived client secret for every worker.
- Create a user-assigned managed identity attachable to multiple eligible Azure resources.
Explanation
Correct Answer
D:User-assigned identity lifecycle is independent of any single VM.
Incorrect Answers
A:Static administrative credentials increase exposure and operational rotation cost. In the present requirement, a set of VMs must use the same deployable identity even when one VM is replaced. The needed design instead works because user-assigned identity lifecycle is independent of any single VM.
B:System-assigned identity is bound to its owning resource's lifecycle. This proposal contradicts the stated architecture constraint.
C:Unmanaged persistent credentials outlive the ephemeral resource need. In the present requirement, a set of VMs must use the same deployable identity even when one VM is replaced. The needed design instead works because user-assigned identity lifecycle is independent of any single VM.
Question 122
An architecture proposal for managed identity on azure workloads relies on the following approach: Depend on each VM's system-assigned identity as if it were the same persistent principal. Which specific failure or mismatch should the design reviewer identify?
- System-assigned identity is bound to its owning resource's lifecycle.
- Registration is not proof that a management compliance policy passed.
- Unmanaged persistent credentials outlive the ephemeral resource need.
- Static administrative credentials increase exposure and operational rotation cost.
Explanation
Correct Answer
A:Depend on each VM's system-assigned identity as if it were the same persistent principal. System-assigned identity is bound to its owning resource's lifecycle.
Incorrect Answers
B:This concern applies to Permit access based solely on a device being merely registered. in another design authentication and authorization solutions design. The current proposal specifically fails because system-assigned identity is bound to its owning resource's lifecycle.
C:That assessment refers to the separate proposal 'Create a tenant-wide reusable service principal with a long-lived client secret for every worker.' not to the recommendation under review. Here, System-assigned identity is bound to its owning resource's lifecycle.
D:That assessment refers to the separate proposal 'Embed an expiring Key Vault administrator password in function settings.' not to the recommendation under review. Here, System-assigned identity is bound to its owning resource's lifecycle.
Question 123
Acceptance testing must establish the following operational result: Continuity confirms the identity can survive individual resource replacement. Which verification action most directly establishes that outcome?
- Replace one VM and check application resource permissions through the shared identity.
- Request a secret using the function's identity and inspect vault audit logs.
- Compare sign-in outcomes for compliant and noncompliant test devices.
- Verify identity existence and dependent access after a test resource deletion.
Explanation
Correct Answer
A:Continuity confirms the identity can survive individual resource replacement.
Incorrect Answers
B:That verification addresses the different requirement: An Azure Function needs to read secrets without deployment-time passwords. It does not directly establish continuity confirms the identity can survive individual resource replacement.
C:This is a test for Only managed compliant devices should reach a confidential SaaS app. The requirement here is instead demonstrated by replace one VM and check application resource permissions through the shared identity.
D:That verification addresses the different requirement: An ephemeral worker should have identity deleted automatically when the hosting Azure resource is deleted. It does not directly establish continuity confirms the identity can survive individual resource replacement.
Question 124
An ephemeral worker should have identity deleted automatically when the hosting Azure resource is deleted. Which Azure architecture choice best meets this requirement?
- Create a tenant-wide reusable service principal with a long-lived client secret for every worker.
- Embed an expiring Key Vault administrator password in function settings.
- Use that resource's system-assigned managed identity where supported.
- Depend on each VM's system-assigned identity as if it were the same persistent principal.
Explanation
Correct Answer
C:A system-assigned identity follows its owning resource lifecycle.
Incorrect Answers
A:Unmanaged persistent credentials outlive the ephemeral resource need. This proposal contradicts the stated architecture constraint.
B:Static administrative credentials increase exposure and operational rotation cost. In the present requirement, an ephemeral worker should have identity deleted automatically when the hosting Azure resource is deleted. The needed design instead works because a system-assigned identity follows its owning resource lifecycle.
D:System-assigned identity is bound to its owning resource's lifecycle. In the present requirement, an ephemeral worker should have identity deleted automatically when the hosting Azure resource is deleted. The needed design instead works because a system-assigned identity follows its owning resource lifecycle.
Question 125
An architecture proposal for managed identity on azure workloads relies on the following approach: Create a tenant-wide reusable service principal with a long-lived client secret for every worker. Which specific failure or mismatch should the design reviewer identify?
- Data replication status cannot remediate suspicious authentication.
- System-assigned identity is bound to its owning resource's lifecycle.
- Unmanaged persistent credentials outlive the ephemeral resource need.
- Static administrative credentials increase exposure and operational rotation cost.
Explanation
Correct Answer
C:Create a tenant-wide reusable service principal with a long-lived client secret for every worker. Unmanaged persistent credentials outlive the ephemeral resource need.
Incorrect Answers
A:This concern applies to Interpret a sign-in risk event as a storage replication error. in another design authentication and authorization solutions design. The current proposal specifically fails because unmanaged persistent credentials outlive the ephemeral resource need.
B:That assessment refers to the separate proposal 'Depend on each VM's system-assigned identity as if it were the same persistent principal.' not to the recommendation under review. Here, Unmanaged persistent credentials outlive the ephemeral resource need.
D:That assessment refers to the separate proposal 'Embed an expiring Key Vault administrator password in function settings.' not to the recommendation under review. Here, Unmanaged persistent credentials outlive the ephemeral resource need.
Question 126
Acceptance testing must establish the following operational result: Lifecycle validation demonstrates the system-assigned principal does not persist as an orphan. Which verification action most directly establishes that outcome?
- Request a secret using the function's identity and inspect vault audit logs.
- Replace one VM and check application resource permissions through the shared identity.
- Verify identity existence and dependent access after a test resource deletion.
- Check risk detections and a test high-risk sign-in's applied controls.
Explanation
Correct Answer
C:Lifecycle validation demonstrates the system-assigned principal does not persist as an orphan.
Incorrect Answers
A:That verification addresses the different requirement: An Azure Function needs to read secrets without deployment-time passwords. It does not directly establish lifecycle validation demonstrates the system-assigned principal does not persist as an orphan.
B:That verification addresses the different requirement: A set of VMs must use the same deployable identity even when one VM is replaced. It does not directly establish lifecycle validation demonstrates the system-assigned principal does not persist as an orphan.
D:This is a test for A stolen session produces high sign-in risk despite valid password and device information. The requirement here is instead demonstrated by verify identity existence and dependent access after a test resource deletion.
Question 127
GitHub Actions must deploy to Azure without storing a long-lived service principal secret. Which Azure architecture choice best meets this requirement?
- Rotate the embedded secret only after publishing more copies of the image.
- Put an application secret in every repository and share it across environments.
- Use Microsoft Entra workload identity federation with a constrained OIDC subject.
- Share one unbounded privileged application client secret across vendors.
Explanation
Correct Answer
C:Federated credentials exchange trusted issuer tokens for short-lived Azure access.
Incorrect Answers
A:More image copies continue to expose a credential that should not be distributed. In the present requirement, gitHub Actions must deploy to Azure without storing a long-lived service principal secret. The needed design instead works because federated credentials exchange trusted issuer tokens for short-lived Azure access.
B:Long-lived shared secrets expand compromise scope and rotation burden. This proposal contradicts the stated architecture constraint.
D:Shared high-privilege identity prevents independent revocation and audit. In the present requirement, gitHub Actions must deploy to Azure without storing a long-lived service principal secret. The needed design instead works because federated credentials exchange trusted issuer tokens for short-lived Azure access.
Question 128
An architecture proposal for workload federation and app credentials relies on the following approach: Put an application secret in every repository and share it across environments. Which specific failure or mismatch should the design reviewer identify?
- Shared high-privilege identity prevents independent revocation and audit.
- More image copies continue to expose a credential that should not be distributed.
- Long-lived shared secrets expand compromise scope and rotation burden.
- Unmanaged persistent credentials outlive the ephemeral resource need.
Explanation
Correct Answer
C:Put an application secret in every repository and share it across environments. Long-lived shared secrets expand compromise scope and rotation burden.
Incorrect Answers
A:That assessment refers to the separate proposal 'Share one unbounded privileged application client secret across vendors.' not to the recommendation under review. Here, Long-lived shared secrets expand compromise scope and rotation burden.
B:That assessment refers to the separate proposal 'Rotate the embedded secret only after publishing more copies of the image.' not to the recommendation under review. Here, Long-lived shared secrets expand compromise scope and rotation burden.
D:This concern applies to Create a tenant-wide reusable service principal with a long-lived client secret for every worker. in another design authentication and authorization solutions design. The current proposal specifically fails because long-lived shared secrets expand compromise scope and rotation burden.
Question 129
Acceptance testing must establish the following operational result: Subject-matched authentication proves the federation trust is not overly broad. Which verification action most directly establishes that outcome?
- Revoke one provider credential and verify the other continues operating.
- Scan the released image and inspect workload authentication success.
- Run an approved workflow and confirm the token's issuer, audience and subject match.
- Verify identity existence and dependent access after a test resource deletion.
Explanation
Correct Answer
C:Subject-matched authentication proves the federation trust is not overly broad.
Incorrect Answers
A:That verification addresses the different requirement: Two SaaS providers need separate certificate-based app credentials with limited administrative ownership. It does not directly establish subject-matched authentication proves the federation trust is not overly broad.
B:That verification addresses the different requirement: A service has a legacy client secret in its container image and must improve credential hygiene. It does not directly establish subject-matched authentication proves the federation trust is not overly broad.
D:This is a test for An ephemeral worker should have identity deleted automatically when the hosting Azure resource is deleted. The requirement here is instead demonstrated by run an approved workflow and confirm the token's issuer, audience and subject match.
Question 130
A service has a legacy client secret in its container image and must improve credential hygiene. Which Azure architecture choice best meets this requirement?
- Move credential access to managed identity or a controlled Key Vault-backed pattern.
- Rotate the embedded secret only after publishing more copies of the image.
- Put an application secret in every repository and share it across environments.
- Share one unbounded privileged application client secret across vendors.
Explanation
Correct Answer
A:Avoiding embedded secrets reduces leakage in images and build artifacts.
Incorrect Answers
B:More image copies continue to expose a credential that should not be distributed. This proposal contradicts the stated architecture constraint.
C:Long-lived shared secrets expand compromise scope and rotation burden. In the present requirement, a service has a legacy client secret in its container image and must improve credential hygiene. The needed design instead works because avoiding embedded secrets reduces leakage in images and build artifacts.
D:Shared high-privilege identity prevents independent revocation and audit. In the present requirement, a service has a legacy client secret in its container image and must improve credential hygiene. The needed design instead works because avoiding embedded secrets reduces leakage in images and build artifacts.