Whenever you're ready, walk me through how you'd approach this.
What is the CAP theorem, and how does it apply to your architecture decisions?
Explain the three properties precisely, why a distributed system cannot guarantee all three during a network partition, and how you would choose between consistency and availability for different workloads. Keep the answer focused on distributed data systems and architecture trade-offs, including one concrete example.