Cost & Performance interview questions

60 real Cost & Performance questions from the Data Engineering bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is partition pruning?

Mid
  1. A.Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design.
  2. B.Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost.
  3. C.A cache that returns a previously computed query result instantly when the same query runs again over unchanged data, scanning zero bytes.
  4. D.Matching warehouse or slot capacity to workload so jobs finish quickly without paying for idle or oversized compute.
Reveal the answer + AI explanation — free account

2. Which term means: "Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost."?

Mid
  1. A.SELECT star avoidance
  2. B.partition pruning
  3. C.broadcast join
  4. D.materialization tradeoff
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Mid
  1. A.partition pruning — Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost.
  2. B.partition pruning — Physically co-locating rows by frequently filtered columns so the engine reads fewer micro-partitions or blocks for selective queries.
  3. C.partition pruning — The primary cost driver for on-demand scan-priced warehouses; minimized via partition pruning, clustering, and selecting only needed columns.
  4. D.partition pruning — When a query exceeds available memory and writes intermediate data to local or remote disk, a major performance and cost red flag.
Reveal the answer + AI explanation — free account

4. What is clustering?

Senior
  1. A.Physically co-locating rows by frequently filtered columns so the engine reads fewer micro-partitions or blocks for selective queries.
  2. B.The primary cost driver in serverless query engines (BigQuery, Athena), reduced by partitioning, clustering, and selecting fewer columns.
  3. C.Matching warehouse or slot capacity to workload so jobs finish quickly without paying for idle or oversized compute.
  4. D.Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers.
Reveal the answer + AI explanation — free account

5. Which term means: "Physically co-locating rows by frequently filtered columns so the engine reads fewer micro-partitions or blocks for selective queries."?

Senior
  1. A.result cache
  2. B.right-sizing warehouse
  3. C.clustering
  4. D.data egress cost
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Senior
  1. A.clustering — An uneven distribution of values across partitions or keys that overloads a few tasks, creating stragglers that dominate job runtime.
  2. B.clustering — Physically co-locating rows by frequently filtered columns so the engine reads fewer micro-partitions or blocks for selective queries.
  3. C.clustering — A join that ships a small table in full to every executor so each partition of the large table joins locally, avoiding a shuffle.
  4. D.clustering — Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
Reveal the answer + AI explanation — free account

7. What is auto-suspend?

Mid
  1. A.A join that ships a small table in full to every executor so each partition of the large table joins locally, avoiding a shuffle.
  2. B.The expensive redistribution of data across the cluster by key (for joins, group-bys, or sorts) that moves records over the network.
  3. C.Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
  4. D.Configuring compute to pause after idle time so you stop paying for unused warehouse runtime, a key cost control.
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.auto-suspend — Configuring compute to pause after idle time so you stop paying for unused warehouse runtime, a key cost control.
  2. B.auto-suspend — The primary cost driver for on-demand scan-priced warehouses; minimized via partition pruning, clustering, and selecting only needed columns.
  3. C.auto-suspend — Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
  4. D.auto-suspend — Choosing reserved capacity (lower unit cost, fixed commitment) versus pay-per-use (flexible, higher unit cost) based on workload predictability.
Reveal the answer + AI explanation — free account

10. What is spilling?

Senior
  1. A.Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
  2. B.An uneven distribution of values across partitions or keys that overloads a few tasks, creating stragglers that dominate job runtime.
  3. C.Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost.
  4. D.When a query exceeds available memory and writes intermediate data to local or remote disk, a major performance and cost red flag.
Reveal the answer + AI explanation — free account

11. Which term means: "When a query exceeds available memory and writes intermediate data to local or remote disk, a major performance and cost red flag."?

Senior
  1. A.shuffle
  2. B.spilling
  3. C.partition pruning
  4. D.data skew
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Senior
  1. A.spilling — When a query exceeds available memory and writes intermediate data to local or remote disk, a major performance and cost red flag.
  2. B.spilling — Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
  3. C.spilling — Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost.
  4. D.spilling — Reading only needed columns instead of all columns, cutting bytes scanned and improving performance in columnar engines.
Reveal the answer + AI explanation — free account

13. What is materialization tradeoff?

Mid
  1. A.Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
  2. B.Reading only needed columns instead of all columns, cutting bytes scanned and improving performance in columnar engines.
  3. C.Choosing between recomputing a query each time (cheaper storage, costlier compute) and precomputing it as a table or MV (faster reads, refresh cost).
  4. D.An uneven distribution of values across partitions or keys that overloads a few tasks, creating stragglers that dominate job runtime.
Reveal the answer + AI explanation — free account

14. Which term means: "Choosing between recomputing a query each time (cheaper storage, costlier compute) and precomputing it as a table or MV (faster reads, refresh cost)."?

Mid
  1. A.auto-suspend
  2. B.materialization tradeoff
  3. C.right-sizing warehouse
  4. D.partition pruning
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.materialization tradeoff — Reading only needed columns instead of all columns, cutting bytes scanned and improving performance in columnar engines.
  2. B.materialization tradeoff — Choosing between recomputing a query each time (cheaper storage, costlier compute) and precomputing it as a table or MV (faster reads, refresh cost).
  3. C.materialization tradeoff — Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost.
  4. D.materialization tradeoff — A performance issue where many tiny files force excessive metadata and task overhead; compacting into larger files restores efficient scans.
Reveal the answer + AI explanation — free account

16. What is query cost attribution?

Senior
  1. A.Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design.
  2. B.Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers.
  3. C.A cache that returns a previously computed query result instantly when the same query runs again over unchanged data, scanning zero bytes.
  4. D.An uneven distribution of values across partitions or keys that overloads a few tasks, creating stragglers that dominate job runtime.
Reveal the answer + AI explanation — free account

