
Ultimate access to all questions.
As a developer building a payroll processing application, you need to design a component for submitting employee timesheets that triggers multiple independent steps:
These steps can execute in any order, and future steps may be added by other teams, each handling their own error management. What is the best approach to implement this?
A
Deploy a Cloud Function for each step that calls the corresponding downstream system to complete the required action.
B
Create a Pub/Sub topic for each step. Create a subscription for each downstream development team to subscribe to their step's topic.
C
Create a Pub/Sub topic for timesheet submissions. Create a subscription for each downstream development team to subscribe to the topic.
D
Create a timesheet microservice deployed to Google Kubernetes Engine. The microservice calls each downstream step and waits for a successful response before calling the next step.