Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 19 of 268

Professional Cloud DevOps Engineer. Associate level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud DevOps Engineer Question 19

Single answerGoogle Cloud Platform

Your team is managing the infrastructure for a critical application hosted on Google Cloud. You need to implement a process for infrastructure changes that minimizes risk, ensures consistency, and adheres to Google-recommended practices. Which of the following approaches should you use?

  1. A

    Manually apply infrastructure changes in the Google Cloud Console to quickly test and implement updates.

  2. B

    Use Deployment Manager or Terraform with infrastructure-as-code to define and manage infrastructure blueprints.

  3. C

    Apply changes directly to running virtual machines using SSH and custom scripts.

  4. D

    Rely on ad-hoc changes by the operations team based on immediate business needs.

Show answer and explanation

Correct answer: B

Explanation

Google recommends using infrastructure-as-code tools such as Deployment Manager or Terraform to manage infrastructure changes. This approach minimizes the risk of human error, ensures consistency across environments, and supports version control and automation. These tools enable you to define infrastructure blueprints declaratively, making infrastructure easier to manage and adhere to best practices.

  • A. Incorrect.

    Manually applying changes in the Google Cloud Console introduces a high risk of human error, lacks version control, and does not follow Google-recommended practices for infrastructure management.

  • B. Correct.

    Using Deployment Manager or Terraform with infrastructure-as-code ensures that infrastructure changes are consistent, repeatable, and version-controlled. This approach aligns with Google-recommended practices and enables the use of blueprints to define infrastructure declaratively.

  • C. Incorrect.

    Making changes directly to running virtual machines is not a recommended practice as it bypasses version control, introduces inconsistencies, and makes it difficult to track changes.

  • D. Incorrect.

    Ad-hoc changes by the operations team do not follow structured processes, increase the risk of errors, and reduce the ability to audit or replicate changes.

Timed practice exam

Take a Google Professional Cloud DevOps Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam