GCP Associate Cloud Engineer Practice Question

A media company stores photos in a Cloud Storage bucket. When an object is finalized, a containerized Go program must transform the image and write the result to another bucket. Each job can take up to 10 minutes. The team needs a fully managed, pay-per-use platform that

  • requires no VM or cluster administration,
  • scales to zero when idle, and
  • does not expose any public HTTP endpoint. Which solution satisfies these requirements with the least operational overhead?
  • Deploy a Cloud Functions (2nd gen) function triggered directly by Cloud Storage finalize events and rewrite the program to the Functions runtime.

  • Create a GKE Autopilot cluster, run the container as a Deployment, and configure the bucket to publish finalize events to a Pub/Sub topic consumed by the Deployment.

  • Build a Cloud Run service from the container image and create an Eventarc trigger for google.cloud.storage.object.v1.finalized events from the bucket. Grant Eventarc's service account the Run Invoker role on the service.

  • Schedule a Compute Engine VM using Pub/Sub push notifications from Cloud Storage to start the VM, run the program with a startup script, and shut it down after completion.

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