Question 1
A data engineer needs a credential to access an external cloud storage path from Unity Catalog. Which objects are required?
- A SQL warehouse
- A storage credential and an external location — Correct
- A Delta Sharing recipient
- A secret scope only
Correct answer
A storage credential and an external location
Explanation
External locations pair a storage path with a storage credential and are granted to principals.
Question 2
A row filter function references a mapping table to decide which regions a user may see. Which permission consideration applies?
- Row filters only apply to admins
- It runs with the owner's rights for referenced tables — Correct
- Row filters cannot reference other tables
- Every user needs SELECT on the mapping table
Correct answer
It runs with the owner's rights for referenced tables
Explanation
Row filter and mask functions are evaluated with definer's rights for objects they reference.
Question 3
Which approach rotates a credential used by a Unity Catalog connection without changing jobs?
- Store the password in a job parameter and edit it per job
- Delete all foreign catalogs and recreate them with new names
- Update the connection's credentials in Unity Catalog — Correct
- Edit every job's code to include the new password
Correct answer
Update the connection's credentials in Unity Catalog
Explanation
Centralized connections let credentials be updated in one place.
Question 4
A right-to-be-forgotten request requires deleting a customer from all tables. Which practice makes this tractable?
- Restore all tables to a version before the customer existed
- Wait for VACUUM to remove the customer automatically
- Track PII locations with tags and lineage, then delete and vacuum — Correct
- Delete the customer only from gold, since lower layers are internal
Correct answer
Track PII locations with tags and lineage, then delete and vacuum
Explanation
Knowing where PII lives and purging old files ensures complete removal.
Question 5
Which design best isolates PII so that most engineers never touch it?
- Encode PII in base64 so that it is no longer considered sensitive
- Keep PII in notebooks rather than tables
- Store PII in every table so that joins are never needed
- Separate PII into restricted tables or schemas, joined by tokenized keys — Correct
Correct answer
Separate PII into restricted tables or schemas, joined by tokenized keys
Explanation
Segregating PII and using pseudonymous keys limits exposure.
Question 6
A table contains a column ssn that only the compliance group may see; others must see only the last 4 digits. The rule must apply to all current and future tables with a pii_ssn tag. Which approach fits?
- An ABAC policy that masks columns tagged pii_ssn — Correct
- Encrypting the column with a static key in notebooks
- A column mask on each existing table only
- A dynamic view per table
Correct answer
An ABAC policy that masks columns tagged pii_ssn
Explanation
ABAC policies apply masks based on governed tags across catalogs or schemas, including new tables.
Question 7
A team wants data engineers to read production tables but write only to dev. Which setup fits?
- Grant ALL PRIVILEGES on prod and ask engineers not to write
- Make engineers owners of the prod catalog
- Give engineers the production service principal's credentials
- Grant SELECT on prod and write privileges only on dev — Correct
Correct answer
Grant SELECT on prod and write privileges only on dev
Explanation
Separate read and write grants per environment enforce least privilege.
Question 8
Which approach keeps secrets out of bundle configuration and code?
- Hard-code passwords in notebooks
- Email credentials to team members
- Use a secret scope — Correct
- Put tokens in databricks.yml variables committed to Git
Correct answer
Use a secret scope
Explanation
Secret scopes keep credentials out of code; values are redacted in outputs.
Question 9
Which privilege allows a group to create external tables in a specific external location?
- USE CONNECTION
- CREATE EXTERNAL TABLE — Correct
- MODIFY on the metastore
- SELECT on the external location
Correct answer
CREATE EXTERNAL TABLE
Explanation
External location privileges include READ FILES, WRITE FILES and CREATE EXTERNAL TABLE.
Question 10
Which statement about workspace-catalog binding is correct?
- Binding copies the catalog's data into the workspace
- Every catalog is always visible to every workspace in every account
- Binding only applies to SQL warehouses
- Catalogs can be bound so only specific workspaces can access them — Correct
Correct answer
Catalogs can be bound so only specific workspaces can access them
Explanation
Workspace bindings restrict which workspaces can use a catalog, such as prod data only in prod workspaces.