Your company has an application running on Compute Engine that allows users to play their favorite music. There are a fixed number of instances. Files are stored in Cloud Storage, and data is streamed directly to users. Users are reporting that they sometimes need to attempt to play popular songs multiple times before they are successful. You need to improve the performance of the application. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a managed instance group with Compute Engine instances. 2. Create a global load balancer and configure it with two backends: ■—‹ Managed instance group ■—‹ Cloud Storage bucket 3. Enable Cloud CDN on the bucket backend..
Why this is the answer
The correct solution improves performance and reliability by leveraging a global load balancer with Cloud CDN. A global load balancer distributes user requests efficiently. Cloud CDN caches popular music files closer to users, reducing latency and offloading requests from Cloud Storage, which directly addresses the issue of users needing to retry playing popular songs. The managed instance group provides scalability and high availability for the application itself. Mounting Cloud Storage with gcsfuse or using Cloud Filestore would still require the Compute Engine instances to serve the files, potentially bottlenecking them and not addressing the global distribution or caching needs. Storing music in Cloud SQL as a blob is inefficient for streaming media and would introduce significant overhead and cost compared to Cloud Storage and CDN.
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