Question 430
An architect proposes this change: Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency. The workload context is: A Cosmos DB workload serves high global write demand and must support multiple writable Azure regions rather than a single write region. Which evidence would most directly validate the change?
- Write a test sequence and verify reads conform to the configured staleness bound under load.
- Insert and update a test document and confirm change feed processor receives it with tracked continuation state.
- Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
- Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates.
Explanation
Correct Answer
D:The decisive evidence is: Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates. This measures the mechanism of the planned change, not an unrelated Azure service: Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency.
Incorrect Answers
A:The alternative test targets: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters. The scenario's actual proposed remedy is: Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency. Verify that one by: Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates.
B:This check validates a different workload: Insert and update a test document and confirm change feed processor receives it with tracked continuation state. Its associated design is: Consume the appropriate Azure Cosmos DB change feed with a checkpointed processor for the supported API. The required acceptance test here is: Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates.
C:That observation pertains to a separate failure: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Its cause is: TTL was not enabled for the required automatic item expiration lifecycle. It does not confirm the result of this design. The direct proof would be: Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates.
Question 431
During architecture troubleshooting, a team reports: An overseas region must send writes to a remote single-write region despite local performance targets. Context: A Cosmos DB workload serves high global write demand and must support multiple writable Azure regions rather than a single write region. Which underlying design mistake explains the observed behavior most precisely?
- TTL was not enabled for the required automatic item expiration lifecycle.
- Multi-region write capability and conflict resolution were not designed for the active-active requirement.
- The consistency level does not enforce a bounded staleness guarantee.
- No change feed consumer exists for incremental document changes.
Explanation
Correct Answer
B:The incident is explained by: Multi-region write capability and conflict resolution were not designed for the active-active requirement. The reported symptom is: An overseas region must send writes to a remote single-write region despite local performance targets. The corresponding design fix is: Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency.
Incorrect Answers
A:The alternative weakness is: TTL was not enabled for the required automatic item expiration lifecycle. Its associated failure is: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Neither explains the present observation: An overseas region must send writes to a remote single-write region despite local performance targets. The direct cause here is: Multi-region write capability and conflict resolution were not designed for the active-active requirement.
C:The proposed diagnosis fits another scenario: The consistency level does not enforce a bounded staleness guarantee. It would typically be reflected by: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. The current evidence instead supports: Multi-region write capability and conflict resolution were not designed for the active-active requirement.
D:The alternative weakness is: No change feed consumer exists for incremental document changes. Its associated failure is: A nightly full scan misses time-sensitive document updates. Neither explains the present observation: An overseas region must send writes to a remote single-write region despite local performance targets. The direct cause here is: Multi-region write capability and conflict resolution were not designed for the active-active requirement.
Question 432
The design change is: Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency. The original failure was: An overseas region must send writes to a remote single-write region despite local performance targets. Which ongoing control best prevents recurrence of the same root cause?
- Monitor replication and conflict metrics, documenting bounded consistency tradeoffs.
- Review consistency requirements and their latency/RU implications across regions.
- Monitor TTL policy and RU consumption when session expiration rates increase.
- Persist checkpoints and make downstream processing idempotent for retries/replays.
Explanation
Correct Answer
A:The key follow-up control is: Monitor replication and conflict metrics, documenting bounded consistency tradeoffs. It avoids recurrence of the scenario in which: An overseas region must send writes to a remote single-write region despite local performance targets. It addresses: Multi-region write capability and conflict resolution were not designed for the active-active requirement.
Incorrect Answers
B:That safeguard manages another risk: The consistency level does not enforce a bounded staleness guarantee. Its scenario is: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. The present recurring risk is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. The proper ongoing control is: Monitor replication and conflict metrics, documenting bounded consistency tradeoffs.
C:This is a reasonable safeguard for a different fault: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. That different mechanism is: TTL was not enabled for the required automatic item expiration lifecycle. The original incident here instead arises from: Multi-region write capability and conflict resolution were not designed for the active-active requirement. The directly relevant safeguard is: Monitor replication and conflict metrics, documenting bounded consistency tradeoffs.
D:The proposed control focuses on: No change feed consumer exists for incremental document changes. For the design in the question, recurrence comes from: Multi-region write capability and conflict resolution were not designed for the active-active requirement. A precise prevention step is: Monitor replication and conflict metrics, documenting bounded consistency tradeoffs.
Question 433
A design workshop has this requirement: An application needs bounded-staleness reads in Cosmos DB, limiting how far replica data may lag behind the latest writes. Operators currently observe: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. Select the ONE design remedy that best addresses the root cause.
- Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency.
- Select Azure Cosmos DB for NoSQL with an appropriate partition key and RU/s model when its APIs meet the workload.
- Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters.
- Consume the appropriate Azure Cosmos DB change feed with a checkpointed processor for the supported API.
Explanation
Correct Answer
C:The targeted implementation is: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters. The problem is not generic resource availability: The consistency level does not enforce a bounded staleness guarantee. Verify the result by: Write a test sequence and verify reads conform to the configured staleness bound under load.
Incorrect Answers
A:That design instead addresses another observed condition: An overseas region must send writes to a remote single-write region despite local performance targets. Its technical cause is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. The current workload exhibits: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. Its targeted remedy is: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters.
B:This choice mitigates an alternative scenario, where: A relational design requires repeated schema migration for evolving JSON and globally dispersed reads. The underlying issue there is: The datastore was chosen without matching the flexible document and multi-region serving requirements. Here the root issue is: The consistency level does not enforce a bounded staleness guarantee. Choose the corresponding action: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters.
D:That design instead addresses another observed condition: A nightly full scan misses time-sensitive document updates. Its technical cause is: No change feed consumer exists for incremental document changes. The current workload exhibits: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. Its targeted remedy is: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters.
Question 434
The planned architecture is: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters. Workload context: An application needs bounded-staleness reads in Cosmos DB, limiting how far replica data may lag behind the latest writes. Which acceptance test demonstrates that the required behavior works?
- Insert heterogeneous JSON documents and measure point reads using full partition-key and item-ID values.
- Write a test sequence and verify reads conform to the configured staleness bound under load.
- Insert and update a test document and confirm change feed processor receives it with tracked continuation state.
- Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates.
Explanation
Correct Answer
B:The acceptance test is specific: Write a test sequence and verify reads conform to the configured staleness bound under load. Its purpose is to establish that the proposed architecture works: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters.
Incorrect Answers
A:This check validates a different workload: Insert heterogeneous JSON documents and measure point reads using full partition-key and item-ID values. Its associated design is: Select Azure Cosmos DB for NoSQL with an appropriate partition key and RU/s model when its APIs meet the workload. The required acceptance test here is: Write a test sequence and verify reads conform to the configured staleness bound under load.
C:The alternative test targets: Consume the appropriate Azure Cosmos DB change feed with a checkpointed processor for the supported API. The scenario's actual proposed remedy is: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters. Verify that one by: Write a test sequence and verify reads conform to the configured staleness bound under load.
D:This check validates a different workload: Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates. Its associated design is: Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency. The required acceptance test here is: Write a test sequence and verify reads conform to the configured staleness bound under load.
Question 435
The customer states: An application needs bounded-staleness reads in Cosmos DB, limiting how far replica data may lag behind the latest writes. An incident reveals: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. What cause best accounts for this evidence?
- Multi-region write capability and conflict resolution were not designed for the active-active requirement.
- The datastore was chosen without matching the flexible document and multi-region serving requirements.
- The consistency level does not enforce a bounded staleness guarantee.
- No change feed consumer exists for incremental document changes.
Explanation
Correct Answer
C:The recorded behavior follows from: The consistency level does not enforce a bounded staleness guarantee. The appropriate mitigation would be: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters. Verify with: Write a test sequence and verify reads conform to the configured staleness bound under load.
Incorrect Answers
A:This cause would explain a different symptom: An overseas region must send writes to a remote single-write region despite local performance targets. The mechanism for that event is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. Here the stated symptom is: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. Its cause is: The consistency level does not enforce a bounded staleness guarantee.
B:The proposed diagnosis fits another scenario: The datastore was chosen without matching the flexible document and multi-region serving requirements. It would typically be reflected by: A relational design requires repeated schema migration for evolving JSON and globally dispersed reads. The current evidence instead supports: The consistency level does not enforce a bounded staleness guarantee.
D:This cause would explain a different symptom: A nightly full scan misses time-sensitive document updates. The mechanism for that event is: No change feed consumer exists for incremental document changes. Here the stated symptom is: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. Its cause is: The consistency level does not enforce a bounded staleness guarantee.
Question 436
Workload context: An application needs bounded-staleness reads in Cosmos DB, limiting how far replica data may lag behind the latest writes. The implemented remedy is: Choose the supported bounded staleness consistency level with appropriate lag/staleness parameters. Which ongoing practice most specifically prevents recurrence of this failure: Occasionally stale analytics exceed an explicitly documented maximum acceptable age.?
- Persist checkpoints and make downstream processing idempotent for retries/replays.
- Monitor replication and conflict metrics, documenting bounded consistency tradeoffs.
- Review consistency requirements and their latency/RU implications across regions.
- Monitor partition key distribution and provisioned/request-unit usage before scaling.
Explanation
Correct Answer
C:The key follow-up control is: Review consistency requirements and their latency/RU implications across regions. It avoids recurrence of the scenario in which: Occasionally stale analytics exceed an explicitly documented maximum acceptable age. It addresses: The consistency level does not enforce a bounded staleness guarantee.
Incorrect Answers
A:That safeguard manages another risk: No change feed consumer exists for incremental document changes. Its scenario is: A nightly full scan misses time-sensitive document updates. The present recurring risk is: The consistency level does not enforce a bounded staleness guarantee. The proper ongoing control is: Review consistency requirements and their latency/RU implications across regions.
B:This is a reasonable safeguard for a different fault: An overseas region must send writes to a remote single-write region despite local performance targets. That different mechanism is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. The original incident here instead arises from: The consistency level does not enforce a bounded staleness guarantee. The directly relevant safeguard is: Review consistency requirements and their latency/RU implications across regions.
D:That safeguard manages another risk: The datastore was chosen without matching the flexible document and multi-region serving requirements. Its scenario is: A relational design requires repeated schema migration for evolving JSON and globally dispersed reads. The present recurring risk is: The consistency level does not enforce a bounded staleness guarantee. The proper ongoing control is: Review consistency requirements and their latency/RU implications across regions.
Question 437
A solution architect is reviewing a workload: A Cosmos DB container contains temporary sessions that should expire automatically thirty days after creation unless renewed. The observed incident is: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Which architecture choice most directly removes the identified weakness?
- Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency.
- Consume the appropriate Azure Cosmos DB change feed with a checkpointed processor for the supported API.
- Select Azure Cosmos DB for NoSQL with an appropriate partition key and RU/s model when its APIs meet the workload.
- Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
Explanation
Correct Answer
D:The evidence (Old session JSON documents accumulate indefinitely until a manual cleanup job runs.) identifies the following cause: TTL was not enabled for the required automatic item expiration lifecycle. The design that removes it is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate. The acceptance check is: Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
Incorrect Answers
A:This choice mitigates an alternative scenario, where: An overseas region must send writes to a remote single-write region despite local performance targets. The underlying issue there is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. Here the root issue is: TTL was not enabled for the required automatic item expiration lifecycle. Choose the corresponding action: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
B:The option belongs to a different failure mechanism: No change feed consumer exists for incremental document changes. That situation exhibits: A nightly full scan misses time-sensitive document updates. For the stated case, the remedy is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
C:That design instead addresses another observed condition: A relational design requires repeated schema migration for evolving JSON and globally dispersed reads. Its technical cause is: The datastore was chosen without matching the flexible document and multi-region serving requirements. The current workload exhibits: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Its targeted remedy is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
Question 438
An architect proposes this change: Configure Cosmos DB time-to-live behavior for the container or items as appropriate. The workload context is: A Cosmos DB container contains temporary sessions that should expire automatically thirty days after creation unless renewed. Which evidence would most directly validate the change?
- Write from two configured regions and verify cross-region propagation and conflict outcomes under controlled concurrent updates.
- Insert and update a test document and confirm change feed processor receives it with tracked continuation state.
- Insert heterogeneous JSON documents and measure point reads using full partition-key and item-ID values.
- Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
Explanation
Correct Answer
D:The acceptance test is specific: Create a short-lived item and confirm expiration is enforced without a separate cleanup service. Its purpose is to establish that the proposed architecture works: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
Incorrect Answers
A:That observation pertains to a separate failure: An overseas region must send writes to a remote single-write region despite local performance targets. Its cause is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. It does not confirm the result of this design. The direct proof would be: Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
B:The alternative test targets: Consume the appropriate Azure Cosmos DB change feed with a checkpointed processor for the supported API. The scenario's actual proposed remedy is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate. Verify that one by: Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
C:This check validates a different workload: Insert heterogeneous JSON documents and measure point reads using full partition-key and item-ID values. Its associated design is: Select Azure Cosmos DB for NoSQL with an appropriate partition key and RU/s model when its APIs meet the workload. The required acceptance test here is: Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
Question 439
During architecture troubleshooting, a team reports: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Context: A Cosmos DB container contains temporary sessions that should expire automatically thirty days after creation unless renewed. Which underlying design mistake explains the observed behavior most precisely?
- No change feed consumer exists for incremental document changes.
- The datastore was chosen without matching the flexible document and multi-region serving requirements.
- Multi-region write capability and conflict resolution were not designed for the active-active requirement.
- TTL was not enabled for the required automatic item expiration lifecycle.
Explanation
Correct Answer
D:This is the failure mechanism rather than an incidental symptom: TTL was not enabled for the required automatic item expiration lifecycle. It accounts for: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. The architectural repair is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
Incorrect Answers
A:The proposed diagnosis fits another scenario: No change feed consumer exists for incremental document changes. It would typically be reflected by: A nightly full scan misses time-sensitive document updates. The current evidence instead supports: TTL was not enabled for the required automatic item expiration lifecycle.
B:The alternative weakness is: The datastore was chosen without matching the flexible document and multi-region serving requirements. Its associated failure is: A relational design requires repeated schema migration for evolving JSON and globally dispersed reads. Neither explains the present observation: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. The direct cause here is: TTL was not enabled for the required automatic item expiration lifecycle.
C:This cause would explain a different symptom: An overseas region must send writes to a remote single-write region despite local performance targets. The mechanism for that event is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. Here the stated symptom is: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Its cause is: TTL was not enabled for the required automatic item expiration lifecycle.
Question 440
A design review identifies: A Cosmos DB container contains temporary sessions that should expire automatically thirty days after creation unless renewed. The failure is: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. Select TWO distinct decisions that together provide the immediate technical solution AND an ongoing prevention control. A verification-only step does not replace either responsibility.
- Configure supported Azure Cosmos DB multi-region writes with an explicit conflict resolution strategy and appropriate consistency.
- Consume the appropriate Azure Cosmos DB change feed with a checkpointed processor for the supported API.
- Monitor partition key distribution and provisioned/request-unit usage before scaling.
- Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
- Monitor TTL policy and RU consumption when session expiration rates increase.
Explanation
Correct Answers
D:The evidence (Old session JSON documents accumulate indefinitely until a manual cleanup job runs.) identifies the following cause: TTL was not enabled for the required automatic item expiration lifecycle. The design that removes it is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate. The acceptance check is: Create a short-lived item and confirm expiration is enforced without a separate cleanup service.
E:The key follow-up control is: Monitor TTL policy and RU consumption when session expiration rates increase. It avoids recurrence of the scenario in which: Old session JSON documents accumulate indefinitely until a manual cleanup job runs. It addresses: TTL was not enabled for the required automatic item expiration lifecycle.
Incorrect Answers
A:This choice mitigates an alternative scenario, where: An overseas region must send writes to a remote single-write region despite local performance targets. The underlying issue there is: Multi-region write capability and conflict resolution were not designed for the active-active requirement. Here the root issue is: TTL was not enabled for the required automatic item expiration lifecycle. Choose the corresponding action: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
B:The option belongs to a different failure mechanism: No change feed consumer exists for incremental document changes. That situation exhibits: A nightly full scan misses time-sensitive document updates. For the stated case, the remedy is: Configure Cosmos DB time-to-live behavior for the container or items as appropriate.
C:That safeguard manages another risk: The datastore was chosen without matching the flexible document and multi-region serving requirements. Its scenario is: A relational design requires repeated schema migration for evolving JSON and globally dispersed reads. The present recurring risk is: TTL was not enabled for the required automatic item expiration lifecycle. The proper ongoing control is: Monitor TTL policy and RU consumption when session expiration rates increase.
Designing Microsoft Azure Infrastructure Solutions (AZ-305) Practice Tests