Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 415 of 481

Professional Cloud Developer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Developer Question 415

Select 3Google Cloud Platform

You are building a cloud-native application that processes orders from an e-commerce platform. Each order must go through the following steps: validation, inventory check, payment processing, and notification. The steps need to execute sequentially, and some steps may require retrying on failure. You also want to handle unexpected events, such as payment failures, by triggering specific workflows. Which combination of Google Cloud services should you use to meet these requirements?

  1. A

    Workflows for orchestrating the sequential steps of order processing

  2. B

    Eventarc to route and handle unexpected events like payment failures

  3. C

    Cloud Tasks to manage the sequential execution of steps with retries

  4. D

    Cloud Scheduler to trigger each step of the order processing at specific intervals

  5. E

    Workflows and Eventarc together to manage sequential logic and event-driven triggers

Show answer and explanation

Correct answers: A, B, E

Explanation

The requirements include orchestrating sequential steps while also handling unexpected events like payment failures. Workflows is the best choice for orchestrating the sequential steps of the order processing pipeline. Eventarc enables event-driven triggers, such as handling payment failures, by routing specific events to workflows or other services. Combining Workflows and Eventarc allows you to meet both requirements efficiently. Cloud Tasks and Cloud Scheduler are not suitable for this scenario because they lack the orchestration and event-handling capabilities needed.

  • A. Correct.

    Workflows is well-suited for orchestrating the sequential steps of a process, ensuring that each step (validation, inventory check, payment processing, notification) executes in the correct order.

  • B. Correct.

    Eventarc is designed to handle and route events, such as unexpected payment failures. It allows you to trigger specific workflows or actions based on event types.

  • C. Incorrect.

    Cloud Tasks is used for managing asynchronous task execution, but it is not ideal for orchestrating sequential steps since it doesn't inherently provide orchestration or event-driven logic.

  • D. Incorrect.

    Cloud Scheduler is designed for time-based scheduling, such as running a process at regular intervals, but it is not suitable for managing sequential steps or reacting to specific events.

  • E. Correct.

    Combining Workflows for sequential logic and Eventarc for event-driven triggers is an effective approach for this scenario, as it integrates orchestration with unexpected event handling.

Timed practice exam

Take a Google Professional Cloud Developer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam