Skip to main content
InterviewHubPRO
Section Overview
Q50

Question 50 of 50

Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)

100%
dbt Analytics Engineering (50 Qs)•Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)

Building a Production Enterprise dbt Repository: Medallion Architecture best practices.

senior LevelMost AskedFormsPerformancePipes

In Simple Words: Organizing thousands of models into a maintainable, structured directory layout:

  1. Staging / Bronze (models/staging/):
    • 1-to-1 mapping with source tables (stg_stripe__payments.sql).
    • Clean column names, cast data types, handle timezone normalization. Zero business logic joins!
  2. Intermediate / Silver (models/intermediate/):
    • Ephemeral or table materialization (int_orders_pivoted_by_payment_method.sql).
    • Complex joins, window functions, and multi-source unifications.
  3. Marts / Gold (models/marts/):
    • Partitioned and clustered dimension and fact tables organized by business domain (marts/finance/fct_orders.sql, marts/marketing/dim_campaigns.sql).
    • Ready for direct consumption by BI dashboards and machine learning pipelines.