Cloud data platforms · mid
Choosing a platform, cost models and migration
Choose a platform from workload, team skills and bill predictability. Know how Snowflake and BigQuery charge, and how filters and refresh settings change the bill.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- Ask first: data size and growth, workloads (BI, ML, streaming), team skills (SQL or Spark), the cloud already used, residency, how much operations work the team can take, and how predictable the bill must be.
- Snowflake: storage separate from compute. A running warehouse burns credits by size (X-Small 1 an hour, doubling each size), billed per second with a 60-second minimum each start. Auto-suspend stops it when idle. Serverless features (Snowpipe, automatic clustering, search optimization) are billed separately.
- BigQuery on-demand: billed by bytes processed, about US$6.25 per TiB (first TiB a month free). Only the columns read count, so SELECT * is expensive and LIMIT does not reduce bytes on an unclustered table. Editions bill slot-hours.
- Databricks: Spark lakehouse strong for Python, ML and streaming. Redshift: AWS-native, provisioned or Serverless, more tuning. For a small SQL team with a few hundred GB, BigQuery or Snowflake with dbt and managed ingestion needs fewer moving parts than Spark clusters.
- Lock-in: keep raw data in open formats in your own storage and transformations in dbt.
- BigQuery partition pruning: a time-zone conversion wrapped around the partition column stops pruning and scans every partition. Compare the raw column with a constant range. Store an IST date column if needed.
- Guardrails: require_partition_filter, maximum_bytes_billed, dry runs, summary tables for dashboards. Yesterday does not change, so compute it once a day.
- Snowflake bill checks: WAREHOUSE_METERING_HISTORY and QUERY_HISTORY in ACCOUNT_USAGE, metering by service type. A dashboard refreshing every few minutes keeps a warehouse awake all day. Fixes: short auto-suspend, right size, separate warehouses by workload, resource monitors, statement timeouts, a daily credit alert.
- Hive to Databricks at scale: inventory and real usage first (retire dead jobs), migrate in waves by domain with a pilot, bulk copy then incremental sync, validate by row counts, sums and hashes per table and partition, run a parallel run of two to four weeks, and map permissions (Ranger to Unity Catalog).
- Expect mismatches: decimal rounding and ANSI casts, time-zone handling, NULL handling, case sensitivity and function differences.
The red pen
Common traps: mistake → fix
Mistake: Snowflake charges per query
Fix: it charges for warehouse running time and serverless features.
Mistake: LIMIT makes BigQuery cheap
Fix: bytes billed depend on columns and partitions read.
Mistake: Lift and shift everything
Fix: retire unused jobs first and validate with a parallel run.
Easy to hard
Questions interviewers ask, easy to hard
- Snowflake, BigQuery, Databricks or Redshift for a 300-person D2C brand?
- How do Snowflake and BigQuery charge?
- A dashboard query scans 8 TB every hour. How do you fix it?
- The Snowflake bill tripled this month. What do you do?
- How do you plan moving 400 Hive tables to Databricks in six months?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.