Module 4: Choreography and Orchestration

Looking for โ€˜Service Orchestration and Choreography on Google Cloud Module 4 Answersโ€™?

In this post, I provide complete, accurate, and detailed explanations for the answers to Module 4: Choreography and Orchestration of Course 4: Service Orchestration and Choreography on Google Cloud โ€“ Preparing for Google Cloud Certification: Cloud Developer Professional Certificate

Whether youโ€™re preparing for quizzes or brushing up on your knowledge, these insights will help you master the concepts effectively. Letโ€™s dive into the correct answers and detailed explanations for each question!

Choreography and Orchestration

Graded Assignment

1. Which of the following are benefits of the service choreography pattern? Select two.

  • Services are loosely coupled. โœ…
  • Business logic is easy to understand.
  • An event producer maintains full control over downstream operations.
  • Service choreography allows for decentralized control. โœ…

Explanation:

  • Loosely coupled services โ†’ Each service reacts to events without direct dependencies on other services.
  • Decentralized control โ†’ No central orchestrator; services react based on predefined rules, making the system more scalable and flexible.

2. Which of the following are features of Eventarc? Select two.

  • Applications handle events by monitoring the events that are published to an event queue.
  • Pub/Sub is the transport layer. โœ…
  • Event formats are flexible as long as the formatting is identical for all events of a particular type.
  • Eventarc can generate events for entries written to Cloud Audit Logs. โœ…

Explanation:

  • Eventarc uses Pub/Sub to deliver events between services.
  • Cloud Audit Logs integration allows capturing important actions for monitoring and security.

3. Which of the following are features of Workflows? Select two.

  • A workflow provides a decentralized view of event communication.
  • Workflows supports long-running processes. โœ…
  • The state of each workflow execution is observable. โœ…
  • A workflow is appropriate only for simple business processes.

Explanation:

  • Long-running process support โ†’ Workflows can manage complex, multi-step business processes over time.
  • Execution state observability โ†’ Each execution has logs and monitoring, making debugging easier.

4. Which of the following are features of Cloud Tasks? Select two.

  • The creator of a task has no control over which endpoint receives the task.
  • HTTP destinations may be called by automatically attaching a token for the Cloud Tasks service account.
  • Tasks can be scheduled for delivery at a future time. โœ…
  • At-least-once delivery is guaranteed. โœ…

Explanation:

  • Scheduled task execution allows you to delay execution until a specified time.
  • At-least-once delivery ensures that tasks are not lost, even if they need to be retried.

Related contents:

You might also like:

Course 3:

Leave a Reply