Free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Exam Braindumps (page: 13)

Page 13 of 41

You deploy a new release of an internal application during a weekend maintenance window when there is minimal user traffic. After the window ends, you learn that one of the new features isn't working as expected in the production environment. After an extended outage, you roll back the new release and deploy a fix. You want to modify your release process to reduce the mean time to recovery so you can avoid extended outages in the future.
What should you do? Choose 2 answers

  1. Before merging new code, require 2 different peers to review the code changes.
  2. Adopt the blue/green deployment strategy when releasing new code via a CD server.
  3. Integrate a code linting tool to validate coding standards before any code is accepted into the repository.
  4. Require developers to run automated integration tests on their local development environments before release.
  5. Configure a CI server. Add a suite of unit tests to your code and have your CI server run them on commit and verify any changes.

Answer(s): B,E



You have a pool of application servers running on Compute Engine. You need to provide a secure solution that requires the least amount of configuration and allows developers to easily access application logs for troubleshooting. How would you implement the solution on GCP?

  1. · Deploy the Stackdriver logging agent to the application servers.
    · Give the developers the IAM Logs Viewer role to access Stackdriver and view logs.
  2. · Deploy the Stackdriver logging agent to the application servers.
    · Give the developers the IAM Logs Private Logs Viewer role to access Stackdriver and view logs.
  3. · Deploy the Stackdriver monitoring agent to the application servers.
    · Give the developers the IAM Monitoring Viewer role to access Stackdriver and view metrics.
  4. · Install the gsutil command line tool on your application servers.
    · Write a script using gsutil to upload your application log to a Cloud Storage bucket, and then schedule it to run via cron every 5 minutes.
    · Give the developers IAM Object Viewer access to view the logs in the specified bucket.

Answer(s): A

Explanation:

https://cloud.google.com/logging/docs/audit#access-control



You support a Node.js application running on Google Kubernetes Engine (GKE) in production. The application makes several HTTP requests to dependent applications. You want to anticipate which dependent applications might cause performance issues.
What should you do?

  1. Instrument all applications with Stackdriver Profiler.
  2. Instrument all applications with Stackdriver Trace and review inter-service HTTP requests.
  3. Use Stackdriver Debugger to review the execution of logic within each application to instrument all applications.
  4. Modify the Node.js application to log HTTP request and response times to dependent applications. Use Stackdriver Logging to find dependent applications that are performing poorly.

Answer(s): B



You use Spinnaker to deploy your application and have created a canary deployment stage in the pipeline. Your application has an in-memory cache that loads objects at start time. You want to automate the comparison of the canary version against the production version. How should you configure the canary analysis?

  1. Compare the canary with a new deployment of the current production version.
  2. Compare the canary with a new deployment of the previous production version.
  3. Compare the canary with the existing deployment of the current production version.
  4. Compare the canary with the average performance of a sliding window of previous production versions.

Answer(s): A

Explanation:

https://cloud.google.com/architecture/automated-canary-analysis-kubernetes-engine-spinnaker https://spinnaker.io/guides/user/canary/best-practices/#compare-canary-against-baseline-not- against-production



Page 13 of 41



Post your Comments and Discuss Google PROFESSIONAL-CLOUD-DEVOPS-ENGINEER exam with other Community members:

Tanuja Bhusal commented on December 26, 2024
Good Questions
Anonymous
upvote

Harshit Soni commented on November 21, 2024
Good explanation
INDIA
upvote

Harshit Soni commented on November 21, 2024
Questions looks technical and authentic
INDIA
upvote

yata commented on June 27, 2024
will update the after the exam
RESERVED
upvote

Akhilesh Gupta commented on January 30, 2024
Not at all related to the latest questions. Today only appeared and i would say <5% of the questions were from these dumps. Not at all updated.
Anonymous
upvote

senthil commented on January 28, 2024
good to identify the sample questions
UNITED STATES
upvote

kenenth commented on April 23, 2023
This is worth the freaking money and the amount of time you save. Rock on guys!
UNITED KINGDOM
upvote