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...

June 22, 2022 No Comments READ MORE +

Which two services should they choose?

HipLocal wants to reduce the number of on-call engineers and eliminate manual scaling. Which two services should they choose? (Choose two.)A . Use Google App Engine services.B . Use serverless Google Cloud Functions.C . Use Knative to build and deploy serverless applications.D . Use Google Kubernetes Engine for automated deployments.E...

June 22, 2022 No Comments READ MORE +

Which improvement should you suggest your teammate make?

Your teammate has asked you to review the code below, which is adding a credit to an account balance in Cloud Datastore. Which improvement should you suggest your teammate make? A . Get the entity with an ancestor query.B . Get and put the entity in a transaction.C . Use...

June 22, 2022 No Comments READ MORE +

Which IP strategy should they use?

HipLocal has connected their Hadoop infrastructure to GCP using Cloud Interconnect in order to query data stored on persistent disks. Which IP strategy should they use?A . Create manual subnets.B . Create an auto mode subnet.C . Create multiple peered VPCs.D . Provision a single instance for NAView AnswerAnswer: A

June 22, 2022 No Comments READ MORE +

What should you do?

You deployed a new application to Google Kubernetes Engine and are experiencing some performance degradation. Your logs are being written to Cloud Logging, and you are using a Prometheus sidecar model for capturing metrics. You need to correlate the metrics and data from the logs to troubleshoot the performance issue...

June 21, 2022 No Comments READ MORE +

How should you persist the submissions?

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...

June 21, 2022 No Comments READ MORE +

What should you do?

Your team develops services that run on Google Cloud. You need to build a data processing service and will use Cloud Functions. The data to be processed by the function is sensitive. You need to ensure that invocations can only happen from authorized services and follow Google-recommended best practices for...

June 20, 2022 No Comments READ MORE +

Which command should you run?

Your data is stored in Cloud Storage buckets. Fellow developers have reported that data downloaded from Cloud Storage is resulting in slow API performance. You want to research the issue to provide details to the GCP support team. Which command should you run?A . gsutil test Co output.json gs://my-bucketB ....

June 20, 2022 No Comments READ MORE +

What should you do next?

Your application is running on Compute Engine and is showing sustained failures for a small number of requests. You have narrowed the cause down to a single Compute Engine instance, but the instance is unresponsive to SSH. What should you do next?A . Reboot the machine.B . Enable and check...

June 19, 2022 No Comments READ MORE +

What should you do?

You need to migrate an internal file upload API with an enforced 500-MB file size limit to App Engine. What should you do?A . Use FTP to upload files.B . Use CPanel to upload files.C . Use signed URLs to upload files.D . Change the API to be a multipart...

June 19, 2022 No Comments READ MORE +