You create an availability group that has replicas named HA/Server01 and HA/Server02. Currently, HA/
Server01 is the primary replica. You have multiple queries that read data and produce reports from the
database. You need to offload the reporting workload to the secondary replica when HA/Server01 is the primary
replica. What should you do?
You administer several Microsoft SQL Server 2012 database servers. Merge replication has been configured
for an application that is distributed across offices throughout a wide area network (WAN). Many of the tables
involved in replication use the XML and varchar (max) data types. Occasionally, merge replication fails due to
timeout errors. You need to reduce the occurrence of these timeout errors. What should you do?
You administer two Microsoft SQL Server 2012 servers. Each server resides in a different, untrusted domain.
You plan to configure database mirroring. You need to be able to create database mirroring endpoints on both
servers. What should you do?
You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2012. You
attempt to add the [Corpnet\User1] login to the database. However, you receive the following error message:
"User already exists in current database."
You need to configure the [Corpnet\User1] login to be able to access the Orders database and retain the
original permissions. You need to achieve this goal by using the minimum required permissions.
Which Transact-SQL statement should you use?
You use a contained database named ContosoDb within a domain. You need to create a user who can log on
to the ContosoDb database. You also need to ensure that you can port the database to different database
servers within the domain without additional user account configurations. Which type of user should you
create?
You are the lead database administrator (DBA) of a Microsoft SQL Server 2012 environment. All DBAs are
members of the DOMAIN\JrDBAs Active Directory group. You grant DOMAIN\JrDBAs access to the SQL
Server. You need to create a server role named SpecialDBARole that can perform the following functions:
You administer a Microsoft SQL Server database named Sales. The database is 3 terabytes in size. The Sales
database is configured as shown in the following table.
You discover that Sales_2.ndf is corrupt. You need to recover the corrupted data in the minimum amount of
time. What should you do?
You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a
schema named Customers that has a table named Regions. A user named UserA is a member of a role named
Sales. UserA is granted the Select permission on the Regions table. The Sales role is granted the Select
permission on the Customers schema. You need to ensure that the Sales role, including UserA, is disallowed to
select from any of the tables in the Customers schema. Which Transact-SQL statement should you use?
You administer a SQL 2012 server that contains a database named SalesDb. SalesDb contains a schema
named Customers that has a table named Regions. A user named UserA is a member of a role named Sales.
UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission
on the Customers schema. You need to remove the Select permission for UserA on the Regions table. You
also need to ensure that UserA can still access all the tables in the Customers schema, including the Regions
table, through the Sales role permissions. Which Transact-SQL statement should you use?
You administer a Microsoft SQL Server 2012 instance that contains a financial database hosted on a storage
area network (SAN). The financial database has the following characteristics: