Question 1
A profile update is accepted on a primary, then the user reads an old value from a replica. Explain the issue and propose two ways to provide read-your-writes behavior.
Reveal model answer
The replica can be behind the accepted update. Route an appropriate session read to the primary, or carry a version barrier and wait for a replica that has observed it. Define fallback and timeout behavior. The right choice depends on latency and failure requirements; replication alone does not promise immediate visibility.
