Bird
0
0

Which of the following is the correct syntax to enable query profiling in dbt?

easy📝 Syntax Q3 of 15
dbt - Performance Optimization

Which of the following is the correct syntax to enable query profiling in dbt?

Adbt run --profile
Bdbt run --profile-output
Cdbt run --profile-json-output
Ddbt run --profile-json
Step-by-Step Solution
Solution:
  1. Step 1: Recall dbt command options for profiling output

    dbt supports --profile-json-output to save query profiling results in a JSON file.
  2. Step 2: Match the correct option syntax

    Among the options, only --profile-json-output is a valid flag for profiling output in JSON format.
  3. Final Answer:

    dbt run --profile-json-output -> Option C
  4. Quick Check:

    Profiling output flag = --profile-json-output [OK]
Quick Trick: Use --profile-json-output to save profiling results in JSON [OK]
Common Mistakes:
MISTAKES
  • Using --profile instead of --profile-json-output
  • Adding incorrect suffixes like -json
  • Confusing with debug flags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes