Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure partition failover solutions

A worked example

Single answer

You manage five Azure Cosmos DB for NoSQL accounts. All of them are in global Azure regions, use provisioned throughput, and have clients that connect in Direct mode. The exhibit shows how each account and its clients are configured. You want to enable per-partition automatic failover (PPAF) on an account without first changing the account configuration or upgrading any client.

AccountMulti-region writesRegions (failover priority)ConsistencyThroughputClient SDK (all instances)
cosmos-aDisabledWest US 2 (0), North Europe (1)Bounded stalenessAutoscale.NET SDK 3.62.0
cosmos-bDisabledWest US 2 (0) onlySessionManual.NET SDK 3.62.0
cosmos-cDisabledEast US 2 (0), Central US (1)SessionAutoscale.NET SDK 3.47.0
cosmos-dEnabledEast US 2, West EuropeEventualManualJava SDK 4.79.0
cosmos-eDisabledEast US 2 (0), West Europe (1)Consistent prefixManualJava SDK 4.79.0

Which account meets every PPAF prerequisite as it is currently configured?

Choose one answer
Why

PPAF requires an API for NoSQL account with a single write region and at least one read region. The account must use strong, session, consistent prefix or eventual consistency and provisioned throughput, and every client must run a supported SDK. cosmos-e meets all of these requirements. Each other account fails exactly one: bounded staleness consistency, no read region, an SDK below .NET 3.62.0, or multi-region writes enabled.

  • Not correct: cosmos-a. Its topology, throughput and SDK all qualify, but PPAF doesn't currently support bounded staleness consistency.
  • Correct: cosmos-e. It has a single write region and one read region, uses consistent prefix consistency (a supported level) with provisioned throughput, and its clients run Java SDK 4.79.0, the minimum supported Java version.
  • Not correct: cosmos-d. Its consistency and SDK qualify, but PPAF applies to single-write-region accounts, and this account has multi-region writes enabled.
  • Not correct: cosmos-b. Its consistency, throughput and SDK all qualify, but PPAF needs a single write region with at least one read region, and this account has only one region.
  • Not correct: cosmos-c. Its topology and consistency qualify, but PPAF requires .NET SDK v3 3.62.0 or later on every client instance.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free