17. Which term means: "Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers."?

Senior
  1. A.query cost attribution
  2. B.spilling
  3. C.broadcast join
  4. D.shuffle
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.query cost attribution — A cache that returns a previously computed query result instantly when the same query runs again over unchanged data, scanning zero bytes.
  2. B.query cost attribution — Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers.
  3. C.query cost attribution — A warehouse setting that idles compute after a period of inactivity so you stop paying for an unused cluster.
  4. D.query cost attribution — Refreshing only changed partitions of a derived table instead of rebuilding it fully, the main lever for cheap, frequent transformations.
Reveal the answer + AI explanation — free account

19. What is right-sizing warehouse?

Mid
  1. A.Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers.
  2. B.Skipping entire partitions that cannot match a query's filter, the primary way partitioning reduces scanned data and cost.
  3. C.Matching warehouse or slot capacity to workload so jobs finish quickly without paying for idle or oversized compute.
  4. D.A join that ships a small table in full to every executor so each partition of the large table joins locally, avoiding a shuffle.
Reveal the answer + AI explanation — free account

20. Which term means: "Matching warehouse or slot capacity to workload so jobs finish quickly without paying for idle or oversized compute."?

Mid
  1. A.clustering
  2. B.right-sizing warehouse
  3. C.spilling
  4. D.materialization tradeoff
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.right-sizing warehouse — Matching warehouse or slot capacity to workload so jobs finish quickly without paying for idle or oversized compute.
  2. B.right-sizing warehouse — Physically co-locating rows by frequently filtered columns so the engine reads fewer micro-partitions or blocks for selective queries.
  3. C.right-sizing warehouse — A join that ships a small table in full to every executor so each partition of the large table joins locally, avoiding a shuffle.
  4. D.right-sizing warehouse — The primary cost driver for on-demand scan-priced warehouses; minimized via partition pruning, clustering, and selecting only needed columns.
Reveal the answer + AI explanation — free account

22. What is data egress cost?

Senior
  1. A.The expensive redistribution of data across the cluster by key (for joins, group-bys, or sorts) that moves records over the network.
  2. B.Configuring compute to pause after idle time so you stop paying for unused warehouse runtime, a key cost control.
  3. C.Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design.
  4. D.A cache that returns a previously computed query result instantly when the same query runs again over unchanged data, scanning zero bytes.
Reveal the answer + AI explanation — free account

23. Which term means: "Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design."?

Senior
  1. A.data egress cost
  2. B.small-files problem
  3. C.clustering
  4. D.spill
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Senior
  1. A.data egress cost — Matching warehouse or slot capacity to workload so jobs finish quickly without paying for idle or oversized compute.
  2. B.data egress cost — Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design.
  3. C.data egress cost — The primary cost driver for on-demand scan-priced warehouses; minimized via partition pruning, clustering, and selecting only needed columns.
  4. D.data egress cost — When an operation's working set exceeds memory and is written to disk, slowing execution; reduced by tuning partitions or adding memory.
Reveal the answer + AI explanation — free account

25. What is bytes scanned?

Mid
  1. A.A performance issue where many tiny files force excessive metadata and task overhead; compacting into larger files restores efficient scans.
  2. B.A join that ships a small table in full to every executor so each partition of the large table joins locally, avoiding a shuffle.
  3. C.Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers.
  4. D.The primary cost driver in serverless query engines (BigQuery, Athena), reduced by partitioning, clustering, and selecting fewer columns.
Reveal the answer + AI explanation — free account

26. Which term means: "The primary cost driver in serverless query engines (BigQuery, Athena), reduced by partitioning, clustering, and selecting fewer columns."?

Mid
  1. A.bytes scanned
  2. B.SELECT star avoidance
  3. C.data skew
  4. D.commitment vs on-demand
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.bytes scanned — When a query exceeds available memory and writes intermediate data to local or remote disk, a major performance and cost red flag.
  2. B.bytes scanned — Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design.
  3. C.bytes scanned — A cache that returns a previously computed query result instantly when the same query runs again over unchanged data, scanning zero bytes.
  4. D.bytes scanned — The primary cost driver in serverless query engines (BigQuery, Athena), reduced by partitioning, clustering, and selecting fewer columns.
Reveal the answer + AI explanation — free account

28. What is SELECT star avoidance?

Mid
  1. A.Physically co-locating rows by frequently filtered columns so the engine reads fewer micro-partitions or blocks for selective queries.
  2. B.A warehouse setting that idles compute after a period of inactivity so you stop paying for an unused cluster.
  3. C.Reading only needed columns instead of all columns, cutting bytes scanned and improving performance in columnar engines.
  4. D.Charges incurred when moving data out of a cloud region or provider, a factor in multi-cloud and cross-region pipeline design.
Reveal the answer + AI explanation — free account

29. Which term means: "Reading only needed columns instead of all columns, cutting bytes scanned and improving performance in columnar engines."?

Mid
  1. A.broadcast join
  2. B.query cost attribution
  3. C.commitment vs on-demand
  4. D.SELECT star avoidance
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Mid
  1. A.SELECT star avoidance — A performance issue where many tiny files force excessive metadata and task overhead; compacting into larger files restores efficient scans.
  2. B.SELECT star avoidance — Reading only needed columns instead of all columns, cutting bytes scanned and improving performance in columnar engines.
  3. C.SELECT star avoidance — Tagging and tracking compute spend by team, query, or workload so chargeback and optimization can target the biggest cost drivers.
  4. D.SELECT star avoidance — Choosing between recomputing a query each time (cheaper storage, costlier compute) and precomputing it as a table or MV (faster reads, refresh cost).
Reveal the answer + AI explanation — free account

Showing 30 of 60 Cost & Performance questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Cost & Performance free