Professional Cloud DevOps Engineer Practice Test

Professional Cloud DevOps Engineer Practice Test practice questions, page 9 of 10, with answer review and explanations.

Question 41

You support a high-traffic web application that runs on Google Cloud Platform (GCP). You need to measure application reliability from a user perspective without making any engineering changes to it. What should you do? (Choose two.)

  1. Review current application metrics and add new ones as needed.
  2. Modify the code to capture additional information for user interaction.
  3. Analyze the web proxy logs only and capture response time of each request.
  4. Create new synthetic clients to simulate a user journey using the application.
  5. Use current and historic Request Logs to trace customer interaction with the application.

Question 42

You manage an application that is writing logs to Stackdriver Logging. You need to give some team members the ability to export logs. What should you do?

  1. Grant the team members the IAM role of logging.configWriter on Cloud IAM.
  2. Configure Access Context Manager to allow only these members to export logs.
  3. Create and grant a custom IAM role with the permissions logging.sinks.list and logging.sink.get.
  4. Create an Organizational Policy in Cloud IAM to allow only these members to create log exports.

Question 43

Your application services run in Google Kubernetes Engine (GKE). You want to make sure that only images from your centrally-managed Google Container Registry (GCR) image registry in the altostrat-images project can be deployed to the cluster while minimizing development time. What should you do?

  1. Create a custom builder for Cloud Build that will only push images to gcr.io/altostrat-images.
  2. Use a Binary Authorization policy that includes the whitelist name pattern gcr.io/altostrat-images/.
  3. Add logic to the deployment pipeline to check that all manifests contain only images from gcr.io/altostrat-images.
  4. Add a tag to each image in gcr.io/altostrat-images and check that this tag is present when the image is deployed.

Question 44

Your team has recently deployed an NGINX-based application into Google Kubernetes Engine (GKE) and has exposed it to the public via an HTTP Google Cloud Load Balancer (GCLB) ingress. You want to scale the deployment of the application's frontend using an appropriate Service Level Indicator (SLI). What should you do?

  1. Configure the horizontal pod autoscaler to use the average response time from the Liveness and Readiness probes.
  2. Configure the vertical pod autoscaler in GKE and enable the cluster autoscaler to scale the cluster as pods expand.
  3. Install the Stackdriver custom metrics adapter and configure a horizontal pod autoscaler to use the number of requests provided by the GCLB.
  4. Expose the NGINX stats endpoint and configure the horizontal pod autoscaler to use the request metrics exposed by the NGINX deployment.

Question 45

Your company follows Site Reliability Engineering practices. You are the Incident Commander for a new, customer-impacting incident. You need to immediately assign two incident management roles to assist you in an effective incident response. What roles should you assign? (Choose two.)

  1. Operations Lead
  2. Engineering Lead
  3. Communications Lead
  4. Customer Impact Assessor
  5. External Customer Communications Lead