Google Cloud Professional Cloud Developer — Question 352

You are developing a new mobile game that will be deployed on GKE and Cloud Run as a set of microservices. Currently, there are no projections for the game’s user volume.

You need to store the following data types:
• Data type 1: leaderboard data
• Data type 2: player profiles, chats, and news feed
• Data type 3: player clickstream data for BI

You need to identify a data storage solution that is easy to use, cost-effective, scalable, and supports offline caching on the user’s device. Which data storage option should you choose for the different data types?

Answer options

Correct answer: D

Explanation

The correct answer is D because Firestore is suitable for both player profiles and chats due to its real-time capabilities and offline support, while BigQuery is ideal for storing large datasets such as player clickstream data for business intelligence analysis. Options A and B suggest using Memorystore which is not optimal for persistent storage, and Spanner and Bigtable in option B do not offer the same level of ease of use and offline caching capabilities as Firestore. Option C uses Cloud SQL, which may not provide the scalability and offline features required for a mobile game.