nerdexam
Google

PROFESSIONAL-DATA-ENGINEER · Question #397

You are using Workflows to call an API that returns a 1 KB JSON response, apply some complex business logic on this response, wait for the logic to complete, and then perform a load from a Cloud…

Sign in or unlock PROFESSIONAL-DATA-ENGINEER to reveal the answer and full explanation for question #397. The question stem and answer options stay visible for context.

Submitted by rohit_dlh· Mar 30, 2026Building and operationalizing data processing systems

Question

You are using Workflows to call an API that returns a 1 KB JSON response, apply some complex business logic on this response, wait for the logic to complete, and then perform a load from a Cloud Storage file to BigQuery. The Workflows standard library does not have sufficient capabilities to perform your complex logic, and you want to use Python's standard library instead. You want to optimize your workflow for simplicity and speed of execution. What should you do?

Options

  • AInvoke a Cloud Function instance that uses Python to apply the logic on your JSON file.
  • BInvoke a subworkflow in Workflows to apply the logic on your JSON file.
  • CCreate a Cloud Composer environment and run the logic in Cloud Composer.
  • DCreate a Dataproc cluster, and use PySpark to apply the logic on your JSON file.

Unlock PROFESSIONAL-DATA-ENGINEER to see the answer

You've previewed enough free PROFESSIONAL-DATA-ENGINEER questions. Unlock PROFESSIONAL-DATA-ENGINEER 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

#Cloud Workflows#Cloud Functions#serverless orchestration#Python integration
Full PROFESSIONAL-DATA-ENGINEER Practice