PROFESSIONAL-CLOUD-DEVELOPER · Question #377
You are developing a dashboard that aggregates temperature readings from thousands of IoT devices monitoring a city's ambient temperature. You expect a large amount of viewing traffic resulting in a l
The correct answer is B. Configure Memorystore to use read replicas.. The scenario involves large read traffic from thousands of IoT devices and tolerates a few seconds of lag. Configuring read replicas in Memorystore for Redis distributes read load across multiple replica nodes, improving both availability and throughput. If the primary fails, a r
Question
You are developing a dashboard that aggregates temperature readings from thousands of IoT devices monitoring a city's ambient temperature. You expect a large amount of viewing traffic resulting in a large amount of data egress once the dashboard is live. The dashboard temperature display data doesn't need to be real-time and can tolerate a few seconds of lag. You decide to deploy Memorystore for Redis as the storage backend. You want to ensure that the dashboard will be highly available. How should you configure the service in Memorystore for Redis?
Options
- AUpdate Memorystore for Redis to the latest version.
- BConfigure Memorystore to use read replicas.
- CUse Private Service Access to enable low-latency network throughput.
- DSet up Serverless VPC Access to avoid receiving traffic over the internet.
How the community answered
(21 responses)- A10% (2)
- B71% (15)
- C5% (1)
- D14% (3)
Explanation
The scenario involves large read traffic from thousands of IoT devices and tolerates a few seconds of lag. Configuring read replicas in Memorystore for Redis distributes read load across multiple replica nodes, improving both availability and throughput. If the primary fails, a replica can be promoted. This directly addresses the high availability requirement while also handling the heavy egress load. Option A (upgrading Redis version) has no direct HA benefit. Option C (Private Service Access) reduces network latency but does not make the service highly available. Option D (Serverless VPC Access) is a network connector for Cloud Run-it does not affect Redis availability.
Topics
Community Discussion
No community discussion yet for this question.