100% Latest & Updated Microsoft AZ-305 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 710
A team is designing distributed event-driven workflows. A service publishes an event before its related database transaction commits and consumers see missing data. What should the solutions architect recommend?
- Use durable queues and retry policy with poison-message handling.
- Use a saga pattern with durable orchestration or compensating actions.
- Use an appropriate synchronous or confirmed transactional workflow for the payment boundary.
- Use an outbox or equivalent atomic event-publishing pattern.
Explanation
Correct Answer
D:The outbox pattern prevents premature or lost events relative to DB commits.
Incorrect Answers
A:Asynchronous delivery supports eventual processing during transient failures; the outbox pattern prevents premature or lost events relative to DB commits.
B:Distributed workflows need recovery logic without one global database transaction. The outbox pattern prevents premature or lost events relative to DB commits.
C:Some operations require immediate consistency and explicit confirmation, whereas the outbox pattern prevents premature or lost events relative to DB commits.
Question 711
A financial app needs service-to-service communication. The architecture has these independent requirements: (1) An internal microservice wants to authenticate to downstream APIs without sharing passwords. (2) Microservices need to evolve interfaces while serving older clients. Select the TWO actions that together satisfy all requirements. Choose TWO.
- Add timeouts, circuit breakers, and bounded retries.
- Use documented API versioning and backward-compatible contract changes.
- Instrument tracing identifiers across the service mesh or application calls.
- Use managed identity or workload federation with scoped API authorization.
- Apply idempotency and appropriate retry policies before replaying side effects.
Explanation
Correct Answers
B:Contract stability supports independent service deployments.
D:Workload identities avoid embedded static secrets.
Incorrect Answers
A:Resilience patterns prevent cascading failure from unhealthy dependencies. This addresses a different requirement and is not needed for the specified combined scenario.
C:Correlation enables end-to-end diagnostics. This addresses a different requirement and is not needed for the specified combined scenario.
E:Retries can duplicate non-idempotent transactions. This addresses a different requirement and is not needed for the specified combined scenario.
Question 712
A financial app needs service-to-service communication. A service request must span multiple APIs with correlated distributed tracing. What should the solutions architect recommend?
- Use documented API versioning and backward-compatible contract changes.
- Use managed identity or workload federation with scoped API authorization.
- Apply idempotency and appropriate retry policies before replaying side effects.
- Instrument tracing identifiers across the service mesh or application calls.
Explanation
Correct Answer
D:Correlation enables end-to-end diagnostics.
Incorrect Answers
A:Contract stability supports independent service deployments, but correlation enables end-to-end diagnostics.
B:Workload identities avoid embedded static secrets, whereas correlation enables end-to-end diagnostics.
C:Retries can duplicate non-idempotent transactions; correlation enables end-to-end diagnostics.
Question 713
A financial app needs service-to-service communication. A downstream dependency fails and upstream requests remain blocked indefinitely. Which solution best matches these workload needs?
- Use managed identity or workload federation with scoped API authorization.
- Use documented API versioning and backward-compatible contract changes.
- Instrument tracing identifiers across the service mesh or application calls.
- Add timeouts, circuit breakers, and bounded retries.
Explanation
Correct Answer
D:Resilience patterns prevent cascading failure from unhealthy dependencies.
Incorrect Answers
A:Workload identities avoid embedded static secrets. Resilience patterns prevent cascading failure from unhealthy dependencies.
B:Contract stability supports independent service deployments, but resilience patterns prevent cascading failure from unhealthy dependencies.
C:Correlation enables end-to-end diagnostics, whereas resilience patterns prevent cascading failure from unhealthy dependencies.
Question 714
A financial app needs service-to-service communication. A service uses exponential retry but ignores operations that cannot safely repeat. Which design choice addresses the reported problem?
- Add timeouts, circuit breakers, and bounded retries.
- Apply idempotency and appropriate retry policies before replaying side effects.
- Instrument tracing identifiers across the service mesh or application calls.
- Use managed identity or workload federation with scoped API authorization.
Explanation
Correct Answer
B:Retries can duplicate non-idempotent transactions.
Incorrect Answers
A:Resilience patterns prevent cascading failure from unhealthy dependencies, whereas retries can duplicate non-idempotent transactions.
C:Correlation enables end-to-end diagnostics, but retries can duplicate non-idempotent transactions.
D:Workload identities avoid embedded static secrets, whereas retries can duplicate non-idempotent transactions.
Question 715
A financial app needs service-to-service communication. Microservices need to evolve interfaces while serving older clients. What is the most suitable next architectural recommendation?
- Use documented API versioning and backward-compatible contract changes.
- Apply idempotency and appropriate retry policies before replaying side effects.
- Add timeouts, circuit breakers, and bounded retries.
- Instrument tracing identifiers across the service mesh or application calls.
Explanation
Correct Answer
A:Contract stability supports independent service deployments.
Incorrect Answers
B:Retries can duplicate non-idempotent transactions, whereas contract stability supports independent service deployments.
C:Resilience patterns prevent cascading failure from unhealthy dependencies. Contract stability supports independent service deployments.
D:Correlation enables end-to-end diagnostics, but contract stability supports independent service deployments.
Question 716
An organization is choosing application configuration management. A fleet of services needs central nonsecret feature flags and configuration values. Which design choice addresses the reported problem?
- Configure supported refresh and invalidation behavior in the client.
- Use controlled feature flag targeting or progressive release policies.
- Use environment labeling and appropriately scoped identity permissions.
- Use Azure App Configuration with appropriate labels and client refresh behavior.
Explanation
Correct Answer
D:App Configuration centralizes dynamic application settings.
Incorrect Answers
A:Central configuration still needs a client refresh strategy; App Configuration centralizes dynamic application settings.
B:Feature flags support staged behavior without full redeployment, but App Configuration centralizes dynamic application settings.
C:Labels and access scopes separate configuration environments, whereas App Configuration centralizes dynamic application settings.
Question 717
An organization is choosing application configuration management. Application secrets and private keys must not appear in a plain configuration service. What is the most suitable next architectural recommendation?
- Use Azure App Configuration with appropriate labels and client refresh behavior.
- Store secrets in Key Vault and reference them appropriately from configuration.
- Use environment labeling and appropriately scoped identity permissions.
- Configure supported refresh and invalidation behavior in the client.
Explanation
Correct Answer
B:Key Vault is designed for protected secrets and keys.
Incorrect Answers
A:App Configuration centralizes dynamic application settings. Key Vault is designed for protected secrets and keys.
C:Labels and access scopes separate configuration environments, but key Vault is designed for protected secrets and keys.
D:Central configuration still needs a client refresh strategy, whereas key Vault is designed for protected secrets and keys.
Question 718
An organization is choosing application configuration management. A feature must be rolled out to five percent of users before full activation. Which recommendation best balances the stated requirements?
- Use controlled feature flag targeting or progressive release policies.
- Store secrets in Key Vault and reference them appropriately from configuration.
- Use environment labeling and appropriately scoped identity permissions.
- Use Azure App Configuration with appropriate labels and client refresh behavior.
Explanation
Correct Answer
A:Feature flags support staged behavior without full redeployment.
Incorrect Answers
B:Key Vault is designed for protected secrets and keys. Feature flags support staged behavior without full redeployment.
C:Labels and access scopes separate configuration environments; feature flags support staged behavior without full redeployment.
D:App Configuration centralizes dynamic application settings, but feature flags support staged behavior without full redeployment.
Question 719
An organization is choosing application configuration management. A config key changes but one service continues using cached settings forever. Which architectural decision best satisfies the specified requirement?
- Store secrets in Key Vault and reference them appropriately from configuration.
- Use controlled feature flag targeting or progressive release policies.
- Use Azure App Configuration with appropriate labels and client refresh behavior.
- Configure supported refresh and invalidation behavior in the client.
Explanation
Correct Answer
D:Central configuration still needs a client refresh strategy.
Incorrect Answers
A:Key Vault is designed for protected secrets and keys; central configuration still needs a client refresh strategy.
B:Feature flags support staged behavior without full redeployment, but central configuration still needs a client refresh strategy.
C:App Configuration centralizes dynamic application settings. Central configuration still needs a client refresh strategy.
Question 720
An organization is choosing application configuration management. A service must use different configuration sets in development and production. What is the most appropriate Azure design choice for this scenario?
- Use environment labeling and appropriately scoped identity permissions.
- Store secrets in Key Vault and reference them appropriately from configuration.
- Use controlled feature flag targeting or progressive release policies.
- Configure supported refresh and invalidation behavior in the client.
Explanation
Correct Answer
A:Labels and access scopes separate configuration environments.
Incorrect Answers
B:Key Vault is designed for protected secrets and keys; labels and access scopes separate configuration environments.
C:Feature flags support staged behavior without full redeployment, but labels and access scopes separate configuration environments.
D:Central configuration still needs a client refresh strategy. Labels and access scopes separate configuration environments.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests