Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You are designing a data access control system for a multi-tenant application using Azure Cosmos DB. Which of the following approaches should you use to implement row-level security?
A
Create a separate database for each tenant and implement role-based access control (RBAC) at the database level.
B
Create a single database with a tenant_id column in each table and implement row-level security using stored procedures.
C
Implement row-level security by creating a custom function that filters the data based on the tenant_id and the user's role.
D
Use Azure Cosmos DB's built-in support for role-based access control (RBAC) to assign permissions to specific roles for each tenant.