DS0-001 Database Planning And Deployment Practice Question
A database administrator needs to implement Row-Level Security (RLS) to ensure that users can only view records belonging to their specific department. Which database component must be created to enforce this logic?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A security predicate function
RLS in SQL Server requires a security predicate function (a table-valued function) that returns a filter condition applied by a security policy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A database trigger
Why it's wrong here
Triggers are typically used for audit logging or data integrity, not row-level filtering.
- ✗
A stored procedure
Why it's wrong here
Stored procedures don't automatically enforce security on base table SELECT statements.
- ✗
A database view
Why it's wrong here
Views can restrict access, but they do not provide the same centralized policy enforcement as RLS.
- ✓
A security predicate function
Why this is correct
A predicate function defines the logic used by the security policy to filter rows.
About these practice questions
Courseiva writes every DS0-001 question from scratch — 216 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CompTIA exam blueprint
This DS0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DS0-001 exam.