GCP Associate Cloud Engineer Practice Question

Your team is building a photo-sharing app that stores user-uploaded images in a Cloud Storage bucket. Every time an object is successfully written to the bucket, you must run a short Python routine that creates a 200-pixel thumbnail and writes metadata to Firestore. The solution should require no infrastructure management, charge only while code is executing, and be ready for production quickly. Which compute option best meets these requirements?

  • Create an autoscaled GKE cluster and run the routine as a Kubernetes Deployment using a Cloud Storage notification sidecar.

  • Deploy the thumbnail code as a Cloud Function triggered by the Cloud Storage object finalize event.

  • Provision a small, always-on Compute Engine VM that polls the bucket and processes new images as they appear.

  • Package the code into a container image and deploy it to Cloud Run with a Pub/Sub trigger.

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