nerdexam
Microsoft

70-457 · Question #155

70-457 Question #155: Real Exam Question with Answer & Explanation

Sign in or unlock 70-457 to reveal the answer and full explanation for question #155. The question stem and answer options stay visible for context.

Question

You administer a SQL Server 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 and the Sales role is granted the Select permission on the Customers schema. You need to ensure that the Sales role, including UserA, is disallowed to select from the Regions table. Which Transact-SQL statement should you use?

Options

  • AREVOKE SELECT OK Schema::Customers FROM UserA
  • BREVOKE SELECT ON Object::Regions FROM UserA
  • CEXEC sp_addrolemember 'Sales', 'UserA'
  • DDENY SELECT ON Schema::Customers FROM Sales
  • EEXEC sp_droprolemember 'Sales', 'UserA'
  • FREVOKE SELECT ON Schema::Customers FROM Sales
  • GDENY SELECT ON Object::Regions FROM UserA
  • HREVOKE SELECT ON Object::Regions FROM Sales
  • JDENY SELECT ON Object::Regions FROM Sales

Unlock 70-457 to see the answer

You've previewed enough free 70-457 questions. Unlock 70-457 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.

Full 70-457 Practice
You administer a SQL Server 2012 server that contains a database... | 70-457 Q#155 Answer | NerdExam