[Free] 2019(Nov) EnsurePass Microsoft 70-764 Dumps with VCE and PDF 211-220

Get Full Version of the Exam

Question No.211

You need to provide a group of users from the IT and Manufacturing departments the minimum administrative rights to view database information and server state for the Manufacturing database on MainDB1. What should you do?

  1. You should configure a Database Role.

  2. You should configure a Server Role.

  3. You should configure a Shared SQL Server Login.

  4. D.You should configure a Local Security Group.

Correct Answer: B

Question No.212

You need to ensure that a stored procedure fails if an INSERT statement within the stored procedure fails. What action should you take?

  1. THROW 51000, #39;Abort!#39;




Correct Answer: C

Question No.213


You are designing two stored procedures named Procedure1 and Procedure2. You identify the following requirements:

Procedure1 must take a parameter that ensures that multiple rows of data can pass into the stored procedure.



Procedure2 must use business logic that resides in a Microsoft .NET Framework assembly. You need to identify the appropriate technology for each stored procedure.

Which technologies should you identify?

To answer, drag the appropriate technology to the correct stored procedure in the answer area. (Answer choices may be used once, more than once, or not at all.)


Correct Answer:


Question No.214

General Overview

You are the Senior Database Administrator (DBA) for a software development company named Leafield Solutions. The company develops software applications custom designed to meet customer requirements.

Requirements Leafield Solutions has been asked by a customer to develop a web-based Enterprise Resource Planning and Management application. The new application will eventually replace a desktop application that the customer is currently using. The current application will remain in use while the users are trained to use the new webbased application.

You need to design the SQL Server and database infrastructure for the web-based application.


You plan to implement databases named Customers, Sales, Products, Current_Inventory, and TempReporting.

The Sales database contains a table named OrderTotals and a table named SalesInfo.

A stored procedure named SPUpdateSalesInfo reads data in the OrderTotals table and modifies data in the SalesInfo table.

The stored procedure then reads data in the OrderTotals table a second time and makes further changes to the information in the SalesInfo table.

The Current_Inventory database contains a large table named Inv_Current. The Inv_Current table has a clustered index for the primary key and a nonclustered index. The primary key column uses the identity property.

The data in the Inv_Current table is over 120GB in size. The tables in the Current_Inventory database are accessed by multiple queries in the Sales database.

Another table in the Current_Inventory database contains a self-join with an unlimited number of hierarchies. This table is modified by a stored procedure named SPUpdate2.

An external application named ExternalApp1 will periodically query the Current_Inventory database to generate statistical information. The TempReporting database contains a single table named GenInfo.

A stored procedure named SPUPdateGenInfo combines data from multiple databases and generates millions of rows of data in the GenInfo table.

The GenInfo table is used for reports.

When the information in GenInfo is generated, a reporting process reads data from the Inv_Current table and queries information in the GenInfo table based on that data.

The GenInfo table is deleted after the reporting process completes. The Products database contains tables named ProductNames and ProductTypes.

Current System

The current desktop application uses data stored in a SQL Server 2005 database named DesABCopAppDB. This database will remain online and data from the Current_Inventory database will be copied to it as soon as data is changed in the Current_Inventory database.

SQL Servers

A new SQL Server 2012 instance will be deployed to host the databases for the new system. The databases will be hosted on a Storage Area Network (SAN) that provides highly available storage.

Design Requirements

Your SQL Server infrastructure and database design must meet the following requirements:


Confidential information in the Current_ Inventory database that is accessed by ExternalApp1 must be securely stored.


Direct access to database tables by developers or applications must be denied.


The account used to generate reports must have restrictions on the hours when it is allowed to make a connection.


Deadlocks must be analyzed with the use of Deadlock Graphs.



In the event of a SQL Server failure, the databases must remain available. Software licensing and database storage costs must be minimized.


Development effort must be minimized.



The Tempdb databases must be monitored for insufficient free space. Failed authentication requests must be logged.


Every time a new row is added to the ProductTypes table in the Products database, a user defined function that validates the row must be called before the row is added to the table.


When SPUpdateSalesInfo queries data in the OrderTotals table the first time, the same rows must be returned along with any newly added rows when SPUpdateSalesInfo queries data in the OrderTotals table the second time.

You need to plan the SQL Server 2012 deployment that meets the design requirements. Which of the following steps should you perform?

  1. Upgrade the existing SQL Server 2005 server to SQL Server 2012.

  2. Install one new server running SQL Server 2012.

  3. Install two new servers running SQL Server 2012

  4. Configure Failover Clustering

  5. Configure AllwaysOn

Correct Answer: ABE

Question No.215


General Overview

ADatum Corporation has offices in Miami and Montreal.

The network contains a single Active Directory forest named adatum.com. The offices connect to each other by using a WAN link that has 5-ms latency. A.Datum standardizes its database platform by using SQL Server 2014 Enterprise edition.


Each office contains databases named Sales, Inventory, Customers, Products, Personnel, and Dev.

