Google Cloud Professional Data Engineer — Question 166
You are a BigQuery admin supporting a team of data consumers who run ad hoc queries and downstream reporting in tools such as Looker. All data and users are combined under a single organizational project. You recently noticed some slowness in query results and want to troubleshoot where the slowdowns are occurring. You think that there might be some job queuing or slot contention occurring as users run jobs, which slows down access to results. You need to investigate the query job information and determine where performance is being affected. What should you do?
Answer options
- A. Use slot reservations for your project to ensure that you have enough query processing capacity and are able to allocate available slots to the slower queries.
- B. Use Cloud Monitoring to view BigQuery metrics and set up alerts that let you know when a certain percentage of slots were used.
- C. Use available administrative resource charts to determine how slots are being used and how jobs are performing over time. Run a query on the INFORMATION_SCHEMA to review query performance.
- D. Use Cloud Logging to determine if any users or downstream consumers are changing or deleting access grants on tagged resources.
Correct answer: C
Explanation
The correct answer, C, is appropriate because it allows you to analyze administrative resource charts and query job performance over time, which is essential for diagnosing slowness. Option A suggests using slot reservations, which may not directly address the immediate performance issues. Option B focuses on monitoring metrics without directly analyzing job performance, and option D is unrelated to query performance issues as it pertains to access grants.