SpinTheMic
Pro

Interview practice question

Hardcoded table names across environments

Data Engineering · DataOps CI/CD · Beginner

Pipeline code has production table names hardcoded, so testing in dev writes to production. How do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Externalize environment-specific values into config.
  • Use environment variables or config files per environment.
  • dbt targets or profiles for schemas and databases.
  • Default to safe (dev) environment.
  • Code review to prevent new hardcoding.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics