Microsoft 70-764 Administering a SQL Database Infrastructure Exam Practice Test

Page: 1 / 14
Total 452 questions
Question 1

Note: This question is a part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.

You are designing a new high availability (HA) solution for a set of application databases. The solution will be contained within a single datacenter and provided instance-level HA protection.

You need to deploy a solution that allows for minimal downtime if the production server goes offline.

Which should you implement?



Answer : E

As part of the SQL Server Always On offering, Always On Failover Cluster Instances leverages Windows

Server Failover Clustering (WSFC) functionality to provide local high availability through redundancy at the server-instance level-a failover cluster instance (FCI).

References:

https://docs.microsoft.com/en-us/sql/sql-server/failover-clusters/windows/always-on-failover-cluster-instancessql-server


Question 2

Note: This question is a part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.

You are designing a new disaster recovery (DR) solution for a heavily-utilized application database. The DR site is in a remote datacenter. You should minimize network traffic to the DR site during business hours.

You need to deploy a solution that allows near-real time queries to be run on the secondary instance and

minimizes the effect on performance for the main production database.

Which should you implement?



Answer : C

Synchronous-commit mode emphasizes high availability over performance, at the cost of increased

transaction latency.

Incorrect Answers:

G: Asynchronous-commit mode is a disaster-recovery solution that works well when the availability replicas are distributed over considerable distances.

References:

https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/availability-modes-alwayson-availability-groups


Question 3

Which task should you perform before you can create a utility control point by using the service account option?



Answer : D

Utility Collection Set Account

Specify a Windows domain account to run the SQL Server Utility collection set. This account is used as the SQL Server Agent proxy account for the SQL Server Utility collection set. Alternatively, you can use the existing SQL Server Agent service account. To pass validation requirements, use the following guidelines to specify the account.

If you specify the SQL Server Agent service account option:

The SQL Server Agent service account must be a Windows domain account that is not a built-in account like LocalSystem, NetworkService, or LocalService.

References:

https://docs.microsoft.com/en-us/sql/relational-databases/manage/create-a-sql-server-utility-control-point-sqlserver- utility


Question 4

You run the sp_who system stored procedure. A process is blocked by a long-running operation.

You need to identify details of the processes involved in the deadlock including the resources that are being accessed. You must able to view the deadlock chain.

What should you use?



Answer : B

SQL Server Extended Events has a highly scalable and highly configurable architecture that allows users to collect as much or as little information as is necessary to troubleshoot or identify a performance problem.

Incorrect Answers:

A: DBCC OPENTRAN helps to identify active transactions that may be preventing log truncation. DBCC

OPENTRAN displays information about the oldest active transaction and the oldest distributed and

nondistributed replicated transactions, if any, within the transaction log of the specified database.

References:

https://docs.microsoft.com/en-us/sql/relational-databases/extended-events/extended-events?view=sql-server-2017

https://docs.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-opentran-transact-sql?view=sqlserver-2017


Question 5

You maintain two Microsoft SQL Server instances that are hosted on two servers named SVR1 and SVR2.

You configure log shipping using the following information:

DB1 on SVR1 is configured as the primary database

Logs are backed up to a shared folder on SVR1

DB2 on SVR2 is configured as the secondary database

The service accounts for SQL Server Agent are set up using different domain accounts.

After changes are made to SVR1, log shipping is failing with the following error message:

You need to resolve the issue.

What should you do?



Answer : C


Question 6

Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the next of the scenario is exactly the same in each question in this series.

Start of repeated scenario

Contoso, Ltd. has Microsoft SQL Server databases that support a custom application. The current SQL Server environment consists of two servers: ContosoSQL1 and ContosoSQL2. These two servers participate in an Always On Availability Group named ContosoAG1 that is configured to use synchronous-commit with automatic failover. The secondary replica is not configured for read-only access.

The application performs both transactional processing and historical data retrieval in a database named ContosoDB. The application includes an inventory management module. The inventory management module and database have experienced performance issues.

Users report that a query named InventoryQuery1 takes a long time to complete. The query is shown as follows:

SELECT ProductNumber, Name, ProductLine

FROM Production.Product

WHERE ProductNumber = N''

The query plan used by SQL Server for this query is shown in the exhibit. (Click the Exhibit tab.) Various performance issues, including frequent long-term blocking episodes, prevent business users from completing their daily tasks. You suspect the tempdb database resources could be responsible. You must create Blocking reports for the ContosoDB database to identify issues.

Exhibit.

You plan to use Extended Events to review all Transact-SQL statements that are run against the ContosoSQL1 instance. The output from the Extended Events session must contain both start and stop events and must be written to a file. You must configure the Extended Events session to minimize possible data loss and reduce the effect on server performance.

You plan to deploy an additional secondary replica named ContosoSQL3 to ContosoAG1. Read-only traffic must be load-balanced between the two secondary replicas, regardless of which instance is the primary replica. Contoso plans to add an additional dedicated reporting system that will rely on real-time data from the transactional databases.

The company plans to improve their high availability/disaster recovery (HA/DR) solution. As part of the planned improvements, you will back up all databases from ContosoSQL1 directly to an off-site location.

End of repeated scenario

You need to configure the backup process for ContosoSQL1.

What should you do?



Answer : B

Scenario:

The company plans to improve their high availability/disaster recovery (HA/DR) solution. As part of the planned improvements, you will back up all databases from ContosoSQL1 directly to an off-site location.

One of the features found in the Enterprise Edition of SQL Server is the ability to take mirrored backups. Basically, taking a mirrored backup means creating additional copies of the backup media (up to three) using a single BACKUP command, eliminating the need to perform the copies with copy or robocopy.

The idea behind is that you can backup to multiple locations and increase the protection level by having additional copies of the backup set. In case one of the copies gets lost or corrupted, you can use the mirrored copy to perform a restore.

Another possible scenario for a mirrored backup is deferred tape migration: you can backup to a local disk and mirror to a shared folder on a file server. That way you could have a local copy of the backup set and restore it in case of need and let the mirrored copy migrate to tape when the disk backup software processes the file server's disks.

References:

https://www.mssqltips.com/sqlservertip/1779/mirrored-database-backup-feature-in-sql-server-2005-and-sql-server-2008/


Question 7

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You attempt to restore a database on a new SQL Server instance and receive the following error message:

You need to ensure that you can restore the database successfully.

Solution: You generate a new certificate on the new instance.

Does this meet the goal?



Answer : A

In order to successfully make the restore in a different server you will need to create a master certificate in the detonation and transfer the certificates and backups in that order.

References: https://deibymarcos.wordpress.com/2017/11/15/how-to-restore-encrypted-databases-cannot-find-server-certificate-with-thumbprint/


Page:    1 / 14   
Total 452 questions