Which data structure should you use?
You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amount (a number). You want to calculate the sum of all transaction amounts for each unique account number efficiently. Which data structure should you use?A . A linked listB ....
What should you do?
You are planning to migrate a MySQL database to the managed Cloud SQL database for Google Cloud. You have Compute Engine virtual machine instances that will connect with this Cloud SQL instance. You do not want to whitelist IPs for the Compute Engine instances to be able to access Cloud...
Which service should HipLocal use to enable access to internal apps?
Which service should HipLocal use to enable access to internal apps?A . Cloud VPNB . Cloud ArmorC . Virtual Private CloudD . Cloud Identity-Aware ProxyView AnswerAnswer: D Explanation: Reference: https://cloud.google.com/iap/docs/cloud-iap-for-on-prem-apps-overview
What should you do?
You are developing an HTTP API hosted on a Compute Engine virtual machine instance that needs to be invoked by multiple clients within the same Virtual Private Cloud (VPC). You want clients to be able to get the IP address of the service. What should you do?A . Reserve a...
What should you do?
You recently developed a new service on Cloud Run. The new service authenticates using a custom service and then writes transactional information to a Cloud Spanner database. You need to verify that your application can support up to 5,000 read and 1,000 write transactions per second while identifying any bottlenecks...
How should you configure your application to retrieve Spanner credentials?
You are developing a microservice-based application that will be deployed on a Google Kubernetes Engine cluster. The application needs to read and write to a Spanner database. You want to follow security best practices while minimizing code changes. How should you configure your application to retrieve Spanner credentials?A . Configure...
Deploy the new container on Cloud Run as a pipeline step.
Deploy the new container on Cloud Run as a pipeline step.View AnswerAnswer: A
In order to meet their business requirements, how should HipLocal store their application state?
In order to meet their business requirements, how should HipLocal store their application state?A . Use local SSDs to store state.B . Put a memcache layer in front of MySQD . Move the state storage to Cloud Spanner.E . Replace the MySQL instance with Cloud SQView AnswerAnswer: C
What should you do?
You want to create “fully baked” or “golden” Compute Engine images for your application. You need to bootstrap your application to connect to the appropriate database according to the environment the application is running on (test, staging, production). What should you do?A . Embed the appropriate database connection string in...
In order for HipLocal to store application state and meet their stated business requirements, which database service should they migrate to?
In order for HipLocal to store application state and meet their stated business requirements, which database service should they migrate to?A . Cloud SpannerB . Cloud DatastoreC . Cloud Memorystore as a cacheD . Separate Cloud SQL clusters for each regionView AnswerAnswer: A