Google Professional Cloud DevOps Engineer Question 20
Select 4Google Cloud PlatformYour organization is moving towards implementing infrastructure as code (IaC) for managing cloud resources on Google Cloud. As a Google Professional Cloud DevOps Engineer, you need to ensure that the infrastructure changes are implemented using Google-recommended practices and blueprints. Which steps should you take to achieve this goal?
- A
Use Google Cloud Deployment Manager or Terraform to define infrastructure in code and version it in a source control system.
- B
Directly apply manual changes to the Google Cloud Console to avoid the overhead of managing code.
- C
Adopt Google Cloud's open-source Config Connector to manage Kubernetes-native infrastructure resources.
- D
Test infrastructure changes in a staging environment before promoting them to production.
- E
Utilize predefined Google Cloud blueprints, such as those available in the Cloud Foundation Toolkit, to standardize deployments.
Show answer and explanation
Correct answers: A, C, D, E
Explanation
To implement infrastructure changes using Google-recommended practices, you should adopt infrastructure as code tools (like Deployment Manager or Terraform), test changes in non-production environments, and leverage Google-provided blueprints such as those in the Cloud Foundation Toolkit. Manual changes via the console should be avoided as they do not align with IaC principles and are more prone to human errors.
- A. Correct.
Correct: Using tools like Deployment Manager or Terraform ensures infrastructure is codified and version-controlled, aligning with Google-recommended practices.
- B. Incorrect.
Incorrect: Making manual changes in the console is error-prone and does not align with infrastructure as code principles or Google-recommended practices.
- C. Correct.
Correct: Config Connector is a Google Cloud-recommended tool for managing resources using Kubernetes-native declarative management.
- D. Correct.
Correct: Testing changes in a staging environment reduces the risk of introducing errors in production, a key best practice for infrastructure changes.
- E. Correct.
Correct: Google provides blueprints in the Cloud Foundation Toolkit, which offer reusable, best-practice configurations for standardized deployments.