Bird
0
0

Which of the following is the correct way to specify the target environment when running dbt from the command line?

easy🧠 Conceptual Q3 of 15
dbt - Production Deployment
Which of the following is the correct way to specify the target environment when running dbt from the command line?
Adbt run -e production
Bdbt run --target staging
Cdbt run --env=dev
Ddbt run -t local
Step-by-Step Solution
Solution:
  1. Step 1: Recall dbt CLI syntax

    The correct flag to specify environment is --target.
  2. Step 2: Match option with syntax

    dbt run --target staging uses --target staging, which is correct.
  3. Final Answer:

    dbt run --target staging -> Option B
  4. Quick Check:

    Target flag = B [OK]
Quick Trick: Use --target to specify environment in dbt CLI [OK]
Common Mistakes:
MISTAKES
  • Using -e instead of --target
  • Using --env which is invalid
  • Confusing short flags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes