GCP Associate Cloud Engineer Practice Question

Your platform engineering team runs all workloads on GKE and applies every change through a GitOps pipeline that simply runs "kubectl apply" on YAML stored in a Git repository. They now need the same pipeline to create and update Google Cloud resources such as Pub/Sub topics, Cloud SQL instances, and IAM service accounts. The solution must let these resources be expressed as YAML objects that can be applied with kubectl, avoiding any separate tooling outside the cluster. Which approach best satisfies these requirements?

  • Create Deployment Manager templates for each resource type and trigger Deployment Manager updates from the pipeline.

  • Package shell scripts that run gcloud commands into Helm post-install hooks and apply the chart from the pipeline.

  • Insert Terraform plan and apply steps into the pipeline and use the Google Cloud provider to manage the required resources.

  • Install Config Connector in the GKE cluster and describe the desired Pub/Sub, Cloud SQL, and IAM resources as Kubernetes custom resources in the same Git repository.

GCP Associate Cloud Engineer
Planning and implementing a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot