Google Cloud Professional Data Engineer — Question 49

You are designing the database schema for a machine learning-based food ordering service that will predict what users want to eat. Here is some of the information you need to store:
✑ The user profile: What the user likes and doesn't like to eat
✑ The user account information: Name, address, preferred meal times
✑ The order information: When orders are made, from where, to whom
The database will be used to store all the transactional data of the product. You want to optimize the data schema. Which Google Cloud Platform product should you use?

Answer options

Correct answer: A

Explanation

BigQuery is the ideal choice for handling large datasets and performing complex queries quickly, making it perfect for analytics and transactional data in a machine learning context. Cloud SQL, Cloud Bigtable, and Cloud Datastore are more suited for different types of workloads and data structures, and may not provide the same level of performance for analytical queries as BigQuery.