Google Cloud Associate Cloud Engineer — Question 121
The core business of your company is to rent out construction equipment at large scale. All the equipment that is being rented out has been equipped with multiple sensors that send event information every few seconds. These signals can vary from engine status, distance traveled, fuel level, and more. Customers are billed based on the consumption monitored by these sensors. You expect high throughput `" up to thousands of events per hour per device `" and need to retrieve consistent data based on the time of the event. Storing and retrieving individual signals should be atomic. What should you do?
Answer options
- A. Create a file in Cloud Storage per device and append new data to that file.
- B. Create a file in Cloud Filestore per device and append new data to that file.
- C. Ingest the data into Datastore. Store data in an entity group based on the device.
- D. Ingest the data into Cloud Bigtable. Create a row key based on the event timestamp.
Correct answer: D
Explanation
The correct answer is D because Cloud Bigtable is designed for high-throughput scenarios and can handle large amounts of data efficiently, allowing for atomic writes based on event timestamps. Options A and B involve using file systems that are not optimized for high-frequency, atomic event storage and retrieval, making them unsuitable for this use case. Option C, while it utilizes Datastore, does not provide the same level of throughput and data consistency required for the expected event volume.