PrepAway - Latest Free Exam Questions & Answers

Category: 70-462 (v.4)

Exam 70-462: Administering Microsoft SQL Server 2012 Databases (update April 11th, 2016)

You need to grant users access according to the following requirements: CORP\Employees should have SELECT acce

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?

You need to ensure that database users and required server logins are migrated to Windows Azure SQL Database

You administer a Microsoft SQL Server 2012 database instance.
You plan to migrate the database to Windows Azure SQL Database. You verify that all objects
contained in the database are compatible with Windows Azure SQL Database.
You need to ensure that database users and required server logins are migrated to Windows Azure
SQL Database.
What should you do?

Which option or options should you choose in the Login Properties of the login for User1?

HOTSPOT
You administer a Microsoft SQL Server 2012 instance.

You need to configure an existing SQL Authenticated Login that meets the following requirements:
Enforces password policy
No password expiration enforcement
Resets the default database to AdventureWorks database
Which option or options should you choose in the Login Properties of the login for User1? (To
answer, configure the appropriate option or options in the dialog box in the answer area.)

Which Transact-SQL statement should you use?

You administer a Microsoft SQL Server 2012 database named Orders.
Orders contains a table named OrderShip that is defined as follows:

A NULL value represents a domestic order. Ninety percent of the values in CountryCode are NULL.
Customers require a procedure that will return orders for all customers from a specified country.
You create a new procedure:

Performance on this procedure is slow.
You need to alter the schema to optimize this query. Objects created must use a minimum amount
of resources.
Which Transact-SQL statement should you use?

Which option of the BACKUP LOG command should you use?

You administer a Microsoft SQL Server 2012 database. The database is currently configured to log
ship to a secondary server.
You are preparing to cut over to the secondary server by stopping log-shipping and bringing the
secondary database online. You want to perform a tail-log backup.
You need to leave the primary database in a restoring state.
Which option of the BACKUP LOG command should you use?

Which options should you select on the Options page of the Restore Database window?

HOTSPOT
You administer a Microsoft SQL Server database.
The database is in the Simple recovery mode.
You schedule the following backup plan:
Full backup every day at midnight
Differential backups every hour on the hour, except at midnight
The database fails at 20:45 hours.
You need to use SQL Server Management Studio (SSMS) to begin restoring the database to a new
server instance with a minimum amount of data loss.
Which options should you select on the Options page of the Restore Database window? (To answer,
configure the appropriate option or options in the dialog box in the answer area.)

Which command(s) or tool(s) should you use?

DRAG DROP
You administer a Microsoft SQL Server 2012 database. The database contains two tables named
Table A and Table B
You perform an import and export operation by using the following steps in sequence, as shown in
the exhibit. (Click the Exhibit button.)

Load data from a third-party database to Table
Insert a subset of records from Table A to Table B. Export the data from Table B to a flat file.
You also create a format file for the data export.
You need to choose the correct command or tool for each task. You need to ensure that each task is
performed efficiently.
Which command(s) or tool(s) should you use? (To answer, drag the appropriate command(s) or
tool(s) to their corresponding task or tasks in the answer area. Answer choices may be used once,
more than once, or not at all. Answer targets may be used once or not at all. Additionally, you may
need to drag the split bar between panes or scroll to view content.)

Which Transact-SQL statement should you insert at line 06?

Y104
AdventureWorks2012.
You create an Availability Group defined by the following schema. (Line numbers are included for
reference only.)

You need to implement an AlwaysOnAvailablity Group that will meet the following conditions:
Production transactions should be minimally affected.
The secondary server should allow reporting queries to be performed.
If the primary server goes offline, the secondary server should not automatically take over.
Which Transact-SQL statement should you insert at line 06?

You need to configure the distribution agent by granting only the minimum required access to all accounts

You administer two Microsoft SQL Server 2012 servers named ProdSrv1 and ProdSrv2. ProdSrv1 is
configured as a Distributor. Both servers are configured to use the Windows NT Service virtual
accounts for all SQL Services.
You are configuring snapshot replication from ProdSrv1 to ProdSrv2 by using ProdSrv2 as a pull
subscriber.
The distribution agent on ProdSrv2 regularly fails, displaying the following error message:
“Cannot access the file. Operating system error code 5 (Access is denied.).”
You need to configure the distribution agent by granting only the minimum required access to all
accounts.
What should you do?


Page 12 of 20« First...1011121314...20...Last »