Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Section 3 Practice Quiz: Deploying and Implementing a Cloud Solution

This quiz tests hands-on implementation: deploying applications to Compute Engine, Google Kubernetes Engine, Cloud Run, and App Engine, configuring data services and networking, automating builds with Cloud Build, and loading or migrating data. Exam questions here describe a desired end state and ask which commands, settings, or services actually achieve it, including the common distractors and trade-offs that appear in real exam scenarios.

Choose the best answer for each question, then press the button at the end to score yourself. Every question includes a full explanation — if JavaScript is unavailable, open the explanation under each question to check the answer yourself.

1. A team wants to deploy a containerized application to a Kubernetes cluster with node management handled by Google as much as possible. Which GKE mode should they choose?
Show the answer and explanation

Correct answer: D. GKE Autopilot is a mode of operation where Google manages the cluster infrastructure, including nodes, scaling, and security defaults, and you pay for pod resource requests. Standard mode gives you control over node pools but more management responsibility. Installing Kubernetes manually on Compute Engine maximizes your operational burden, and Cloud Run does not accept Kubernetes manifests as a cluster. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

2. Which sequence correctly deploys a container to Cloud Run from source using gcloud?
Show the answer and explanation

Correct answer: B. Cloud Run deployment with gcloud run deploy can build from source using buildpacks or deploy an existing container image to a chosen region, creating a revision and directing traffic to it. Authentication settings control public access. The other options describe virtual machine, Kubernetes, or storage workflows that do not create a Cloud Run service. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

3. A Cloud Build pipeline should run tests and build a container image whenever code is pushed to a repository branch. How is this automated?
Show the answer and explanation

Correct answer: A. Cloud Build triggers automatically start builds in response to repository events such as pushes to a branch or tag, or pull requests, using a build configuration file that defines steps like testing and image building. Manual console runs and polling instances are not the managed automation mechanism, and Cloud Storage notifications respond to object changes, not source pushes. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

4. An engineer needs to create a Compute Engine instance with a specific machine type and image using gcloud. Which command is correct?
Show the answer and explanation

Correct answer: C. Virtual machines are created with gcloud compute instances create, specifying options such as zone, machine type, and boot disk image. Cloud Run, App Engine, and Cloud SQL commands create their own resource types, not Compute Engine instances. Using the correct product namespace in gcloud is a common exam detail: compute for virtual machines, run for Cloud Run, sql for Cloud SQL. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

5. A team is loading a large CSV file from Cloud Storage into BigQuery for analysis and wants a one-time load without building a pipeline. What should they do?
Show the answer and explanation

Correct answer: B. BigQuery can load data directly from Cloud Storage using a load job in the console, the bq load command, or the API, defining the destination table and schema detection or an explicit schema. This is the simplest one-time ingestion path. Moving data into Cloud SQL changes the system, Dataproc adds cluster overhead for a simple load, and making a bucket public is a security risk and unnecessary.

6. How does deploying a new version of an App Engine application typically handle traffic?
Show the answer and explanation

Correct answer: D. App Engine supports multiple versions of a service coexisting, allowing traffic migration or traffic splitting for gradual rollouts and easy rollback. Versions are not automatically deleted on each deploy, and traffic control is a built-in App Engine feature rather than an external DNS exercise. New versions belong to the same application and project, not a new project. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

7. A GKE application needs to expose a service to the internet with a stable external address managed by Kubernetes. Which object should be created?
Show the answer and explanation

Correct answer: A. In Kubernetes on GKE, a Service of type LoadBalancer provisions a cloud load balancer, and Ingress provides HTTP and HTTPS routing with a load balancer. These are the standard ways to expose workloads externally. ConfigMaps store configuration data, PersistentVolumeClaims request storage, and pod image names do not control network exposure. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

8. An engineer wants infrastructure deployments to be repeatable and version-controlled rather than manual console clicks. Which approach best fits Google Cloud deployments?
Show the answer and explanation

Correct answer: C. Infrastructure as Code tools such as Terraform let you declare Google Cloud resources in configuration files, store them in version control, review changes, and apply the same plan across environments. Manual console steps, screenshots, and undocumented one-off creation are error-prone and not repeatable. The ACE expects familiarity with IaC concepts and Deployment Manager or Terraform style workflows at a conceptual level. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

9. A database administrator needs to create a Cloud SQL instance and then allow an application running on Compute Engine in the same VPC to connect privately. What should be configured?
Show the answer and explanation

Correct answer: B. Cloud SQL supports private IP connectivity through private services access, so clients in the same or peered VPC can connect without traversing the public internet, improving security and latency. Opening a public database to all addresses is dangerous and a common wrong answer. The application should connect to the managed database service, not replace it with local files or a storage proxy.

10. Which Cloud Build configuration file defines build steps, and what is a common step in a container pipeline?
Show the answer and explanation

Correct answer: A. Cloud Build uses a build configuration, commonly cloudbuild.yaml, that lists steps executed in containers, for example building an image with Docker and pushing it to Artifact Registry. The Dockerfile defines how an image is built but does not define the whole Cloud Build pipeline or triggers. app.yaml configures App Engine, and sitemap files are unrelated to builds. This distinction is frequently tested in scenario-based Associate Cloud Engineer practice and exam questions.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.