nerdexam
MicrosoftMicrosoft

AZ-204 · Question #507

AZ-204 Question #507: Real Exam Question with Answer & Explanation

The correct answer is D: strong. Strong consistency offers a linearizability guarantee. Linearizability refers to serving requests concurrently. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to rea

Submitted by zhang_li· Mar 30, 2026

Question

You are developing an inventory tracking solution. The solution includes an Azure Function app containing multiple functions triggered by Azure Cosmos DB. You plan to deploy the solution to multiple Azure regions. The solution must meet the following requirements: - Item results from Azure Cosmos DS must return the most recent committed version of an item. - Items written to Azure Cosmos DB must provide ordering guarantees. You need to configure the consistency level for the Azure Cosmos DB deployments. Which consistency level should you use?

Options

  • Aconsistent prefix
  • Beventual
  • Cbounded staleness
  • Dstrong
  • Esession

Explanation

Strong consistency offers a linearizability guarantee. Linearizability refers to serving requests concurrently. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write. Source: https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels

Community Discussion

No community discussion yet for this question.

Full AZ-204 PracticeBrowse All AZ-204 Questions