You need to build a serverless, event-driven architecture for processing image uploads in your application. Which GCP services should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: Cloud Functions + Cloud Pub/Sub.
Why this is the answer
Cloud Functions and Cloud Pub/Sub are ideal for a serverless, event-driven image processing architecture. When an image is uploaded to Cloud Storage, it can trigger a Cloud Function. This function can then publish a message to a Cloud Pub/Sub topic, which can, in turn, trigger another Cloud Function for processing tasks like resizing, watermarking, or metadata extraction. This approach is fully managed, scales automatically, and you only pay for execution time. App Engine + Cloud Storage is not serverless for processing logic; App Engine instances run continuously. Cloud Run + Cloud Endpoints is for containerized microservices and APIs, not primarily event-driven processing. Kubernetes Engine + Cloud SQL is a container orchestration platform with a relational database, not a serverless event-driven solution. Cloud Scheduler + Compute Engine is for scheduled tasks on VMs, not event-driven. Dataflow + BigQuery is for large-scale data processing and analytics, not real-time event-driven image processing.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed