QUESTION 101

You administer a Microsoft SQL Server 2012 database.

Users report that a billing application becomes unresponsive during busy times of the day.

While investigating, you notice large number of processes taking or waiting for table locks.

You suspect that SQL Server is assigning stronger locks to queries.

You start a SQL Profiler trace.

 

Which event should you select?

 

A.

Deadlock graph

B.

Lock: Escalation

C.

Lock: Timeout

D.

Lock: Deadlock

 

Correct Answer: B

 

 

QUESTION 102

DRAG DROP

You administer a Microsoft SQL Server 2012 server that has a database named Contoso. The Contoso database has a table named EmployeeSalary in a schema named HumanResources.

You need to create a script that writes audit events into the application log whenever data in the EmployeeSalary table is modified.

 

Which four Transact-SQL statements should you use? (To answer, move the appropriate

statements from the list of statements to the answer area and arrange them in the correct order.)

 

clip_image002

 

Correct Answer:

clip_image004

 

 

 

 

 

 

 

 

 

 

QUESTION 103

DRAG DROP

You administer a Microsoft SQL Server 2012 database called Human_Resources. The database contains a table named dbo.Salary.

You need to ensure that all read activity against dbo.Salary is audited and written to the Windows Security Log. What should you do? (To answer, move the three appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

 

clip_image006

 

Correct Answer:

clip_image008

 

 

 

QUESTION 104

You install Microsoft SQL Server 2012 on a new server.

After setup is complete, you attempt to start the SQL Server service. After being in a starting state for a few moments, the service goes back to a stopped state.

You need to determine the cause of the failure.

 

Which file should you use?

 

A.

%programfiles%\Microsoft SQL

Server\MSSQL11.MSSQLSERVER|MSSQL\Log\Errorlog

B.

%programfiles%\Microsoft SQL Server\110\setup Bootstrap\Log\Summary.txt

C.

%programfiles%\Microsoft SQL

Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\mastlog.idf

D.

%programfiles%\Microsoft SQL Server\110\Shared\ErrorDmpr[XXXX] .mdmp

 

Correct Answer: A

 

 

QUESTION 105

DRAG DROP

You administer a Microsoft SQL Server 2012 database.

The database contains a schema named CUSTOMER. CUSTOMER contains several tables and views with sensitive data, as well as various stored procedures and functions.

In order to configure security for CUSTOMER, you need to determine how to meet the security requirements listed in the answer area. Which command or commands should you use? (To answer, drag the appropriate command or commands to their corresponding security requirement or requirements 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.)

 

clip_image010

 

Correct Answer:

clip_image012

 

 

QUESTION 106

DRAG DROP

You administer a Microsoft SQL Server 2012 server along with a Windows Azure SQL Database database. For both servers, you need to grant users the ability to create logins and create databases. You need to determine which permission to grant users in each instance.

Which permission or permissions should you choose? (To answer, drag the appropriate permission or permissions to their corresponding instance type or types 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.)

 

clip_image014

 

Correct Answer:

clip_image016

 

 

QUESTION 107

You administer a Windows Azure SQL Database database named Inventory that contains a stored procedure named p_AddInventory.

Users need to be able to SELECT from all tables in the database and execute the stored procedure.

You need to grant only the necessary permissions.

 

What should you do?

 

A.

Grant EXECUTE permission on p_AddInventory to all users. Grant VIEW DEFINITION to all users.

B.

Grant EXECUTE permission on p_AddInventory to all users. Add all users to the db_datawriter role.

C.

Add all users to the db_owner role.

D.

Grant EXECUTE permission on p_Add!nventory to all users. Add all users to the db_datareader role.

 

Correct Answer: D

Explanation:

If we add all users to the db_owner role it will be unnecessary according “Members of the db_owner fixed database role can perform all configuration and maintenance activities on the database.”

 

 

QUESTION 108

You administer a SQL Server 2012 database instance.

 

You need to configure the SQL Server Database Engine service on a failover cluster.

 

Which user account should you use?

 

A.

A domain user

B.

The BUILTIN\SYSTEM account

C.

A local user with Run as Service permissions

D.

TheSQLBrowser account

 

Correct Answer: A

 

 

 

 

QUESTION 109

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?

 

A.

Create a database role called Employees.

Add CORP\Employees to the db_datareader role.

Add all company employees except HR administrators to the Employees role.

Deny SELECT access to the SalaryDetails table to the Employees role.

B.

Create a database role called HRAdmins.

Add all company employees except HR administrators to the db_datareader role,

Add all HR administrators to the HRAdmins role.

Grant SELECT access to the SalaryDetails table to the HRAdmins role.

Deny SELECT access to the SalaryDetails table to the db_datareader role.

C.

Create two database roles: Employees and HRAdmins.

Add all company employees to the Employees role.

Add HR administrators to the HRAdmins role.

Grant SELECT access to all tables except SalaryDetails to the Employees role.

Grant SELECT access to the SalaryDetails table to the HRAdmins role.

Deny SELECT access to the SalaryDetails table to the Employees role.

D.

Create a database role called Employees.

Add all HR administrators to the db_datareader role.

Add all company employees to the Employees role.

Grant SELECT access to all tables except the SalaryDetails table to the Employees role.

Deny SELECT access to the SalaryDetails table to the Employees role.

 

Correct Answer: D

 

 

QUESTION 110

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?

 

A.

Use the Copy Database wizard.

B.

Back up the database from the local server and restore it to Windows Azure SQL Database.

C.

Use the Database Transfer wizard.

D.

Use SQL Server Management Studio to deploy the database to Windows Azure SQL Database.

 

Correct Answer: D

 

Free VCE & PDF File for Microsoft 70-462 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…