D4: Troubleshooting Poorly Performing Queries
Google Cloud Professional Data Engineer exam practice questions · 10 flashcards
Question
Where do you see query execution details?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Troubleshooting Poorly Performing Queries practice questions and answers
- Where do you see query execution details?Query execution graph/plan in the console.
- Common causes of slow queries?Full scans, large joins, data skew, too many small stages, slot contention.
- What is data skew?Uneven distribution of keys causing some workers to do more work.
- How to fix skew?Filter early, pre-aggregate or change join keys.
- Join optimization tip?Filter and reduce tables before joining; put large table first in some cases.
- Why avoid SELECT *?Scans all columns, increasing cost and time.
- How to analyze job history?INFORMATION_SCHEMA.JOBS.
- What is slot contention?Not enough slots for concurrent queries; jobs wait.
- How to reduce repeated computation?Materialized views or intermediate tables.
- Query too slow on ORDER BY with large output?Add LIMIT or avoid global sorting.