nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #201

You are designing a solution to implement a cache to track all the products which are browsed by users on an ecommerce website, using a key-value database. Your solution needs to have the ability to…

The correct answer is B. Choose Memorystore for Redis Cluster and Private Service Connect for networking connectivity. Memorystore for Redis Cluster with Private Service Connect (PSC) satisfies all requirements. Redis is a high-performance in-memory key-value store, ideal for caching browsed products with low latency and high throughput. Memorystore is Google's fully managed Redis service…

Designing and Planning Database Solutions

Question

You are designing a solution to implement a cache to track all the products which are browsed by users on an ecommerce website, using a key-value database. Your solution needs to have the ability to connect to the database from multiple VPC networks, while having a managed service, high throughput, low latency, strong security, and private communication. What should you do-

Options

  • AChoose Bigtable and connect using Private Google Access API endpoint(s).
  • BChoose Memorystore for Redis Cluster and Private Service Connect for networking connectivity.
  • CChoose a Memorystore for Redis instance and Private Service Access for networking connectivity.
  • DChoose a Redis instance on a VM in the Shared VPC network.

How the community answered

(68 responses)
  • A
    4% (3)
  • B
    82% (56)
  • C
    3% (2)
  • D
    10% (7)

Explanation

Memorystore for Redis Cluster with Private Service Connect (PSC) satisfies all requirements. Redis is a high-performance in-memory key-value store, ideal for caching browsed products with low latency and high throughput. Memorystore is Google's fully managed Redis service, meeting the managed service requirement. Critically, Private Service Connect (PSC) is the correct networking technology here because it allows connectivity from multiple VPC networks to a single service endpoint - this is a key differentiator. Option A (Bigtable) is a wide-column store suited for analytics, not caching, and Private Google Access does not support multi-VPC connectivity. Option C uses Private Service Access (VPC Peering), which is limited to a single VPC and does not support multi-VPC scenarios. Option D (Redis on a VM) is not a managed service.

Topics

#Caching#Managed Redis#Private Service Connect#Database Networking

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice