- (Exam Topic 1)
In order to meet their business requirements, how should HipLocal store their application state?
Correct Answer:
B
- (Exam Topic 2)
You are developing an application that will allow users to read and post comments on news articles. You want to configure your application to store and display user-submitted comments using Firestore. How should you design the schema to support an unknown number of comments and articles?
Correct Answer:
D
- (Exam Topic 1)
In order for HipLocal to store application state and meet their stated business requirements, which database service should they migrate to?
Correct Answer:
D
- (Exam Topic 2)
Your organization has recently begun an initiative to replatform their legacy applications onto Google Kubernetes Engine. You need to decompose a monolithic application into microservices. Multiple instances have read and write access to a configuration file, which is stored on a shared file system. You want to minimize the effort required to manage this transition, and you want to avoid rewriting the application code. What should you do?
Correct Answer:
D
https://cloud.google.com/kubernetes-engine/docs/concepts/configmap
ConfigMaps bind non-sensitive configuration artifacts such as configuration files, command-line arguments, and environment variables to your Pod containers and system components at runtime.
A ConfigMap separates your configurations from your Pod and components, which helps keep your workloads portable. This makes their configurations easier to change and manage, and prevents hardcoding configuration data to Pod specifications.
- (Exam Topic 2)
You recently joined a new team that has a Cloud Spanner database instance running in production. Your manager has asked you to optimize the Spanner instance to reduce cost while maintaining high reliability and availability of the database. What should you do?
Correct Answer:
C
https://cloud.google.com/spanner/docs/compute-capacity#increasing_and_decreasing_compute_capacity