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.
| Account | Multi-region writes | Regions (failover priority) | Consistency | Throughput | Client SDK (all instances) |
|---|---|---|---|---|---|
| cosmos-a | Disabled | West US 2 (0), North Europe (1) | Bounded staleness | Autoscale | .NET SDK 3.62.0 |
| cosmos-b | Disabled | West US 2 (0) only | Session | Manual | .NET SDK 3.62.0 |
| cosmos-c | Disabled | East US 2 (0), Central US (1) | Session | Autoscale | .NET SDK 3.47.0 |
| cosmos-d | Enabled | East US 2, West Europe | Eventual | Manual | Java SDK 4.79.0 |
| cosmos-e | Disabled | East US 2 (0), West Europe (1) | Consistent prefix | Manual | Java SDK 4.79.0 |
Which account meets every PPAF prerequisite as it is currently configured?
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.