nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #169

You are a developer working on an internal application for payroll processing. You are building a component of the application that allows an employee to submit a timesheet, which then initiates sever

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #169. The question stem and answer options stay visible for context.

Designing highly scalable, available, and reliable cloud-native applications

Question

You are a developer working on an internal application for payroll processing. You are building a component of the application that allows an employee to submit a timesheet, which then initiates several steps:

  • An email is sent to the employee and manager, notifying them that the

timesheet was submitted.

  • A timesheet is sent to payroll processing for the vendor's API.
  • A timesheet is sent to the data warehouse for headcount planning.

These steps are not dependent on each other and can be completed in any order. New steps are being considered and will be implemented by different development teams. Each development team will implement the error handling specific to their step. What should you do?

Options

  • ADeploy a Cloud Function for each step that calls the corresponding downstream system to
  • BCreate a Pub/Sub topic for each step. Create a subscription for each downstream development
  • CCreate a Pub/Sub topic for timesheet submissions. Create a subscription for each downstream
  • DCreate a timesheet microservice deployed to Google Kubernetes Engine. The microservice calls

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Pub/Sub#Event-driven architecture#Loose coupling#Asynchronous processing
Full PROFESSIONAL-CLOUD-DEVELOPER Practice