Bird
0
0

Which of the following is the correct syntax to run dbt with Slim CI to select only modified models?

easy📝 Syntax Q12 of 15
dbt - Production Deployment
Which of the following is the correct syntax to run dbt with Slim CI to select only modified models?
Adbt run --state path/to/previous --select all
Bdbt run --select state:modified --state path/to/previous
Cdbt run --select modified:state --state=previous_path
Ddbt run --state-modified --select path/to/previous
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct flag usage

    The correct flags are --state to specify previous run artifacts and --select state:modified to select changed models.
  2. Step 2: Match syntax to flags

    dbt run --select state:modified --state path/to/previous correctly uses --select state:modified and --state path/to/previous in proper order and format.
  3. Final Answer:

    dbt run --select state:modified --state path/to/previous -> Option B
  4. Quick Check:

    Correct flags and order [OK]
Quick Trick: Use --state then --select state:modified for Slim CI [OK]
Common Mistakes:
MISTAKES
  • Mixing up flag names or order
  • Using incorrect flag syntax
  • Selecting all models instead of modified

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes