0
0
dbtdata~10 mins

dbt docs serve - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the dbt documentation server.

dbt
dbt [1] serve
Drag options to blanks, or click blank then click option'
Arun
Btest
Cdocs
Dbuild
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'dbt run serve' instead of 'dbt docs serve'.
Confusing 'serve' with 'build'.
2fill in blank
medium

Complete the code to generate the documentation site files before serving.

dbt
dbt docs [1]
Drag options to blanks, or click blank then click option'
Abuild
Btest
Ccompile
Dgenerate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'dbt test' which runs tests, not generates docs.
Using 'dbt compile' which compiles SQL but does not generate docs.
Using 'dbt build' which is a different command.
3fill in blank
hard

Fix the error in the command to serve dbt docs on a specific port.

dbt
dbt docs serve --[1] 8085
Drag options to blanks, or click blank then click option'
Aport
Bhost
Caddress
Durl
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--host' instead of '--port'.
Using '--address' which is not a valid option.
4fill in blank
hard

Fill both blanks to generate and serve dbt docs in one command.

dbt
dbt docs [1] && dbt docs [2]
Drag options to blanks, or click blank then click option'
Agenerate
Brun
Cserve
Dtest
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'run' instead of 'docs generate' or 'docs serve'.
Trying to serve docs before generating them.
5fill in blank
hard

Fill all three blanks to generate docs, serve on port 8080, and specify host 0.0.0.0.

dbt
dbt docs [1] && dbt docs serve --[2] 8080 --[3] 0.0.0.0
Drag options to blanks, or click blank then click option'
Agenerate
Bport
Chost
Drun
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'run' instead of 'generate'.
Confusing '--host' and '--port' options.