Google Sample Question 22 of 27
You are using Workflows to call an API that returns a 1KB 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?
🦉 Explanation by WiseOwl Tutor™ — not endorsed by Google
A is not correct because creating a Dataproc cluster to process a 1KB JSON file is not optimized for speed. B is correct because a Cloud Run function is fast to spin up and supports the use of Python. C is not correct because creating a subworkflow will only give you access to Workflows standard library, hence not solving the problem D is not correct because it is not optimizing for simplicity and would be overkill
Ready to practice?
These 27 official sample questions are free to practice on WiseOwlLearns — no account required. Get real-time tutoring from WiseOwl Tutor™ and step-by-step elimination reasoning from Option Analyzer™.