Bird
0
0

You wrote this access control in your dbt_project.yml:

medium📝 Debug Q14 of 15
dbt - Governance and Collaboration
You wrote this access control in your dbt_project.yml:
access_control:
  - role: analyst
    models:
      - sales
      - customers
  - role: viewer
    models:
      - sales
But analysts report they cannot see the customers model. What is the likely error?
AThe <code>access_control</code> block is not supported in <code>dbt_project.yml</code>
BThe role name 'analyst' is misspelled
CThe models list must be under each model, not role
DThe <code>customers</code> model does not exist in the project
Step-by-Step Solution
Solution:
  1. Step 1: Check where access controls are defined in dbt

    dbt does not support an access_control block in dbt_project.yml. Access controls are managed outside or via external tools.
  2. Step 2: Analyze other options

    Role spelling or model existence might cause issues, but the main problem is unsupported syntax in the config file.
  3. Final Answer:

    The access_control block is not supported in dbt_project.yml -> Option A
  4. Quick Check:

    Access control block unsupported = The access_control block is not supported in dbt_project.yml [OK]
Quick Trick: Access controls not set in dbt_project.yml [OK]
Common Mistakes:
MISTAKES
  • Trying to set access control inside dbt_project.yml
  • Assuming role names cause access issues
  • Not verifying model existence

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes