PROFESSIONAL-CLOUD-DEVELOPER · Question #357
PROFESSIONAL-CLOUD-DEVELOPER Question #357: Real Exam Question with Answer & Explanation
The correct answer is D: Save user-uploaded images to a Cloud Storage bucket. Create an Eventarc trigger that connects. Using Eventarc to trigger Workflows when a new image is uploaded provides a scalable and low- overhead solution for orchestrating multiple steps in the image processing pipeline. Workflows allows you to define a sequence of tasks (e.g., content moderation, watermarking, compressi
Question
You are developing an online chat application where users can upload profile pictures. Uploaded profile pictures must comply with content policies. You need to detect inappropriate images and label those images automatically when they are uploaded. In the future, this process will need to be expanded to include additional processing tasks such as watermarking and image compression. You want to simplify orchestration and minimize operational overhead of the image scanning and labeling steps while also ensuring that additional steps can be added and removed easily later on. What should you do?
Options
- ASave user-uploaded images to a temporary Cloud Storage bucket. Implement code on the
- BSave user-uploaded images to a Cloud Storage bucket. Configure a Cloud Run function that is
- CSave user-uploaded images to a Cloud Storage bucket. Configure a Cloud Run function that is
- DSave user-uploaded images to a Cloud Storage bucket. Create an Eventarc trigger that connects
Explanation
Using Eventarc to trigger Workflows when a new image is uploaded provides a scalable and low- overhead solution for orchestrating multiple steps in the image processing pipeline. Workflows allows you to define a sequence of tasks (e.g., content moderation, watermarking, compression) that can be easily modified or extended as requirements evolve. Each task can be managed by Cloud Functions within the workflow, making it straightforward to add or remove steps in the This approach minimizes operational overhead by using a serverless workflow for orchestration rather than managing infrastructure directly. The other options either involve more complex orchestration setups or lack the flexibility to easily expand to additional processing tasks as
Topics
Community Discussion
No community discussion yet for this question.