DP-700 · Question #14
You have a Fabric warehouse named DW1. DW1 contains a table that stores sales data and is used by multiple sales representatives. You plan to implement row-level security (RLS). You need to ensure…
The correct answer is D. FUNCTION. To implement Row-Level Security (RLS) in a Fabric warehouse, a security predicate must be created using an inline table-valued function (ITVF). This function defines the logic that filters rows based on user context.
Question
Options
- ASTORED PROCEDURE
- BCONSTRAINT
- CSCHEMA
- DFUNCTION
How the community answered
(23 responses)- A4% (1)
- B9% (2)
- D87% (20)
Why each option
To implement Row-Level Security (RLS) in a Fabric warehouse, a security predicate must be created using an inline table-valued function (ITVF). This function defines the logic that filters rows based on user context.
Stored procedures are used for encapsulating SQL statements and logic, but they are not directly used as security predicates for RLS.
Constraints enforce data integrity rules (e.g., primary key, foreign key, check constraints) but do not filter data rows based on user identity for security purposes.
Schemas are used to organize database objects, but they do not define the filtering logic for RLS.
RLS in a Fabric warehouse is implemented by creating a security policy that uses an inline table-valued function (ITVF) as a predicate. This function contains the logic to filter rows based on criteria like the current user's identity, ensuring that users only see authorized data.
Concept tested: Fabric Warehouse Row-Level Security (RLS) implementation
Source: https://learn.microsoft.com/en-us/fabric/data-warehouse/row-level-security
Topics
Community Discussion
No community discussion yet for this question.