Whenever you're ready, walk me through how you'd approach this.
Describe the trade-offs between different consistency models in a distributed database.
Compare models such as linearizability, sequential consistency, causal consistency, read-your-writes consistency, and eventual consistency. Explain how network partitions, replication lag, quorum choices, and workload requirements affect the choice. Recommend a model for a security-sensitive, multi-region service and describe how you would validate its behavior in production.