Microsoft
70-458 · Question #5
70-458 Question #5: Real Exam Question with Answer & Explanation
Sign in or unlock 70-458 to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
You administer a SQL 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema. You need to remove the Select permission for UserA on the Regions table. You also need to ensure that UserA can still access all the tables in the Customers schema, including the Regions table, through the Sales role permissions. Which Transact-SQL statement should you use?
Options
- ADENY SELECT ON Object::Regions FROM UserA
- BDENY SELECT ON Schema::Customers FROM UserA
- CEXEC sp_addrolemember 'Sales', 'UserA'
- DREVOKE SELECT ON Object:: Regions FROM UserA
- EREVOKE SELECT ON Object::Regions FROM Sales
- FEXEC sp_droproiemember 'Sales', 'DserA'
- GREVOKE SELECT ON Schema::Customers FROM UserA
- HDENY SELECT ON Object::Regions FROM Sales
- JREVOKE SELECT ON Schema:: Customers FROM Sales
Unlock 70-458 to see the answer
You've previewed enough free 70-458 questions. Unlock 70-458 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.