Home › GCP Associate Cloud Engineer › cloudcomputing › gcpoperations › A team needs to deploy infrastructure-as-code on…
A team needs to deploy infrastructure-as-code on Google Cloud. Which combination of tools is the most common modern choice?
AHand-clicked changes in the Cloud Console only
BAd-hoc `gcloud` shell scripts shared over email
CTerraform (with the google provider) and / or Config Connector — declarative, versioned, repeatable
DCloud Build triggers that run no scripts at all
Answer & Solution
Correct answer: C. Terraform (with the google provider) and / or Config Connector — declarative, versioned, repeatable
Terraform is the de-facto IaC for multi-cloud (and very common on GCP); Config Connector lets you express GCP resources as Kubernetes objects. Hand-clicks and emailed gcloud scripts aren't IaC; an empty Cloud Build trigger doesn't deploy anything.
Related questions
A subnet was created with /24 (256 addresses) and is running out. Which Google Cloud operaAn auditor needs an immutable record of who took what action against Google Cloud APIs in Which Kubernetes-native autoscaler on GKE adjusts the NUMBER of replicas of a Deployment bAn organisation wants to centralise audit logs from multiple Google Cloud projects into onWhen viewing logs in Cloud Logging, what is the purpose of a 'log sink' configured to routWhich networking feature would you use to give a private (no external IP) VM outbound inteWhich Google Cloud agent (installable on Compute Engine VMs and on-prem servers) collects Where in Google Cloud do you create alerting policies based on metrics like CPU > 80% for