Cost & Performance interview questions

60 Cost & Performance questions from the Data Engineering bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

8. Which term means: "Configuring compute to pause after idle time so you stop paying for unused warehouse runtime, a key cost control."?

Mid
  1. A.auto-suspend
  2. B.result cache
  3. C.partition pruning
  4. D.clustering

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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.

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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).

Answer + AI explanation with Pro

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

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Cost & Performance question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers