You need to deploy a stateful workload on Google Cloud. The workload can scale horizontally, but each instance needs to read and write to the same POSIX filesystem. At high load, the stateful workload needs to support up to 100 MB/s of writes. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a Cloud Filestore instance and mount it in each instance..
Why this is the answer
Cloud Filestore provides a fully managed, high-performance file storage service that is POSIX-compliant, making it ideal for stateful workloads requiring a shared filesystem across multiple instances. It can handle the specified write throughput of 100 MB/s. Using a persistent disk or regional persistent disk for each instance would not work because each instance would have its own independent disk, preventing them from sharing the same POSIX filesystem. While regional persistent disks offer high availability, they don't solve the shared access problem. Cloud Storage buckets, when mounted with gcsfuse, do not offer strict POSIX compliance and typically have higher latency and lower performance for random I/O operations compared to a dedicated file storage solution like Filestore, making them less suitable for demanding stateful workloads that require a true shared filesystem.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed