Valid DEA-C02 Dumps shared by ExamDiscuss.com for Helping Passing DEA-C02 Exam! ExamDiscuss.com now offer the newest DEA-C02 exam dumps, the ExamDiscuss.com DEA-C02 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com DEA-C02 dumps with Test Engine here:
You are implementing row access policies on a 'SALES DATA table to restrict access based on the 'REGION' column. Different users are allowed to see data only for specific regions. You have a mapping table 'USER REGION MAP' with columns 'USERNAME' and 'REGION'. You want to create a row access policy that dynamically filters the 'SALES DATA' based on the user and their allowed region. Which of the following options represents a correct approach to create and apply this row access policy?
Correct Answer: B
Option B is the correct approach. It creates a row access policy that checks if a row exists in the where the username matches the current user and the region matches the 'REGION' column in the 'SALES_DATR table. 'ADD ROW ACCESS POLICY is the correct command to apply the policy. Options A is incorrect as it uses IN clause, which can become inefficient with large datasets. Option C uses 'SET' which is not a valid operation, and Option D uses 'MODIFY which is used for masking policy and not row access policy. Option E uses 'CURRENT ROLE instead of 'CURRENT USER' which is not the appropriate filter criteria.