DP-700 · Access Control and Data Masking
28 cards
OneLake Row, Column, and Folder Security
-
Quick check
One role grants the Orders table, hides its Discount column, and has a row rule for the West region. A user belongs to this role and to no other. What does the user read in Orders?
AThe West rows, without the Discount column
Right. Inside one role the object, row, and column settings apply together, so the user gets their intersection.
BEvery row, and the Discount column only for the West rows
The two rules are not alternatives. Inside one role they apply together: the row rule removes the other regions and the column rule removes Discount in every row.
CEvery row and column, because the table grant is wider than the two rules
A table grant does not cancel the rules of its own role. OneLake resolves a role as the intersection of its object, row, and column settings.
3 / 28
-
Quick check
A folder under `Tables/` holds Parquet files but has no `_delta_log` folder. A role includes it and adds a row rule on it. What do the members of the role get?
AThe files of the folder, because the row rule is skipped
Skipping the rule is what happens without RLS or CLS: then OneLake treats it as a plain folder. With a rule configured, OneLake denies access.
BNo access, because OneLake denies it
Right. A folder without `_delta_log` is not a valid table, and OneLake denies access when RLS or CLS is configured on such a folder.
CThe allowed rows, but only from a Spark notebook
No engine can filter rows here, because the folder is not a valid table. OneLake denies access when a rule is configured on it.
7 / 28
-
Quick check
A role grants Read on `Files/Reports/2026` and on nothing else. Why can a member open `Files/Reports` in the explorer?
ABecause every role grants the `Files` directory by default
No role grants `Files` by default. The member reaches `Reports` because traversal opens the parent folders of the granted folder.
BBecause inheritance extends a grant to the parent folders
Inheritance goes down, to the files and subfolders of the granted folder. The path up is opened by traversal.
CBecause traversal lets members list the parents of a granted folder
Right. With permission on a child item, a user can list and traverse its parent folders, without getting access to sibling files or folders.
9 / 28
-
Keep your progress in the app
That’s 3 of 10 quick checks. In the app they stay answered, and every lesson remembers where you left off.
Keep reading hereOpens in your browser. Nothing to install.
Start studying -
Quick check
An admin wants the members of a role to read no column of the Payroll table, and tries to hide every column in Column security. Why does this fail?
ABecause hidden columns still show their values in Spark notebooks
Hidden columns never show their values. In a Spark notebook a `SELECT *` succeeds and shows only the allowed columns.
BBecause at least one column must remain in the allowed list
Right. Column security cannot hide a whole table, because at least one column must remain in the list of allowed columns.
CBecause column rules can be defined only on folders under `Files/`
It is the opposite. Column-level security is defined on Delta Parquet tables, and a folder of files has no columns.
13 / 28
-
Quick check
A role must give a group access to the invoices of only one customer. The invoices exist as a Delta Parquet table and also as PDF files in a folder under `Files/`. Where can a row rule do this?
AOn the folder of PDF files, once it is added to the role
A folder of PDF files has no rows. It can be granted or left out as an object, but RLS cannot be defined for non-table folders or unstructured data.
BOn both, because tables and folders are secured the same way
Tables and folders are secured the same way at object level only. Row rules need tabular data, so the folder of files cannot have one.
COn the Delta Parquet table, because rows exist only in tabular data
Right. RLS rules are defined in a role that grants access to table data in Delta Parquet format, and never on unstructured data.
15 / 28
-
Quick check
A lakehouse with schemas has the table Orders in the schema sales. Which row rule shows the members of a role only the rows of the West region?
A`SELECT * FROM Orders WHERE Region = 'West'`
The schema is missing. If the item supports schemas, the rule must include the schema name before the table name.
B`SELECT * FROM sales.Orders WHERE Region = 'West'`
Right. The rule is a `SELECT * FROM` statement with the schema and the table, and the condition goes in the `WHERE` clause.
C`SELECT Region FROM sales.Orders WHERE Region = 'West'`
A row rule always starts with `SELECT * FROM`. Choosing columns is the job of column-level security, not of the row rule.
18 / 28
-
Quick check
A column used in a row rule is deleted from its table, and the SQL analytics endpoint enforces OneLake roles. What happens at the endpoint?
AThe endpoint database enters an error state until the policy is fixed
Right. A row rule that references a deleted or renamed column puts the endpoint database in an error state until the policy is fixed.
BThe rule is skipped, and members read every row of the table
A broken rule never opens the table. The endpoint reports the error and stays in an error state until the role is corrected or the column is restored.
CThe column comes back with empty values, so the rule keeps working
Nothing restores the column for you. Someone has to update or remove the affected roles, or restore the missing column.
20 / 28
-
Quick check
A user is in Role A, which grants the Returns table, and in Role B, which does not include it. Can the user read Returns?
ANo, because a role that leaves out a table denies it
Leaving a table out of a role is not a deny. OneLake security has only Grant roles, so the grant from Role A stays valid.
BYes, because roles combine as a union and no role can deny
Right. OneLake combines roles with a union model, and you cannot deny access that is granted through a different role.
CNo, because roles with different tables cancel each other
Roles do not cancel each other. Access granted by any role becomes part of what the user can access.
23 / 28
-
Quick check
A workspace Member is added to a role that hides the Salary column of a table. The Member reads the table in a Spark notebook. What appears?
AThe table without Salary, because the role hides it for its members
The role hides Salary only for users it restricts. These controls do not restrict the Admin, Member, and Contributor workspace roles.
BAn error, because a Member cannot be in a role with column rules
Nothing fails. The membership has no effect here, because the Member already has access through the workspace role.
CThe table with Salary, because the role does not restrict a Member
Right. OneLake security roles grant access and cannot deny it, so a workspace Member still reads every column.
26 / 28
-
Quick check
Which statement about OneLake security roles is correct?
AA role can deny a table that another role grants to the same user
OneLake security supports only Grant roles. A role cannot deny access that another role grants.
BA row rule on a folder of files filters the files that members can open
Rows exist only in tabular data, so RLS cannot be defined for non-table folders or unstructured data.
CRow rules of several roles on one table combine with an OR operator
Right. When multiple roles grant access to the same table, row-level security rules combine with an OR operator.
28 / 28
-
10 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
Take this lesson’s test → Next lesson: Warehouse SQL Granular SecurityOpens in your browser. Nothing to install.
Start studying
The whole course, on your computer and your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.
Opens in your browser. Nothing to install.
Start studying“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”
