
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.
Option C is the correct answer. Attaching a regional SSD persistent disk to the first instance ensures high availability and performance. In the event of a zone outage, you can utilize the force-attach operation to immediately attach the regional SSD disk to the instance in the other zone. This provides minimal downtime and prevents data loss, as regional SSD persistent disks are designed for synchronous replication between two zones within a region. Other options, such as using snapshots, Cloud Storage buckets, or local SSDs with rsync, would introduce additional complexity and potential latency, making them less suitable for the high availability and performance requirements of your application.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company operates an enterprise application on Google Cloud's Compute Engine, which demands both high availability and high performance. The application is mission-critical and is deployed on two instances located in two different zones within the same region, configured in an active-passive mode. This setup ensures that one instance is always ready to take over in case the other one fails. The application relies on a persistent disk to store its data. In the event of a single zone outage, it is crucial that the data stored on the persistent disk is instantly accessible to the instance in the other zone, ensuring minimal downtime and no data loss. Given these requirements, what is the best approach to achieve this?
A
B
C
D