Google Cloud Professional Cloud Developer — Question 45
You have an analytics application that runs hundreds of queries on BigQuery every few minutes using BigQuery API. You want to find out how much time these queries take to execute.
What should you do?
Answer options
- A. Use Stackdriver Monitoring to plot slot usage.
- B. Use Stackdriver Trace to plot API execution time.
- C. Use Stackdriver Trace to plot query execution time.
- D. Use Stackdriver Monitoring to plot query execution times.
Correct answer: D
Explanation
The correct answer is D because Stackdriver Monitoring provides insights into query execution times, allowing you to effectively track performance. Options A and B focus on slot usage and API execution times, which do not directly measure query execution duration. Option C, while related to queries, utilizes Stackdriver Trace, which is less suited for monitoring the overall execution time in this context.