Topic 1 Question 172
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?
- Mount the Cloud Storage bucket using gcsfuse on all backend Compute Engine instances. 2. Serve music files directly from the backend Compute Engine instance.
- Create a Cloud Filestore NFS volume and attach it to the backend Compute Engine instances. 2. Download popular songs in Cloud Filestore. 3. Serve music files directly from the backend Compute Engine instance.
- Copy popular songs into CloudSQL as a blob. 2. Update application code to retrieve data from CloudSQL when Cloud Storage is overloaded.
- 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.
ユーザの投票
コメント(17)
- 正解だと思う選択肢: D
A is wrong because you can't be serving files directly from Compute Engine instance. GCS + CDN is best option
👍 4nkit2022/04/23 - 正解だと思う選択肢: D
Do not trust the official answers here, D is correct. In special for this question, never use gcsfuse in production. Performance is bad and reliability is trashy - Google states it themselves.
👍 4jabrrJ68w02ond12022/09/04 - 正解だと思う選択肢: D
The correct answer is: D. Create a managed instance group with Compute Engine instances. Create a global load balancer and configure it with two backends: Managed instance group, Cloud Storage bucket. Enable Cloud CDN on the bucket backend.
This solution will improve the performance of the application by:
Automatically scaling the number of Compute Engine instances to meet demand. Distributing traffic across multiple instances to reduce load on each instance. Caching popular songs in memory to reduce the number of times that they need to be loaded from Cloud Storage. Using a global load balancer to distribute traffic evenly across all regions. Using Cloud CDN to deliver files to users from a location that is closer to them. This solution is the most efficient and cost-effective way to improve the performance of the application.
👍 4CGS222023/03/09
シャッフルモード