Fleet Capacity, Data Masking and Partition Failover
Apply the new DP-420 operational controls: cross-account throughput pools, fleet analytics, dynamic masking and partition-scoped recovery.
Three controls, three different problems
| Requirement | Relevant capability | Not a substitute for |
|---|---|---|
| Redact fields for lower-privilege reads | Dynamic data masking | Authorization, encryption and safe write responses |
| Recover affected write partitions | Per-partition automatic failover | A supported topology, SDK and recovery testing |
| Share capacity across tenant accounts | Fleetspace pools | Physical-partition limits or topology compatibility |
| Analyze many accounts over time | Fleet analytics | Per-request SDK diagnosis |
These are explicit additions to the current DP-420 objectives. Do not assume knowledge of the old five-domain course covers them.
Dynamic masking changes a response, not the stored document
Dynamic data masking applies a policy to read and query projections. The original data remains in the database.
Supported strategies include:
- Default: a fixed string mask, zero for numeric values and false for booleans.
- MaskSubstring: mask a selected portion of a string.
- Email: retain limited parts of an emailβs shape while masking the rest.
A container policy identifies included paths and, where supported, exclusions. Array paths use supported wildcard notation rather than a specific numeric array index.
Identity and unmask permissions matter
The documented DDM identity requirement uses Microsoft Entra managed identity; account keys are not supported for this masking setup.
The built-in Data Contributor role includes unmask permission. Data Reader does not include that permission by default. A caller that can unmask may correctly see original values despite an enabled masking policy.
Review the effective data actions and scope. Enabling a feature does not remove a roleβs explicit privileges.
Masking limitations to know
DDM is not a blanket guarantee that every data path returns redacted values:
- Write operations use original data and can return unmasked values.
- Backups and materialized views operate on original data.
- Change feed is unavailable to users without unmask permission.
- Fabric mirroring and the analytical store are not supported by default on masked accounts; the documentation directs customers to Microsoft Support.
- Complex queries can reveal information or permit inference. Restrict direct access.
The account-level feature cannot be turned off after enablement. Removing masking-policy paths stops those masking rules; it is not the same as disabling the account feature.
Test read/query responses, write responses, telemetry and downstream integrations separately.
Per-partition automatic failover
Traditional account failover moves the accountβs write role. PPAF can move only affected partitions while healthy partitions continue writing in their original region.
It targets supported single-write-region NoSQL accounts. The SDK handles partition-to-region routing. Do not rewrite application endpoints for every affected partition.
Current documented constraints include:
- Provisioned manual or autoscale throughput, not serverless.
- Business Critical service tier and Direct connection mode.
- Supported consistency levels; Bounded Staleness is not currently supported.
- Restrictions involving Synapse Link, in-account restore and certain maintenance operations.
- A supported SDK version and eligible regional configuration.
Check the current documentation before enabling the feature; requirements and availability can evolve.
Failback is different from the old blanket rule
PPAF supports automatic failback with incremental catch-up. Non-Strong configurations can require reconciliation of divergent writes according to the documented policy.
That means the older statement βCosmos DB never automatically fails backβ is not a safe universal answer.
Use PartitionWriteGlobalStatus to observe write-partition counts by region and SDK diagnostics to understand which region served a request. Separate recovery-point guarantees from recovery time; do not promise every consistency mode has the same data-loss guarantee.
Fleets and fleetspaces
A fleet groups tenant accounts for a multitenant application. Fleetspaces group accounts with compatible characteristics. An account belongs to one fleetspace and one fleet at a time.
A pool is optional shared throughput at fleetspace scope. It can span accounts in different subscriptions and resource groups.
Resources use their dedicated RU/s first. Eligible resources can draw additional capacity from the pool when dedicated throughput is exceeded.
This works well when tenant peaks are staggered. If every tenant peaks together, pooling does not create unlimited capacity.
Pool compatibility and limits
Accounts sharing a pool need compatible regional configurations and the same underlying single-write or multi-write configuration. Pool RU/s are not shared across regions.
Pooling does not remove per-physical-partition throughput limits. The documented default extra pool allowance and total physical-partition limit still apply. Review the current limits and available support adjustments for the real workload.
For monitoring:
| Question | Signal |
|---|---|
| Did requests use dedicated or pooled capacity? | Account request/RU metrics split by Capacity Type |
| What throughput did the pool scale to? | FleetspaceAutoscaledThroughput |
| What are long-term account cost, usage and configuration trends? | Fleet analytics |
Fleet analytics can export hourly-grain information to Fabric OneLake or Azure Storage. It is not the change feed of your tenantβs business documents.
Try it
Design a capacity plan for tenant accounts with different peak times. State which accounts can share a fleetspace, how dedicated capacity and pool capacity interact, and which measurements would disprove your proposed savings.
Separately, test a masked read using two identities with different unmask privileges. Do not use a production customer record for this exercise.
Two tenant accounts have different region sets and different single-write versus multi-write configurations. Can they share one fleetspace throughput pool as proposed?