Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
A DevOps team manages microservices on Google Kubernetes Engine (GKE) and wants to unify their infrastructure and application workflows. They want to declare Google Cloud infrastructure resources—such as Cloud Storage buckets and Pub/Sub topics—using native Kubernetes YAML manifests. Additionally, they require a mechanism that continuously monitors the live cloud environment to detect configuration drift and automatically reconcile resources back to their declared state.
Which solution should the team implement?
HashiCorp Terraform is an industry-standard Infrastructure as Code (IaC) tool that uses the HashiCorp Configuration Language (HCL) to define and provision cloud infrastructure. Running Terraform as a Kubernetes CronJob would trigger scheduled container executions at fixed intervals to run terraform plan and terraform apply against remote state files.
kubectl workflows.The team required multi-cloud provisioning using HCL templates and preferred scheduled CI/CD pipeline automation rather than managing infrastructure as native Kubernetes CRD resources inside a cluster.
Config Connector is an open-source Kubernetes add-on developed by Google Cloud that allows you to manage Google Cloud resources natively through Kubernetes APIs and objects. It extends the Kubernetes API by installing a set of Custom Resource Definitions (CRDs) corresponding to Google Cloud services (such as StorageBucket, PubSubTopic, and SQLInstance) along with custom controllers that run within the cluster.
kind: StorageBucket, kind: PubSubTopic). Teams can manage infrastructure resources using standard tools like kubectl alongside standard application manifests like Deployments and Services.
kubectl describe or kubectl get.Unlike traditional CLI tools or scheduled scripts, Config Connector operates natively inside the Kubernetes control plane. It continuously synchronizes desired state with real-time cloud APIs, offering true declarative management without requiring external pipeline orchestrators.
Helm is a package manager for Kubernetes that packages YAML manifests into charts. Using Helm to deploy init containers that run imperative gcloud commands executes shell scripts when a Pod starts up to create dependent cloud resources before the application container launches.
gcloud CLI commands in shell scripts is an imperative approach that requires manual error handling, idempotency logic, and update handling.The goal was to run lightweight pre-flight health checks or register an ephemeral workload instance with an external service at runtime.
Cloud Build is a serverless continuous integration and continuous delivery platform, and Deployment Manager is a legacy declarative infrastructure service on Google Cloud. This architecture attempts to capture infrastructure changes via Cloud Audit Logs and Pub/Sub messages, then trigger Cloud Build to apply Deployment Manager configurations.
kubectl commands.The organization wanted a purely serverless, external event-driven compliance pipeline to audit and remediate unauthorized changes across non-Kubernetes cloud environments.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated