Which action should you take?

You are a database developer on an instance of SQL Server 2008. Your company has branch offices located in different geographic regions. Each branch office maintains a separate SQL Server instance that contains a TransactionHistory table, which contains a historical record of that branch’s transactions. Each branch office’s TransactionHistory table has the same table structure, except each table contains a CHECK constraint on the BranchID column that allows branch users to only add and update records for their specific branch.
You want to allow users at the corporate office to query transaction history from all branches. Most queries will access only transactions for a single branch office, but some queries will access transaction history across multiple branches based on a date range.
You want ensure that branch office users can only modify the appropriate data, but also provide optimum performance for queries.
Which action should you take?
A. Implement a nested view that exposes the required data.
B. Create a view for each branch office that includes the WITH CHECK OPTION clause.
C. Create a distributed partitioned view using the UNION ALL operator.
D. Create a single partitioned table that includes a single CHECK constraint and transaction history from all branch offices.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.