Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 192 of 481

Professional Cloud Developer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Developer Question 192

Select 2Google Cloud Platform

You are developing a cloud-native application on Google Cloud that processes high volumes of user data. The application stores user preferences and session data. The session data is frequently updated but rarely read, while user preferences are read often but updated infrequently. Which combination of storage solutions should you use to optimize performance and cost?

  1. A

    Use Firestore for storing session data and Cloud Spanner for user preferences.

  2. B

    Use Cloud SQL for storing session data and Firestore for user preferences.

  3. C

    Use Cloud Storage for session data and BigQuery for user preferences.

  4. D

    Use Memorystore for session data and Firestore for user preferences.

  5. E

    Use Bigtable for session data and Cloud SQL for user preferences.

Show answer and explanation

Correct answers: D, E

Explanation

Optimizing storage solutions for specific data access patterns is critical in cloud-native applications. Session data is frequently updated and requires low-latency access, making in-memory storage solutions like Memorystore or scalable databases like Bigtable ideal. User preferences are read often but updated infrequently; solutions like Firestore or Cloud SQL are better suited for such access patterns due to their consistency and scalability for reads. Therefore, the combination of Memorystore and Firestore or Bigtable and Cloud SQL aligns with the access patterns described.

  • A. Incorrect.

    Firestore is a good choice for user preferences because it offers strong consistency and is optimized for frequent reads and infrequent updates, but it is not ideal for session data that is frequently updated.

  • B. Incorrect.

    Cloud SQL is not optimized for high-frequency updates like session data and would be less cost-efficient compared to other options.

  • C. Incorrect.

    Cloud Storage is not designed for frequent updates and low-latency access, making it unsuitable for session data or user preferences.

  • D. Correct.

    Memorystore is an excellent choice for session data as it provides low-latency, in-memory storage optimized for frequent updates, and Firestore is suitable for user preferences due to its strong consistency and frequent read capabilities.

  • E. Correct.

    Bigtable is well-suited for session data because it supports high-throughput and low-latency updates, while Cloud SQL works well for structured data like user preferences with less frequent updates.

Timed practice exam

Take a Google Professional Cloud Developer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam