
Answer-first summary for fast verification
Answer: Review your RowKey strategy and ensure that keys are evenly spread across the alphabet.
The correct answer is C: Review your RowKey strategy and ensure that keys are evenly spread across the alphabet. In Cloud Bigtable, the RowKey is used to distribute data across different nodes. If the RowKeys are not evenly distributed, it can lead to hotspots where certain nodes become overloaded while others remain underutilized. This uneven distribution results in slower query performance. By reviewing and optimizing your RowKey strategy to ensure that the keys are evenly spread, you can achieve better load balancing across the nodes, thereby improving query performance and resolving hotspot issues. Other options, such as advising clients to use different APIs or deleting old records, do not address the fundamental problem of uneven key distribution. Increasing the number of nodes might provide temporary relief, but without addressing the root cause (poor RowKey design), the hotspot issue is likely to recur.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has an IoT application running on Google Cloud, collecting real-time data from thousands of geographically dispersed physical devices. The collected data is published to Pub/Sub and then streamed into an SSD Cloud Bigtable cluster via a Dataflow pipeline for storage and processing. Recently, the operations team has reported a performance issue where the Cloud Bigtable cluster is experiencing a hotspot, causing queries to take longer than expected. As the cloud architect, you need to identify and implement a solution to resolve the hotspot issue and prevent it from occurring in the future. What should you do?
A
Advise your clients to use HBase APIs instead of NodeJS APIs.
B
Delete records older than 30 days.
C
Review your RowKey strategy and ensure that keys are evenly spread across the alphabet.
D
Double the number of nodes you currently have.
No comments yet.