What should you do?
You are deploying your application to a Compute Engine virtual machine instance. Your application is configured to write its log files to disk. You want to view the logs in Stackdriver Logging without changing the application code. What should you do?A . Install the Stackdriver Logging Agent and configure it...
What should you do?
Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/* endpoints. What should you do? A. Add a Stackdriver counter metric for path:/api/alpha/. B. Add a Stackdriver counter metric for endpoint:/api/alpha/*. C. Export the logs to Cloud Storage and count lines matching...
Which two configuration changes should you make?
You configured your Compute Engine instance group to scale automatically according to overall CPU usage. However, your application’s response latency increases sharply before the cluster has finished adding up instances. You want to provide a more consistent latency experience for your end users by changing the configuration ot the instance...
Which command should you use?
You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud DataProc Hadoop cluster in a GCP environment. Which command should you use?A . gsutil cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/B . gcloud cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/C ....
What should you do?
You have an analytics application that runs hundreds of queries on BigQuery every few minutes using BigQuery API. You want to find out how much time these queries take to execute. What should you do?A . Use Stackdriver Monitoring to plot slot usage.B . Use Stackdriver Trace to plot API...
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 a...
Which change should you make to the GKE Deployment object shown below?
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. When a new version of your application is released, your CI/CD tool updates the spec.template.spec.containers[0].image value to reference the Docker image of your new application version. When the Deployment object applies the change, you want to deploy at least...
Which approach should you take?
You want to re-architect a monolithic application so that it follows a microservices model. You want to accomplish this efficiently while minimizing the impact of this change to the business. Which approach should you take?A . Deploy the application to Compute Engine and turn on autoscaling.B . Replace the application's...
What should you do?
You have an application controlled by a managed instance group. When you deploy a new version of the application, costs should be minimized and the number of instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance...
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...