Google Professional Cloud Developer Question 404
Select 2Google Cloud PlatformYou are developing a serverless application on Google Cloud that processes user-submitted data and stores it in a datastore. The application should write structured data to a database and also log unstructured data for analytics purposes. Which combination of Google Cloud services would be most appropriate for this use case?
- A
Cloud Firestore for structured data and Cloud Storage for unstructured data
- B
Cloud SQL for structured data and Cloud Pub/Sub for unstructured data
- C
Bigtable for structured data and Cloud Logging for unstructured data
- D
Cloud SQL for structured data and Cloud Storage for unstructured data
- E
BigQuery for structured data and Cloud Spanner for unstructured data
Show answer and explanation
Correct answers: A, D
Explanation
In this scenario, the application requires a datastore for structured data and another solution for storing unstructured data like logs. Cloud Firestore and Cloud SQL are both appropriate options for structured data depending on the specific requirements (NoSQL vs relational). Cloud Storage is the best fit for unstructured data storage. Choosing Cloud Pub/Sub, Bigtable, or BigQuery would not align well with the use case as they serve different purposes.
- A. Correct.
Correct. Cloud Firestore is a fully managed NoSQL database suited for structured data, and Cloud Storage is ideal for storing unstructured data like logs or files.
- B. Incorrect.
Incorrect. While Cloud SQL is suitable for structured data, Cloud Pub/Sub is a messaging service and not a storage solution for unstructured data.
- C. Incorrect.
Incorrect. Bigtable is a NoSQL database optimized for large analytical workloads, but it is not an ideal choice for typical structured data. Additionally, Cloud Logging is primarily used for log management, not directly for unstructured data storage.
- D. Correct.
Correct. Cloud SQL is a managed relational database suitable for structured data, and Cloud Storage is ideal for storing unstructured data.
- E. Incorrect.
Incorrect. BigQuery is optimized for analytical queries on large datasets but not for typical structured data storage. Cloud Spanner is a globally distributed relational database and not intended for unstructured data storage.