nerdexam
Microsoft

70-465 · Question #59

You need to recommend a solution that addresses the security requirement. What should you recommend?

The correct answer is C. Deny the users SELECT permission on the tables. This question tests understanding of SQL permission management, specifically using DENY to explicitly block SELECT access on database tables for certain users.

Submitted by yuki_2020· Mar 5, 2026Design database security solutions

Question

You need to recommend a solution that addresses the security requirement. What should you recommend?

Options

  • ARevoke user permissions on the tables.
  • BGrant the users the SELECT permission on the tables.
  • CDeny the users SELECT permission on the tables.
  • DDeny the users the SELECT permission on the tables.

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    92% (44)
  • D
    2% (1)

Why each option

This question tests understanding of SQL permission management, specifically using DENY to explicitly block SELECT access on database tables for certain users.

ARevoke user permissions on the tables.

Revoking permissions only removes previously granted permissions but does not explicitly block access; if users inherit SELECT rights through a role or group membership, revoking individual permissions would not prevent that access.

BGrant the users the SELECT permission on the tables.

Granting SELECT permission would give users the ability to read data from the tables, which is the opposite of a security restriction requirement.

CDeny the users SELECT permission on the tables.Correct

Using DENY SELECT on the tables explicitly prohibits the specified users from reading table data, and DENY takes precedence over any GRANT permissions that may be assigned directly or through role membership. This is the correct approach when you need to ensure users cannot access sensitive data regardless of other permissions they may inherit, as DENY overrides conflicting GRANT permissions in the SQL permission hierarchy.

DDeny the users the SELECT permission on the tables.

Choice D is functionally identical in wording to Choice C ('Deny the users the SELECT permission on the tables'), making C and D duplicates; C is selected as correct, meaning D represents an identical but non-selected option in this question context.

Concept tested: SQL database DENY permission overriding inherited grants

Source: https://learn.microsoft.com/en-us/sql/t-sql/statements/deny-object-permissions-transact-sql

Topics

#SQL Server permissions#DENY permission#Database security#Access control

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice