Compute Engine app streams music files from Cloud Storage; popular songs sometimes fail to play. How to improve delivery performance?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a managed instance group, configure a global load balancer with two backends (the managed instance group and the Cloud Storage bucket), and enable Cloud CDN on the bucket backend..
Why this is the answer
The correct solution leverages Cloud CDN to cache popular music files closer to users, reducing latency and offloading requests from Cloud Storage, which directly addresses the issue of popular songs failing to play due to performance bottlenecks. A global load balancer directs traffic, and the managed instance group provides a flexible compute layer for application logic. Mounting Cloud Storage with gcsfuse (option 1) can introduce performance overhead and doesn't inherently solve the caching problem for popular content. Cloud Filestore (option 2) is a good solution for shared file systems but is not optimized for global content delivery and caching like Cloud CDN. Storing music files as blobs in Cloud SQL (option 3) is inefficient for large media files and would likely create new performance bottlenecks for database queries, rather than solving the streaming issue.
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