A legacy application on several VMs needs a shared POSIX file system that all of them mount over NFS. Which storage type and service fit?
- Exam domain
- Designing and planning a cloud solution architecture~25% of the exam
- Difficulty
- Easy
- In this mock
- 18 questions on this domainPractise this domain
Why the exam asks this
Designing network, storage, and compute resources.
Objective in the exam guide: Choosing appropriate storage types (e.g., object, file, and databases).
Storage type follows the access method.
Why C is the answer
File storage with Filestore
Filestore provides managed file storage that many clients mount over NFS.
Remember: Shared file system for many VMs: Filestore.
How it works
Block storage, such as Persistent Disk, attaches to VMs as disks.
File storage, such as Filestore, is shared over NFS.
Object storage, such as Cloud Storage, is accessed through APIs.
Clues in the question
The words that point to the answer, and what each one tells you.
- Shared POSIX file system over NFS
- File storage.
In detail
- Google Cloud offers block, file and object storage.
- Choose by how the app reads and writes data.
Side by side with look-alikes
| Type | Example | Access |
|---|---|---|
| File | Filestore | NFS mounts |
| Object | Cloud Storage | API |
| Block | Persistent Disk | Disk on a VM |
| Analytics | BigQuery | SQL |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A Persistent Disk attached to one VMWrong
One disk attached to one VM is block storage for that VM.
B. BigQuery tablesWrong
BigQuery is an analytics warehouse.
C. File storage with FilestoreRight
Shared file system for many VMs: Filestore.
D. Object storage with Cloud StorageWrongMost tempting
Object storage is not mounted as a POSIX file system by default.
Why it tempts: It is cheap and shared. But apps expecting NFS paths cannot use it unchanged.
In practice
- Size Filestore for throughput as well as capacity.
Use case
An illustrative scenario, not a real incident.
A media company moves its render farm and keeps the shared NFS paths by using Filestore.
See how it works
flowchart TD
Q{"How does the app access data?"} -->|"Mounted shared directory"| F["File: Filestore"]
Q -->|"API, any size, cheap"| O["Object: Cloud Storage"]
Q -->|"Disk for one VM"| B["Block: Persistent Disk"]
Q -->|"Queries and transactions"| D["Database"]How to read this chart
- At "How does the app access data?": if "Mounted shared directory", go to "File: Filestore"; if "API, any size, cheap", go to "Object: Cloud Storage"; if "Disk for one VM", go to "Block: Persistent Disk"; if "Queries and transactions", go to "Database".