A team is designing a globally distributed application on Google Cloud that requires strong consistency for writes but can tolerate eventual consistency for reads. The application expects millions of concurrent users. Which two strategies should they implement? (Choose two.)
Cloud Spanner provides externally consistent reads and writes across global regions using TrueTime and atomic clocks, satisfying the strong consistency requirement for write operations in the stem. Its synchronous replication ensures that all writes are immediately visible to subsequent reads, directly addressing the need for write consistency despite eventual read tolerance.
Why this answer
Cloud Spanner provides strongly consistent writes globally through synchronous replication using the TrueTime API and Paxos-based consensus. This ensures that all write operations are immediately consistent across regions, meeting the requirement for strong consistency on writes.
Exam trap
The PCD exam often tests the misconception that a single database can handle both strong consistency and high scalability for reads and writes, leading candidates to choose Firestore or Bigtable without considering the specific consistency requirements for writes versus reads.