Google Cloud Professional Cloud Developer — Question 31

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because attaching a Compute Engine persistent disk in read-only mode allows multiple instances to access the same data simultaneously with low latency. Option A would introduce higher latency due to the nature of Cloud Storage, and option B would result in longer startup times since data would need to be copied to each instance. Option D, while feasible, involves unnecessary complexity and additional costs associated with creating multiple disks from a snapshot.