Implementing a SQL Data Warehouse — Question 59

You have Microsoft Azure SQL Database instances named DB1 and DB2.
The databases are hosted in different regions and contain different tables.
You must allow Transact-SQL queries in DB1 to access data in DB2.
You need to configure DB1 to ensure that you can run queries that join tables from DB1 and DB2.
What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because configuring a linked server allows DB1 to access DB2 remotely, enabling the execution of queries that join tables across both databases. Options A, C, and D do not provide the necessary means for DB1 to directly query DB2, as they either establish an external data source or focus on resource pooling, which is not suitable for cross-database querying.