Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
By using Event_timestamp_Account_id as the row key, you can efficiently query for events within a specific time range for a given account. While Option B would allow you to query events for a specific account, it might not be as efficient for time-based queries.
Designing an appropriate row key for Cloud Bigtable requires considering the access patterns and ensuring that the read and write operations are spread evenly across the key space to avoid hotspots. B. Set Account_id_Event_timestamp as a key. This option is likely the best choice because: Combining Account_id with Event_timestamp in the row key would allow you to maintain a good level of data distribution while preserving the ability to query efficiently by Account_id and sort by Event_timestamp within each account. This aligns well with Bigtable’s strengths in handling large, scalable, and sparse datasets. By leading with Account_id, you group all events for a single account close together in the key space, which can be efficient for reads that are interested in the activity of a specific account.
I would go with B.