Question 6
You administer a Windows Azure SQL Database database named Human_Resources. The database contains 2 tables named Employees and SalaryDetails.
You add two Windows groups as logins for the server:
CORP\Employees - All company employees
CORP\HRAdmins - HR administrators only
HR Administrators are also company employees.
You need to grant users access according to the following requirements:
CORP\Employees should have SELECT access to the Employees table.
Only users in CORP\HRAdmins should have SELECT access to the SalaryDetails table.
Logins are based only on Windows security groups.
What should you do?
Question 7
Which of the following SQL Server 2012 tools coordinates transactions across SQL Servers in a clustered environment?
Question 8
You administer a Microsoft SQL Server 2012 database named ContosoDb. Tables are defined as shown in the exhibit. (Click the Exhibit button.)
You need to display rows from the Orders table for the Customers row having the CustomerId value set to
1 in the following XML format.
Which Transact-SQL query should you use?
A:
B:
C:
D:
E:
F:
G:
H:
Question 9
HOTSPOT
You administer two Microsoft SQL Server 2012 databases named Contoso and ContosoWarehouse.
You plan to replicate tables from the Contoso database to the ContosoWarehouse database.
Indexes will be added to the tables in ContosoWarehouse to improve the performance of reports.
You need to ensure that the following requirements are met:
* Indexes are not modified when the subscriptions are reinitialized.
* Only the clustered index from Contoso will be replicated.
* Minimal transaction log activity during the reinitialization.
What should you do? Choose the correct option(s).
Question 10
You are developing a database application by using Microsoft SQL Server 2012. An application that uses a database begins to run slowly.
You discover that a large amount of memory is consumed by single-use dynamic queries.
You need to reduce procedure cache usage from these statements without creating any additional indexes.
What should you do?


