What should you do?
You need to restrict access to your Google Cloud load-balanced application so that only specific IP addresses can connect. What should you do? A. Create a secure perimeter using the Access Context Manager feature of VPC Service Controls and restrict access to the source IP range of the allowed clients and Google health check IP […]
What should you do?
You are developing a JPEG image-resizing API hosted on Google Kubernetes Engine (GKE). Callers of the service will exist within the same GKE cluster. You want clients to be able to get the IP address of the service. What should you do? A. Define a GKE Service. Clients should use the name of the A […]
Which improvement should you suggest your teammate make?
Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table. Which improvement should you suggest your teammate make? A. Include multiple rows with each request. B. Perform the inserts in parallel by creating multiple threads. C. Write each row […]
Which code snippet should you include in your Pod configuration?
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster The application exposes an HTTP-based health check at /healthz. You want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer. Which code snippet should you include in your Pod configuration? […]
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 file upload API. Reference: https://wiki.christophchamp.com/index.php?title=Google_Cloud_Platform
Which two actions should they take? (Choose two.)
Your company wants to expand their users outside the United States for their popular application. The company wants to ensure 99.999% availability of the database for their application and also wants to minimize the read latency for their users across the globe. Which two actions should they take? (Choose two.) A. Create a multi-regional Cloud […]
Which deployment strategy should you use?
You have an application deployed in production. When a new version is deployed, some issues don’t arise until the application receives traffic from users in production. You want to reduce both the impact and the number of users affected. Which deployment strategy should you use? A. Blue/green deployment B. Canary deployment C. Rolling deployment D. […]
What should you do?
You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from the result set. What should you do? A. Use the JOIN operator in SQL to combine the tables. B. Use nested WITH statements to combine the tables. C. Use […]
Which alert condition should you configure?
You are deploying your application to a Compute Engine virtual machine instance with the Stackdriver Monitoring Agent installed. Your application is a unix process on the instance. You want to be alerted if the unix process has not run for at least 5 minutes. You are not able to change the application to generate metrics […]
Which command should you use?
You need to copy directory local-scripts and all of its contents from your local workstation to a Compute Engine virtual machine instance. Which command should you use? A. gsutil cp –project “my-gcp-project” -r ~/local-scripts/ gcp-instance-name:~/server-scripts/ –zone “us-east1-b” B. gsutil cp –project “my-gcp-project” -R ~/local-scripts/ gcp-instance-name:~/server-scripts/ –zone “us-east1-b” C. gcloud compute scp –project “my-gcp-project” –recurse ~/local-scripts/ […]