DP-600 · Domain 1: Maintain a data analytics solution · 27% of the exam
Task 1.1: Implement security and governance
Workspace-level and item-level access controls; row-level, column-level, object-level and file-level access control in warehouses, lakehouses, OneLake and semantic models; applying sensitivity labels to items; and endorsing items.
Study it
Workspace roles and item permissions
Lesson coming
Row-, column-, object- and file-level access control
Lesson coming
Sensitivity labels and endorsement
Lesson coming
Sample questions
Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.
Question 1 · choose 1
A Direct Lake semantic model reads tables from the SalesDW warehouse through its default single sign-on connection. You give 200 regional managers Read permission on the model and share its report with them. The managers have no permissions on SalesDW, and every visual shows an error. The managers must use the report, but they must not be able to connect to SalesDW and query it themselves. What should you do?
AShare SalesDW with the managers and select the Read all data using SQL permission
BGive the managers Build permission on the semantic model as well
CAdd the managers to the workspace with the Viewer role
DBind the model to a fixed-identity cloud connection with SSO turned off
Show the answer and why
AShare SalesDW with the managers and select the Read all data using SQL permission
Incorrect
The visuals would work, but ReadData lets the managers connect to the warehouse and query every table and view.
BGive the managers Build permission on the semantic model as well
Incorrect
Build lets them create content on the model; with SSO, Direct Lake still checks their own read access to the warehouse.
CAdd the managers to the workspace with the Viewer role
Incorrect
Viewers get Read and ReadData on the warehouse by default, so they could query it directly.
DBind the model to a fixed-identity cloud connection with SSO turned off
Correct
With a fixed identity and SSO off, Direct Lake reads data with that identity's permissions, so users need access to the model, not to the warehouse.
With the default single sign-on (Microsoft Entra ID) connection, Direct Lake checks that the user who runs the query can read the source tables, so report users would need ReadData or table permissions on the warehouse. When you bind the model to an explicit cloud connection with a fixed identity and leave SSO disabled, the fixed identity's permissions decide what Direct Lake can read for queries and refreshes, and users who aren't granted anything on the warehouse can't query it directly.
Tables in an Azure SQL database are labeled Confidential in Microsoft Purview. A pipeline copies them every night into the SalesLH lakehouse, and a Direct Lake semantic model and its reports read SalesLH. Inheritance from data sources and downstream inheritance are both turned on, yet SalesLH, the model and the reports carry no label. All three must carry Confidential with the least manual labeling. What should you do?
ALabel SalesLH Confidential and let downstream inheritance label the model and reports
BWait for the next pipeline run, which copies the source label to SalesLH
CRefresh the semantic model so that it inherits Confidential from the Azure SQL database
DApply Confidential to the semantic model and let inheritance carry it back to SalesLH
Show the answer and why
ALabel SalesLH Confidential and let downstream inheritance label the model and reports
Correct
Downstream inheritance runs from a Fabric item to the Power BI items that depend on it, so labeling the lakehouse covers the model and reports.
BWait for the next pipeline run, which copies the source label to SalesLH
Incorrect
Inheritance from data sources currently applies only to Power BI semantic models, so a lakehouse loaded by a pipeline doesn't take the source's label.
CRefresh the semantic model so that it inherits Confidential from the Azure SQL database
Incorrect
The model reads SalesLH, not the database, so it has no labeled data source to inherit from.
DApply Confidential to the semantic model and let inheritance carry it back to SalesLH
Incorrect
Labels propagate downstream only, and inheritance from a Power BI item to a Fabric item isn't supported.
In Fabric, inheritance from data sources is currently supported for Power BI semantic models only: a model that connects to a labeled source picks up its label. Downstream inheritance then passes a label from an item to the items that depend on it, from Fabric item to Fabric item, from Fabric item to Power BI item, and from Power BI item to Power BI item, but not from a Power BI item to a Fabric item. A label on the lakehouse therefore reaches the Direct Lake model and its reports.
A contractor's only access to a lakehouse is an item permission shared with him directly. You remove it from the lakehouse's Manage permissions page while he's still signed in to Fabric. Shortly afterwards he can still open the lakehouse. What explains this?
APermissions removed on the Manage permissions page apply only after the workspace is refreshed
BA removed permission stays valid until his current session expires after 24 hours
CA revoked item permission can take up to two hours to take effect for a signed-in user
DDirect permissions can be removed only by a Fabric administrator
Show the answer and why
APermissions removed on the Manage permissions page apply only after the workspace is refreshed
Incorrect
There's no workspace refresh step; the delay comes from how long revocation takes for a signed-in user.
BA removed permission stays valid until his current session expires after 24 hours
Incorrect
Revocation isn't tied to a 24-hour session; for a signed-in user it takes effect within up to two hours.
CA revoked item permission can take up to two hours to take effect for a signed-in user
Correct
For signed-in users, permission revocations can take up to two hours; otherwise they apply at the next sign-in.
DDirect permissions can be removed only by a Fabric administrator
Incorrect
Workspace admins and members manage item permissions; the change was made, it just hasn't taken effect yet.
When a user's permission on an item is revoked through the manage permissions experience, it can take up to two hours to take effect if the user is signed in. If the user isn't signed in, the permissions are evaluated the next time they sign in. Permissions inherited from a workspace role can't be changed on the permission management page.
A colleague shares the SalesLH lakehouse with you and keeps the default permissions of the share. You have no role in the lakehouse's workspace. Where can you find SalesLH to open it?
AIn the OneLake catalog
BIn your list of workspaces, because sharing adds you to the workspace as a Viewer
CNowhere yet: the owner must also grant Read all with Apache Spark before it can be found
DOnly through its SQL connection string, because shared lakehouses aren't listed in the Fabric portal
Show the answer and why
AIn the OneLake catalog
Correct
Sharing always grants Read, so the recipient can discover the shared lakehouse in the OneLake catalog and open it.
BIn your list of workspaces, because sharing adds you to the workspace as a Viewer
Incorrect
Sharing gives access to the lakehouse without giving access to its workspace.
CNowhere yet: the owner must also grant Read all with Apache Spark before it can be found
Incorrect
Read, which every share includes, is enough to discover and open the lakehouse.
DOnly through its SQL connection string, because shared lakehouses aren't listed in the Fabric portal
Incorrect
Lakehouses that others shared with you can be seen in your OneLake catalog.
Sharing a lakehouse grants other users access to it without giving access to the workspace and the rest of its items. Read permission is always granted during sharing, so the recipient can discover the shared item in the OneLake catalog and open it; additional permissions, such as Read all with Apache Spark, are optional.
The SalesLH lakehouse carries the Confidential sensitivity label. A data engineer creates a new notebook from SalesLH. Which label does the notebook get?
ANo label until someone applies one manually
BThe tenant's default label, which always overrides inheritance
CThe label of the engineer's personal workspace
DConfidential, which the notebook inherits from the lakehouse
Show the answer and why
ANo label until someone applies one manually
Incorrect
Inheritance upon creation applies here, so the notebook doesn't start unlabeled.
BThe tenant's default label, which always overrides inheritance
Incorrect
A default label is applied only when no label comes through other means, such as inheritance.
CThe label of the engineer's personal workspace
Incorrect
Workspaces don't pass labels to new items; the source item does.
DConfidential, which the notebook inherits from the lakehouse
Correct
A notebook created from a lakehouse inherits the lakehouse's sensitivity label.
Inheritance upon creation means that when you create a new item from an existing item, the new item inherits the existing item's label. In Fabric this is supported for Power BI items and for several non-Power BI cases, such as a notebook, a pipeline or a shortcut created from a lakehouse. Default labeling applies only when an item doesn't get a label through other means.
In the HR warehouse, the HireDate column of dbo.Employee has type datetime2(7) and a default() dynamic data mask. Support agents hold the Viewer role in the workspace and SELECT on the table, with no other permissions. What do they see in HireDate when they query the table?
ANULL in every row
B0001-01-01 00:00:00.0000000 in every row
C1900-01-01 00:00:00.0000000 in every row
D1753-01-01 00:00:00.0000000 in every row
Show the answer and why
ANULL in every row
Incorrect
The default mask replaces a date and time value with a fixed date; it doesn't return NULL.
B0001-01-01 00:00:00.0000000 in every row
Incorrect
For date and time types, the default mask uses 1900-01-01, not the lowest value of the type.
C1900-01-01 00:00:00.0000000 in every row
Correct
default() masks date and time data types, datetime2 included, as 1900-01-01 00:00:00.0000000.
D1753-01-01 00:00:00.0000000 in every row
Incorrect
The default mask for date and time types is 1900-01-01, whatever the range of the type.
The default() mask of dynamic data masking applies full masking according to the column's data type: XXXX (or fewer characters) for strings, zero for numeric types, 1900-01-01 00:00:00.0000000 for date and time types such as date, datetime2 and datetimeoffset, and a single byte of ASCII value 0 for binary types. Users who aren't Admins, Members or Contributors of the workspace and have no elevated permission on the warehouse see the masked values.
Sales.pbix carries the Confidential sensitivity label, whose protection settings encrypt files and give the Finance group Full control. Lena belongs to Finance and has a Fabric free license, with which she views the Sales report in its workspace on an F64 capacity. A colleague emails her the file, and she opens it in Power BI Desktop, signed in with her work account. What happens?
AThe file doesn't open for her
BThe file opens and she can edit it, because Power BI Desktop needs no paid license
CThe file opens, because the label gives her group Full control
DThe file opens read-only, and she can't save changes to it
Show the answer and why
AThe file doesn't open for her
Correct
Users with a free license can't open protected .pbix files, whatever the label grants them.
BThe file opens and she can edit it, because Power BI Desktop needs no paid license
Incorrect
Opening a protected .pbix file needs an appropriate license; users with a free license can't open one.
CThe file opens, because the label gives her group Full control
Incorrect
Whatever rights the label gives her group, users with a free license can't open protected .pbix files.
DThe file opens read-only, and she can't save changes to it
Incorrect
There's no read-only mode for her: a protected .pbix file doesn't open at all with a free license.
In Power BI Desktop, sensitivity labels with encryption settings affect access to content: a user who doesn't have sufficient permissions according to the label's encryption settings can't open the file. In addition, users with a free license can't open protected .pbix files, whatever rights the label gives them.
OneLake security on a lakehouse has two roles on the Sales table: Leeds, with the row-level rule City = 'Leeds', and Porto, with the rule City = 'Porto'. Neither role restricts columns. Leo, a workspace Viewer, belongs to both roles. Which rows of Sales can he read?
AOnly the rows of the role he was added to first
BThe rows of both cities
CNo rows
DEvery row
Show the answer and why
AOnly the rows of the role he was added to first
Incorrect
OneLake doesn't pick one role by order; it combines all of a user's roles.
BThe rows of both cities
Correct
When several roles grant access to the same table, their row-level rules combine with an OR operator.
CNo rows
Incorrect
Row-level rules of different roles on the same table aren't combined with AND.
DEvery row
Incorrect
Belonging to several roles doesn't remove their rules; the rules combine into City = 'Leeds' OR City = 'Porto'.
When several OneLake security roles of a user grant access to the same table, their row-level security rules combine with an OR operator, so predicates that allow City = 'Leeds' and City = 'Porto' combine as City = 'Leeds' OR City = 'Porto'.
A user with the Contributor role in a workspace tries to refresh a Dataflow Gen2 there on demand, and the refresh isn't allowed. She has access to all the dataflow's connections. What does she need?
AOwnership of every connection the dataflow uses
BA Power BI Pro license
CEdit permission shared on the dataflow item
DThe Member role or higher in the workspace
Show the answer and why
AOwnership of every connection the dataflow uses
Incorrect
Access to the connections is required, not ownership, and she already has access.
BA Power BI Pro license
Incorrect
The documented requirement is the workspace role and connection access, not a Pro license.
CEdit permission shared on the dataflow item
Incorrect
Item-level edit permission doesn't replace the Member role that refreshing requires.
DThe Member role or higher in the workspace
Correct
The user who triggers a dataflow refresh must have Member or higher access to the workspace and access to its connections.
To refresh a Dataflow Gen2, the user who triggers the refresh must have Member (or higher) access to the workspace and access to all connections the dataflow uses. The Contributor role doesn't meet that prerequisite, and neither a license nor an item-level permission replaces it.
A warehouse enforces a SQL row-level security policy that limits each regional manager to the rows of their region in dbo.Sales. A team replaces the Direct Lake on SQL semantic model over it with a Direct Lake on OneLake model that reads the same tables through a cloud connection with a fixed identity. After the switch, every manager sees all regions in the reports. Managers must again see only their own region. What should you do?
ASwitch the model's Direct Lake behavior to DirectLakeOnly
BGrant the managers ReadData on the warehouse so the SQL policy applies to them
CTurn single sign-on on in the cloud connection, keeping the fixed identity for refreshes
DDefine the region filter as an RLS role in the semantic model
Show the answer and why
ASwitch the model's Direct Lake behavior to DirectLakeOnly
Incorrect
That setting applies only to Direct Lake on SQL, and on OneLake the queries already run without fallback; it doesn't bring back the SQL policy.
BGrant the managers ReadData on the warehouse so the SQL policy applies to them
Incorrect
Direct Lake on OneLake reads the Delta tables through OneLake and never evaluates the SQL policy, whoever queries.
CTurn single sign-on on in the cloud connection, keeping the fixed identity for refreshes
Incorrect
With SSO, queries would run as each manager and need their own OneLake access to the data, and the SQL policy still wouldn't be applied.
DDefine the region filter as an RLS role in the semantic model
Correct
Direct Lake on OneLake doesn't apply SQL-based RLS, so with a fixed identity the rule has to live in the model.
Direct Lake on OneLake isn't coupled with the SQL analytics endpoint: it reads Delta tables through OneLake, so row-level security defined in the SQL analytics endpoint or warehouse isn't applied and queries succeed. Data-access rules must then be defined in the semantic model or in OneLake security. Semantic model RLS is the recommended choice when report consumers have no permission on the source item and the cloud connection uses a fixed identity.
In an import model, the Employee table has EmployeeID, ManagerID and Email columns for 4,000 employees in a hierarchy up to eight levels deep, and Sales relates to Employee on EmployeeID. Each manager must see the sales of every employee who reports to them directly or indirectly, plus their own, and the hierarchy changes weekly. Which RLS filter on Employee meets this?
PATH lists each row's chain of managers, and the row is kept when the signed-in user's ID is in that chain.
PATH returns a delimited string with the identifiers of all the parents of the current identifier, so for each employee it lists the chain of managers up to the top, including the employee. PATHCONTAINS returns TRUE when an item is in that path. Looking up the signed-in user's EmployeeID with USERPRINCIPALNAME and testing it against each row's path keeps every row in that manager's subtree. PATH and PATHCONTAINS aren't supported in RLS rules in DirectQuery mode.
A semantic model has an OLS role that hides the Salary column. Members of that role who hold the Contributor role in the workspace still see Salary, while Viewers in the role don't. Why?
AOLS applies only to Viewers; editors of the model aren't restricted
BOLS applies only in Power BI Desktop and isn't enforced for reports in the service
CThe Contributors opened the report from a different workspace
DOLS rules take a day to reach Contributors
Show the answer and why
AOLS applies only to Viewers; editors of the model aren't restricted
Correct
Workspace roles above Viewer have Edit permission on the semantic model, so OLS doesn't apply to them.
BOLS applies only in Power BI Desktop and isn't enforced for reports in the service
Incorrect
OLS is enforced in the service for users it applies to, which is why the Viewers don't see Salary.
CThe Contributors opened the report from a different workspace
Incorrect
The report's location doesn't change whether OLS applies to a user.
DOLS rules take a day to reach Contributors
Incorrect
There's no delay by role; OLS simply doesn't apply to editors of the model.
Object-level security secures tables or columns from report viewers, and for users without permission it's as if the objects don't exist. OLS only applies to Viewers in a workspace: members of the Admin, Member or Contributor roles have Edit permission on the semantic model, so OLS doesn't apply to them. OLS is defined in model roles, for example with TMDL view or Tabular Editor.