
Explanation:
Correct Answer: B - Cloud Memorystore for Redis is the optimal choice because it's a fully managed in-memory data store service designed for caching, offering high performance and low latency. It meets the memory requirements (30 GB for cache + 2 GB for processes) efficiently without unnecessary CPU allocation, making it cost-effective for your budget.
Why not others?
For more details, visit Google Cloud Memorystore.
Ultimate access to all questions.
No comments yet.
Your website is facing latency issues, leading to customer dissatisfaction. A root cause analysis reveals that similar database queries are being repeated, contributing to the latency. To mitigate this, you're considering implementing a single caching HTTP reverse proxy on GCP that requires a 30 GB in-memory cache and an additional 2 GB of memory for other processes, with minimal CPU usage. Given a limited budget, what's the best way to deploy this reverse proxy?
A
Deploy the proxy on Compute Engine with a custom instance type of 6 vCPUs and 32 GB memory.
B
Use a Cloud Memorystore for Redis instance with 32-GB capacity.
C
Run the proxy on Compute Engine with instance type n1-standard-1, and add an SSD persistent disk of 32 GB.
D
Package the proxy in a container image and run it on GKE, using n1-standard-32 instances as nodes.