
Answer-first summary for fast verification
Answer: Create a Cloud Filestore instance and mount it in each instance.
The correct answer is C: Create a Cloud Filestore instance and mount it in each instance. This is because Filestore provides a POSIX-compliant file system, which is required by the workload. Cloud Storage, mounted using gcsfuse, is not POSIX-compliant as confirmed by the documentation. Persistent disks, whether regional or not, do not support the requirement for all instances to read and write to the same file system simultaneously. Therefore, Filestore is the most appropriate solution for this use case.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with deploying a stateful workload on Google Cloud Platform. This workload must be scalable horizontally, meaning it can add or remove instances as needed based on load. Each instance in this workload requires the ability to read and write to the same POSIX-compliant filesystem, and during peak load, the system must handle up to 100 MB/s of writes. Considering these requirements, what is the most appropriate storage solution you should implement?
A
Use a persistent disk for each instance.
B
Use a regional persistent disk for each instance.
C
Create a Cloud Filestore instance and mount it in each instance.
D
Create a Cloud Storage bucket and mount it in each instance using gcsfuse.
No comments yet.