Servers and databases are managed by a team of database administrators. Currently, all of the database administrators have the same level of permissions on all of the servers and all of the databases.

The Customers database contains two tables named Customers and Classifications. The following graphic shows the relevant portions of the tables:


The following table shows the current data in the Classifications table:


The Inventory database is updated frequently. The database is often used for reporting.

A full backup of the database currently takes three hours to complete.

Stored Procedures

A stored procedure named USP_1 generates millions of rows of data for multiple reports. USP_1 combines data from five different tables from the Sales and Customers databases in a table named Table1.

After Table1 is created, the reporting process reads data from Table1 sequentially several times. After the process is complete, Table1 is deleted.

A stored procedure named USP_2 is used to generate a product list. The product list contains the names of products grouped by category.

USP_2 takes several minutes to run due to locks on the tables the procedure accesses. The locks are caused by USP_1 and USP_3.

A stored procedure named USP_3 is used to update prices. USP_3 is composed of several UPDATE statements called in sequence from within a transaction.

Currently, if one of the UPDATE statements fails, the stored procedure fails. A stored procedure named USP_4 calls stored procedures in the Sales, Customers, and Inventory databases.

The nested stored procedures read tables from the Sales, Customers, and Inventory databases. USP_4 uses an EXECUTE AS clause.

All nested stored procedures handle errors by using structured exception handling. A stored procedure named

USP_5 calls several stored procedures in the same database. Security checks are performed each time USP_5 calls a stored procedure.

You suspect that the security checks are slowing down the performance of USP_5. All stored

procedures accessed by user applications call nested stored procedures. The nested stored procedures are never called directly.

Design Requirements Data Recovery

You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Time Objective (RTO) of 5 minutes.

You must be able to recover data from the Dev database if data is lost accidentally. You have a Recovery Point Objective (RPO) of one day.

Classification Changes

You plan to change the way customers are classified. The new classifications will have four levels based on the number of orders. Classifications may be removed or added in the future.

Management requests that historical data be maintained for the previous classifications. Security A group of junior database administrators must be able to manage security for the Sales database. The junior database administrators will not have any other administrative rights.

A.Datum wants to track which users run each stored procedure.


ADatum has limited storage. Whenever possible, all storage space should be minimized for all databases and all backups.

Error Handling

There is currently no error handling code in any stored procedure.

You plan to log errors in called stored procedures and nested stored procedures. Nested stored procedures are never called directly.

You need to recommend a solution to minimize the amount of time it takes to execute USP_1. With what should you recommend replacing Table1?

  1. A view

  2. A temporary table

  3. A table variable

  4. A function

Correct Answer: A


A stored procedure named USP_1 generates millions of rows of data for multiple reports. USP_1 combines data from five different tables from the Sales and Customers databases in a table named Table1.

Question No.216

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:

quot;Msg 33111, Level 16, State 3, Line 2 Cannot find server certificate with thumbprint


You need to ensure that you can restore the database successfully. Solution: You restore the certificate on the new instance.

Does this meet the goal?

  1. Yes

  2. No

Correct Answer: A


The error is related to the certificate.


https://dba.stackexchange.com/questions/3388/restore-encrypted-database-to-another- server?rq=1

Question No.217

You are using dynamic management views to monitor an SQL Server server named SQL1. A database administrator named Dba1 must monitor the health of SQL1.

You need to ensure that Dba1 can access dynamic management views for SQL1.

The solution must use the principle of least privilege. Which permissions should you assign to Dba1?





Correct Answer: B


To query a dynamic management view or function requires SELECT permission on object and VIEW SERVER STATE or VIEW DATABASE STATE permission.



Question No.218

You administer a Microsoft SQL Server 2012 instance.

You need to configure a new database to support FILETABLES. What should you do? Choose all that apply.

  1. Disable FILESTREAM on the Database.

  2. Enable FILESTREAM on the Server Instance.

  3. Configure the Database for Partial Containment.

  4. Create a non-empty FILESTREAM file group.

  5. Enable Contained Databases on the Server Instance.

  6. Set the FILESTREAM directory name on the Database.

Correct Answer: BDF



Question No.219

You have a SQL Server instance on a server named Server1. You need to recommend a solution to perform the following tasks every week:



Rebuild the indexes by using a new fill factor. Run a custom T-SQL command.


Back up the databases.

What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

  1. A trigger

  2. An alert

  3. A maintenance plan

  4. Windows PowerShell

  5. A system policy

Correct Answer: C


Maintenance plans create a workflow of the tasks required to make sure that your database is optimized, regularly backed up, and free of inconsistencies.

Question No.220

Which feature should you enable and configure so session requests addressed to a specific instance can be allocated to different processor resources based on session request properties?

  1. Resource Governor

  2. Windows System Resource Manager

  3. Processor affinity

  4. I/O affinity

Correct Answer: C

Get Full Version of the Exam
70-764 Dumps
70-764 VCE and PDF