PROFESSIONAL-CLOUD-DEVELOPER · Question #319
You are developing a new image processing application that needs to handle various tasks, such as resizing, cropping, and watermarking images. You also need to monitor the workflow and ensure that it
The correct answer is C. Implement Workflows to orchestrate the image processing tasks. Use Cloud Logging for workflow. Option C - Google Cloud Workflows for orchestration plus Cloud Logging for monitoring - is the least-effort, right-sized solution. Workflows is a fully managed, serverless orchestration service designed for exactly this pattern: coordinating a series of steps (resize → crop → wat
Question
You are developing a new image processing application that needs to handle various tasks, such as resizing, cropping, and watermarking images. You also need to monitor the workflow and ensure that it scales efficiently when there are large volumes of images. You want to automate the image processing tasks and workflow monitoring with the least effort. What should you do?
Options
- AEmploy Cloud Composer to manage the image processing workflows. Use Dataproc for workflow
- BUse Cloud Run to deploy the image processing functions. Use Apigee to expose the API. Use
- CImplement Workflows to orchestrate the image processing tasks. Use Cloud Logging for workflow
- DUse Cloud Build to trigger Cloud Run functions for the image processing tasks. Use Cloud
How the community answered
(26 responses)- A12% (3)
- B4% (1)
- C81% (21)
- D4% (1)
Explanation
Option C - Google Cloud Workflows for orchestration plus Cloud Logging for monitoring - is the least-effort, right-sized solution. Workflows is a fully managed, serverless orchestration service designed for exactly this pattern: coordinating a series of steps (resize → crop → watermark) with built-in error handling, retries, and state management. Cloud Logging provides native monitoring of workflow executions. Cloud Run can host the individual processing functions that Workflows calls. This requires minimal infrastructure management. Option A (Cloud Composer) is based on Apache Airflow and is designed for complex data pipeline DAGs - it is over-engineered and higher-cost for this use case. Option B (Apigee) is an API management platform, not a workflow orchestrator. Option D (Cloud Build) is a CI/CD pipeline tool, not suitable for runtime image processing workflows.
Topics
Community Discussion
No community discussion yet for this question.