70-764 Administering a SQL Database Infrastructure

Loading demo links...

Showing 4–6 of 20 questions

Question 4

HOTSPOT

You have a Microsoft SQL Server instance that hosts a database named DB1 that contains 800 gigabyte (GB) of data. The database is used 24 hours each day. You implement indexes and set the value of the Auto Update Statistics option set to True.

Users report that queries take a long time to complete.

You need to identify statistics that have not been updated for a week for tables where more than 1,000 rows changed.

How should you complete the Transact-SQL statement? To answer, configure the appropriate Transact-SQL segments in the answer area.

Hot Area:

Answer is in the explanation below.

Question 5

You maintain Microsoft SQL Server instances named SVR1 and SVR2 that are hosted on two different servers. You configure log shipping between the two instances as follows:

DB1 on SVR1 is configured as the primary database.

DB1 on SVR2 is configured as the secondary database for DB1 on SVR1. No monitoring server is configured.

You need to monitor error log messages about the copy job.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Select all that apply, then click Submit answer.

  • On SVR1, run the following Transact-SQL statement:
    SELECT * FROM msdb.dbo.log_shipping_monitor_error_detail.

  • Use the Job Activity Monitor in SQL Server Management Studio by connecting to SVR1

  • View the Log Shipping Report in SQL Server Management Studio by connecting SVR1.

  • Use the Job Activity Monitor in SQL Server Management Studio by connecting to SVR2.

  • On SVR2 run the following Transact-SQL statement:
    SELECT * FROM msdb.dbo.log_shipping_monitor_error_detail.

Question 6

You manage database servers in a high security environment. Your company has the following auditing requirements:

SQL Server auditing must be enabled on all server instances.

Auditing results must be logged in the Windows Security even log.

A routine review shows that a SQL Server is writing auditing entries to Windows Application event log. You change the SQL Server audit target to Windows Security event long. SQL Server auditing stops working on the server.

You need to ensure that the server meets the auditing requirements.

Which two actions should you perform? Each correct answer presents part of the solution.

Select all that apply, then click Submit answer.

  • Grant the manage auditing and security log permission to the SQL Server service account.

  • Grant the generate security audits permission on the SQL Server service account.

  • Update Windows security policy to audit object access.

  • Restart the SQL Server Agent service.