A platform team gets a $48,000 monthly Snowflake bill with no breakdown by pipeline
A medium Pipeline Design mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Pipeline Design
- Difficulty
- medium
Interview Prompt
A platform team gets a $48,000 monthly Snowflake bill with no breakdown by pipeline. Nobody can say which pipelines should be optimized, which should be retired, or which are growing fastest. The section's pattern: thread a stable identifier through every query the warehouse runs (Snowflake QUERY_TAG, BigQuery job labels, Databricks tags, Redshift query groups). The minimum tag set is pipeline_id and run_id; team is useful for chargeback. Tag the query by replacing the dbt build transform with one whose name states the QUERY_TAG it sets at session start, and add a cost-rollup destination that reads QUERY_HISTORY and groups credits by pipeline.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your pipeline design solution with real code execution
- Get instant feedback and a hire/no-hire decision