Courseiva
Managing Data →mediumMultiple Choice

Databricks-DA-Assoc Managing Data Practice Question

A data engineer has created a Delta table named `sales_summary` and needs to ensure that downstream analysts can only read rows where the `region` column matches their assigned territory. Which Databricks feature should be implemented to enforce this restriction securely at the row level?

⚠ Common exam trap

Candidates often think custom view definitions or manual user-filtering clauses in queries are sufficient, ignoring native row-level security enforcement.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Implement Unity Catalog row filters using a SQL function that evaluates the current user.

Row filters in Unity Catalog allow administrators and data owners to apply SQL-based filtering logic directly to tables, ensuring users only see authorized rows. This mechanism is critical for maintaining data governance, security, and compliance across diverse enterprise teams accessing shared datasets in Databricks.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Apply dynamic views using standard Spark SQL case statements that evaluate session user functions.

    Why it's wrong here

    Dynamic views require creating an entirely separate view object and can be bypassed if users query the underlying base table directly. Unity Catalog row filters provide a robust, unified security layer directly on the table itself without duplicating storage.

  • ✓

    Implement Unity Catalog row filters using a SQL function that evaluates the current user.

    Why this is correct

    Unity Catalog row filters attach a SQL function to the table that evaluates the invoking user's identity, returning only rows matching their assigned territory. Enforcement occurs at query time in the governance layer, so analysts cannot bypass the restriction through direct table reads.

  • ✗

    Grant SELECT privileges on filtered partitions using Unity Catalog folder-level access controls.

    Why it's wrong here

    Unity Catalog folder-level grants control access to storage paths and tables, not individual rows, so they cannot filter on the region column. This is tempting because Unity Catalog does govern data access, but row filtering requires row filter functions or dynamic views, which evaluate predicates per user.

  • ✗

    Configure cluster-level environment variables to filter data frames automatically upon session start.

    Why it's wrong here

    Cluster environment variables affect the entire compute resource and can be easily bypassed by switching clusters or running direct SQL queries. Security policies must be enforced at the data governance layer rather than trusting compute configurations.

About these practice questions

This Databricks-DA-Assoc question is part of Courseiva's 291-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Databricks exam blueprint

This Databricks-DA-Assoc practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-DA-Assoc exam.