
Answer-first summary for fast verification
Answer: 1. Attach a regional SSD persistent disk to the first instance. 2. In case of a zone outage, force-attach the disk to the other instance.
The question requires maximizing performance while minimizing downtime and data loss for an active-passive setup across two zones. Option C uses a regional SSD persistent disk, which provides synchronous replication between zones, ensuring data consistency and high performance. In a zone outage, force-attaching the disk to the standby instance minimizes downtime (under one minute) and prevents data loss. Community discussion strongly supports C (89% consensus), citing Google documentation on regional persistent disks and failover. Option A involves hourly snapshots, risking data loss and slower recovery. Option B uses Cloud Storage with gcs-fuse, which has higher latency and lower performance. Option D uses local SSD with rsync, which lacks real-time replication and may cause data loss.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company has an enterprise application running on Compute Engine that requires high availability and high performance. The application is deployed on two instances in two zones within the same region in an active-passive configuration. The application writes data to a persistent disk. In the event of a single-zone outage, this data must be immediately available to the other instance in the other zone. Your goal is to maximize performance while minimizing downtime and data loss. What should you do?
A
B
C
D