00:00

QUESTION 26

- (Exam Topic 2)
You have an HTTP Cloud Function that is called via POST. Each submission’s request body has a flat, unnested JSON structure containing numeric and text data. After the Cloud Function completes, the collected data should be immediately available for ongoing and complex analytics by many users in parallel. How should you persist the submissions?

Correct Answer: D

QUESTION 27

- (Exam Topic 2)
Your existing application keeps user state information in a single MySQL database. This state information is
very user-specific and depends heavily on how long a user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.
Which storage option should you choose?

Correct Answer: A
Reference: https://cloud.google.com/solutions/migrating-mysql-to-cloudsql-concept

QUESTION 28

- (Exam Topic 2)
Your company needs a database solution that stores customer purchase history and meets the following
requirements:
Customers can query their purchase immediately after submission. Purchases can be sorted on a variety of fields.
Distinct record formats can be stored at the same time. Which storage option satisfies these requirements?

Correct Answer: A

QUESTION 29

- (Exam Topic 2)
You are developing a single-player mobile game backend that has unpredictable traffic patterns as users interact with the game throughout the day and night. You want to optimize costs by ensuring that you have enough resources to handle requests, but minimize over-provisioning. You also want the system to handle traffic spikes efficiently. Which compute platform should you use?

Correct Answer: A

QUESTION 30

- (Exam Topic 2)
You have containerized a legacy application that stores its configuration on an NFS share. You need to deploy this application to Google Kubernetes Engine (GKE) and do not want the application serving traffic until after the configuration has been retrieved. What should you do?

Correct Answer: D
Reference: https://cloud.google.com/compute/docs/instances/startup-scripts/linux