
Answer-first summary for fast verification
Answer: Ingest the data into Bigtable. Create a row key based on the event timestamp.
The correct answer is D. Bigtable is a highly scalable, NoSQL database designed for high throughput and low-latency applications, making it suitable for scenarios with high ingest rates and rapid data retrieval. Creating a row key based on the event timestamp would facilitate efficient retrieval of time-based data, ensuring consistency and atomicity for individual signals. Bigtable's design allows for fast access to data using row keys, providing optimal performance when retrieving specific signals or events based on timestamps. It also offers the scalability needed for handling thousands of events per hour per device. Options A, B, and C might not efficiently handle the high throughput and atomic retrieval requirements.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company specializes in renting out construction equipment on a large scale. Each piece of rented equipment is outfitted with multiple sensors that transmit event data every few seconds. These signals include vital information such as engine status, distance traveled, fuel level, and more. Billing for customers is determined by the consumption data captured by these sensors. You anticipate a high throughput, with each device potentially generating thousands of events per hour. It is crucial to retrieve consistent and accurate data based on the time of the event, and each individual signal's storage and retrieval must be atomic. What should you do?
A
Create files in Cloud Storage as data comes in.
B
Create a file in Filestore per device, and append new data to that file.
C
Ingest the data into Cloud SQL. Use multiple read replicas to match the throughput.
D
Ingest the data into Bigtable. Create a row key based on the event timestamp.
No comments yet.