100% Latest & Updated Microsoft AZ-305 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 140
An ecommerce business needs secure API access. An API needs to reject tokens issued for another audience. Which design choice addresses the reported problem?
- Use authorization code flow with PKCE for the public client when appropriate.
- Use a supported application permission or workload identity flow.
- Revoke or remove the affected credential and rotate dependent app configuration.
- Validate access-token audience and issuer in the API authorization layer.
Explanation
Correct Answer
D:An otherwise valid token is not valid for the wrong protected resource.
Incorrect Answers
A:Public clients cannot safely protect embedded secrets; an otherwise valid token is not valid for the wrong protected resource.
B:Daemon service-to-service access differs from delegated user access, but an otherwise valid token is not valid for the wrong protected resource.
C:Compromised secrets must stop being accepted for future token issuance, whereas an otherwise valid token is not valid for the wrong protected resource.
Question 141
A health organization is hardening access for Azure services. The architecture has these independent requirements: (1) Private application traffic must reach an Azure PaaS database without public exposure. (2) A database must encrypt storage with managed keys without requiring application code encryption. Select the TWO actions that together satisfy all requirements. Choose TWO.
- Choose Managed HSM or eligible Key Vault premium key protection matching regulatory needs.
- Deploy a supported Private Endpoint and private DNS integration for the data service.
- Use supported service encryption at rest and optionally customer-managed keys.
- Use scoped private connectivity and appropriate identity authorization.
- Explicitly review and restrict the service's public network access policy.
Explanation
Correct Answers
B:Private Link exposes an eligible service via a private IP in a virtual network.
C:Platform encryption protects stored data, not every application-layer requirement.
Incorrect Answers
A:HSM-backed keys may be required for specialized key assurance. This addresses a different requirement and is not needed for the specified combined scenario.
D:Broad trusted-service exceptions are not a substitute for least privilege. This addresses a different requirement and is not needed for the specified combined scenario.
E:Private endpoints and public endpoint access settings are separate controls. This addresses a different requirement and is not needed for the specified combined scenario.
Question 142
A health organization is hardening access for Azure services. An operator mistakenly thinks a private endpoint automatically disables service public access. Which design choice addresses the reported problem?
- Choose Managed HSM or eligible Key Vault premium key protection matching regulatory needs.
- Use supported service encryption at rest and optionally customer-managed keys.
- Explicitly review and restrict the service's public network access policy.
- Deploy a supported Private Endpoint and private DNS integration for the data service.
Explanation
Correct Answer
C:Private endpoints and public endpoint access settings are separate controls.
Incorrect Answers
A:HSM-backed keys may be required for specialized key assurance, but private endpoints and public endpoint access settings are separate controls.
B:Platform encryption protects stored data, not every application-layer requirement. Private endpoints and public endpoint access settings are separate controls.
D:Private Link exposes an eligible service via a private IP in a virtual network, but private endpoints and public endpoint access settings are separate controls.
Question 143
A health organization is hardening access for Azure services. An application needs Key Vault secrets but no firewall bypass for every Azure service. What is the most suitable next architectural recommendation?
- Use supported service encryption at rest and optionally customer-managed keys.
- Explicitly review and restrict the service's public network access policy.
- Deploy a supported Private Endpoint and private DNS integration for the data service.
- Use scoped private connectivity and appropriate identity authorization.
Explanation
Correct Answer
D:Broad trusted-service exceptions are not a substitute for least privilege.
Incorrect Answers
A:Platform encryption protects stored data, not every application-layer requirement; broad trusted-service exceptions are not a substitute for least privilege.
B:Private endpoints and public endpoint access settings are separate controls, but broad trusted-service exceptions are not a substitute for least privilege.
C:Private Link exposes an eligible service via a private IP in a virtual network. Broad trusted-service exceptions are not a substitute for least privilege.
Question 144
A health organization is hardening access for Azure services. A team wants certificates and keys protected by an HSM compliance boundary. Which recommendation best balances the stated requirements?
- Choose Managed HSM or eligible Key Vault premium key protection matching regulatory needs.
- Deploy a supported Private Endpoint and private DNS integration for the data service.
- Use scoped private connectivity and appropriate identity authorization.
- Explicitly review and restrict the service's public network access policy.
Explanation
Correct Answer
A:HSM-backed keys may be required for specialized key assurance.
Incorrect Answers
B:Private Link exposes an eligible service via a private IP in a virtual network; HSM-backed keys may be required for specialized key assurance.
C:Broad trusted-service exceptions are not a substitute for least privilege, but HSM-backed keys may be required for specialized key assurance.
D:Private endpoints and public endpoint access settings are separate controls. HSM-backed keys may be required for specialized key assurance.
Question 145
A health organization is hardening access for Azure services. A database must encrypt storage with managed keys without requiring application code encryption. Which architectural decision best satisfies the specified requirement?
- Use scoped private connectivity and appropriate identity authorization.
- Explicitly review and restrict the service's public network access policy.
- Choose Managed HSM or eligible Key Vault premium key protection matching regulatory needs.
- Use supported service encryption at rest and optionally customer-managed keys.
Explanation
Correct Answer
D:Platform encryption protects stored data, not every application-layer requirement.
Incorrect Answers
A:Broad trusted-service exceptions are not a substitute for least privilege. Platform encryption protects stored data, not every application-layer requirement.
B:Private endpoints and public endpoint access settings are separate controls, whereas platform encryption protects stored data, not every application-layer requirement.
C:HSM-backed keys may be required for specialized key assurance; platform encryption protects stored data, not every application-layer requirement.
Question 146
A security review compares authorization controls. A role permits listing a storage account but not reading private Blob object contents. Which recommendation best balances the stated requirements?
- Grant a suitable Key Vault data-plane role in the configured permission model.
- Move to a narrowly appropriate role assignment scope after assessing inheritance.
- Use a Storage Blob Data Reader role or equivalent data-plane grant for blob reads.
- Apply an appropriate CanNotDelete resource lock after validating operational impact.
Explanation
Correct Answer
C:Storage management permissions and blob data actions are distinct.
Incorrect Answers
A:Resource-plane Reader is not equivalent to secrets access; storage management permissions and blob data actions are distinct.
B:Higher-level RBAC assignments are inherited by descendants. Storage management permissions and blob data actions are distinct.
D:Resource locks constrain management actions but do not replace data-plane security; storage management permissions and blob data actions are distinct.
Question 147
A security review compares authorization controls. A policy restricts where administrators can create new resources. Which architectural decision best satisfies the specified requirement?
- Apply an appropriate CanNotDelete resource lock after validating operational impact.
- Move to a narrowly appropriate role assignment scope after assessing inheritance.
- Use a Storage Blob Data Reader role or equivalent data-plane grant for blob reads.
- Apply a deny Azure Policy assignment at the appropriate scope.
Explanation
Correct Answer
D:Policy deny effects can prevent noncompliant resource deployments.
Incorrect Answers
A:Resource locks constrain management actions but do not replace data-plane security, whereas policy deny effects can prevent noncompliant resource deployments.
B:Higher-level RBAC assignments are inherited by descendants; policy deny effects can prevent noncompliant resource deployments.
C:Storage management permissions and blob data actions are distinct. Policy deny effects can prevent noncompliant resource deployments.
Question 148
A security review compares authorization controls. A user can read a Key Vault resource but cannot retrieve secrets. What is the most appropriate Azure design choice for this scenario?
- Grant a suitable Key Vault data-plane role in the configured permission model.
- Move to a narrowly appropriate role assignment scope after assessing inheritance.
- Apply a deny Azure Policy assignment at the appropriate scope.
- Use a Storage Blob Data Reader role or equivalent data-plane grant for blob reads.
Explanation
Correct Answer
A:Resource-plane Reader is not equivalent to secrets access.
Incorrect Answers
B:Higher-level RBAC assignments are inherited by descendants, whereas resource-plane Reader is not equivalent to secrets access.
C:Policy deny effects can prevent noncompliant resource deployments; resource-plane Reader is not equivalent to secrets access.
D:Storage management permissions and blob data actions are distinct. Resource-plane Reader is not equivalent to secrets access.
Question 149
A security review compares authorization controls. A team wants to prevent accidental deletion of a production resource group. Which action most directly resolves this constraint?
- Apply an appropriate CanNotDelete resource lock after validating operational impact.
- Apply a deny Azure Policy assignment at the appropriate scope.
- Grant a suitable Key Vault data-plane role in the configured permission model.
- Use a Storage Blob Data Reader role or equivalent data-plane grant for blob reads.
Explanation
Correct Answer
A:Resource locks constrain management actions but do not replace data-plane security.
Incorrect Answers
B:Policy deny effects can prevent noncompliant resource deployments, but resource locks constrain management actions but do not replace data-plane security.
C:Resource-plane Reader is not equivalent to secrets access, whereas resource locks constrain management actions but do not replace data-plane security.
D:Storage management permissions and blob data actions are distinct; resource locks constrain management actions but do not replace data-plane security.
Question 150
A security review compares authorization controls. A role assignment is too broad because it was granted at the management group root. What should the solutions architect recommend?
- Apply a deny Azure Policy assignment at the appropriate scope.
- Apply an appropriate CanNotDelete resource lock after validating operational impact.
- Grant a suitable Key Vault data-plane role in the configured permission model.
- Move to a narrowly appropriate role assignment scope after assessing inheritance.
Explanation
Correct Answer
D:Higher-level RBAC assignments are inherited by descendants.
Incorrect Answers
A:Policy deny effects can prevent noncompliant resource deployments, whereas higher-level RBAC assignments are inherited by descendants.
B:Resource locks constrain management actions but do not replace data-plane security. Higher-level RBAC assignments are inherited by descendants.
C:Resource-plane Reader is not equivalent to secrets access, but higher-level RBAC assignments are inherited by descendants.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests