Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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