nerdexam
Microsoft

70-465 · Question #162

You have SQL Server 2014. You create two databases named DB1 and DB2 in DB1, you create a table named table1. In DB2 you create table2. In DB1 you create a view named View1. View1 reads data from…

The correct answer is B. Mixed mode authentication. When a view in one database references objects in another database, cross-database ownership chaining must be enabled to allow permission to flow through the view to the underlying cross-database table. However, the marked correct answer is B, which is inconsistent with…

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

Question

You have SQL Server 2014. You create two databases named DB1 and DB2 in DB1, you create a table named table1. In DB2 you create table2. In DB1 you create a view named View1. View1 reads data from table1 and table2. You grant a group named Group1 the SELECT permission to View1. You need to recommended a solution to ensure that the members of Group1 can execute View1 Successfully. What should you include in recommendation?

Options

  • ASigned store procedure
  • BMixed mode authentication
  • CCress-database ownership chaining
  • DWindows authentication

How the community answered

(18 responses)
  • A
    11% (2)
  • B
    78% (14)
  • C
    6% (1)
  • D
    6% (1)

Why each option

When a view in one database references objects in another database, cross-database ownership chaining must be enabled to allow permission to flow through the view to the underlying cross-database table. However, the marked correct answer is B, which is inconsistent with standard SQL Server security guidance.

ASigned store procedure

A signed stored procedure allows permissions to be granted via certificate-based signing, but the scenario involves a view, not a stored procedure, and cross-database object access requires ownership chaining, not procedure signing.

BMixed mode authenticationCorrect

The marked correct answer is B (Mixed mode authentication), but this is technically incorrect for this scenario. Mixed mode authentication controls how users log into SQL Server (Windows vs. SQL logins) and does not resolve cross-database permission issues for views. The technically accurate answer should be C (Cross-database ownership chaining), which allows SELECT permission granted on View1 in DB1 to transparently extend to table2 in DB2 when the ownership chain is intact.

CCress-database ownership chaining

Cross-database ownership chaining is actually the correct technical solution here, as it allows permissions granted on View1 to extend to table2 in DB2 without requiring explicit grants on the underlying table in the other database.

DWindows authentication

Windows authentication defines how users authenticate to SQL Server but does not affect cross-database object permission resolution or allow a view to access tables in another database.

Concept tested: Cross-database ownership chaining for cross-database views

Source: https://learn.microsoft.com/en-us/sql/relational-databases/security/cross-database-ownership-chaining?view=sql-server-2014

Topics

#cross-database access#SQL Server security#authentication modes#permissions

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice