nerdexam
Microsoft

AZ-204 · Question #507

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…

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…

Submitted by zhang_li· Mar 30, 2026Develop for Azure storage

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

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    13% (4)
  • D
    70% (21)
  • E
    10% (3)

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

Topics

#Azure Cosmos DB#strong consistency#multi-region#consistency levels

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice