nerdexam
Microsoft

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.

Manage data governance and security

Question

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 that the sales representatives can see only their respective data. Which warehouse object do you require to implement RLS?

Options

  • ASTORED PROCEDURE
  • BCONSTRAINT
  • CSCHEMA
  • DFUNCTION

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    9% (2)
  • D
    87% (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.

ASTORED PROCEDURE

Stored procedures are used for encapsulating SQL statements and logic, but they are not directly used as security predicates for RLS.

BCONSTRAINT

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.

CSCHEMA

Schemas are used to organize database objects, but they do not define the filtering logic for RLS.

DFUNCTIONCorrect

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

#Row-Level Security (RLS)#Fabric Warehouse#Data Security#SQL Functions

Community Discussion

No community discussion yet for this question.

Full DP-700 Practice