You are designing a schema for a Cloud Bigtable table that will store financial time-series data. To prevent performance degradation due to row-key hotspots, what is the best strategy for your row key design?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Prefix the row key with a hash of the customer ID

Hashing or salting the prefix of a row key ensures that consecutive writes (e.g., for different customers at the same time) are distributed across different nodes in the cluster, p...

๐Ÿ“‹Part of Professional Cloud Architect ยท GCP Certification Practice
Real Exam ScenarioCloud SQL

You are designing a schema for a Cloud Bigtable table that will store financial time-series data. To prevent performance degradation due to row-key hotspots, what is the best strategy for your row key design?

โœ“ Correct Answer & ExplanationCloud SQL

Correct Answer

Prefix the row key with a hash of the customer ID

Why This Answer Is Correct

Hashing or salting the prefix of a row key ensures that consecutive writes (e.g., for different customers at the same time) are distributed across different nodes in the cluster, preventing hotspots.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Cloud SQL โ€” a core concept tested in Professional Cloud Architect. Understanding Cloud SQL is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.