PROFESSIONAL-CLOUD-DEVELOPER · Question #77
Your application is controlled by a managed instance group. You want to share a large read-only data set between all the instances in the managed instance group. You want to ensure that each instance
The correct answer is C. Move the data to a Compute Engine persistent disk, and attach the disk in read-only mode to. A Compute Engine persistent disk can be attached in read-only mode to multiple VM instances simultaneously. This means all instances in the managed instance group share the same disk with no data copying, enabling fast, low-latency filesystem access. No startup copy is needed bec
Question
Your application is controlled by a managed instance group. You want to share a large read-only data set between all the instances in the managed instance group. You want to ensure that each instance can start quickly and can access the data set via its filesystem with very low latency. You also want to minimize the total cost of the solution. What should you do?
Options
- AMove the data to a Cloud Storage bucket, and mount the bucket on the filesystem using Cloud
- BMove the data to a Cloud Storage bucket, and copy the data to the boot disk of the instance via a
- CMove the data to a Compute Engine persistent disk, and attach the disk in read-only mode to
- DMove the data to a Compute Engine persistent disk, take a snapshot, create multiple disks from
How the community answered
(52 responses)- A4% (2)
- B17% (9)
- C71% (37)
- D8% (4)
Explanation
A Compute Engine persistent disk can be attached in read-only mode to multiple VM instances simultaneously. This means all instances in the managed instance group share the same disk with no data copying, enabling fast, low-latency filesystem access. No startup copy is needed because the data is already on the attached disk. This is cheaper than creating a separate disk per instance from a snapshot (D). Cloud Storage with FUSE (A) introduces higher latency than a local filesystem. Copying to the boot disk (B) increases startup time and wastes disk space per instance.
Topics
Community Discussion
No community discussion yet for this question.