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

Get Full Version of the Exam
http://www.EnsurePass.com/70-764.html

Question No.131

Overview

You are a database administrator for a company named Litware, Inc.

Litware is a book publishing house. Litware has a main office and a branch office.

You are designing the database infrastructure to support a new web-based application that is being developed.

The web application will be accessed at www.litwareinc.com. Both internal employees and external partners will use the application.

You have an existing desktop application that uses a SQL Server 2008 database named App1_DB.

App1_DB will remain in production.

Requirements Planned Changes

You plan to deploy a SQL Server 2014 instance that will contain two databases named Database1 and Database2.

All database files will be stored in a highly available SAN. Database1 will contain two tables named Orders and OrderDetails.

Database1 will also contain a stored procedure named usp_UpdateOrderDetails.

The stored procedure is used to update order information. The stored procedure queries the Orders table twice each time the procedure executes.

The rows returned from the first query must be returned on the second query unchanged along with any rows added to the table between the two read operations.

Database1 will contain several queries that access data in the Database2 tables. Database2 will contain a table named Inventory.

Inventory will contain over 100 GB of data.

The Inventory table will have two indexes: a clustered index on the primary key and a nonclustered index.

The column that is used as the primary key will use the identity property.

Database2 wilt contains a stored procedure named usp_UpdateInventory. usp_UpdateInventory will manipulate a table that contains a self-join that has an unlimited number of hierarchies. All data in Database2 is recreated each day ad does not change until the next data creation process. Data from Database2 will be accessed periodically by an external application named Application1.

The data from Database2 will be sent to a database named Appl_Dbl as soon as changes occur to the data in Database2. Litware plans to use offsite storage for all SQL Server 2014 backups.

Business Requirements

You have the following requirements:

image

Costs for new licenses must be minimized.

image

image

Private information that is accessed by Application must be stored in a secure format. Development effort must be minimized whenever possible.

image

The storage requirements for databases must be minimized.

image

image

System administrators must be able to run real-time reports on disk usage. The databases must be available if the SQL Server service fails.

image

Database administrators must receive a detailed report that contains allocation errors and data corruption.

image

Application developers must be denied direct access to the database tables. Applications must be denied direct access to the tables.

You must encrypt the backup files to meet regulatory compliance requirements.

The encryption strategy must minimize changes to the databases and to the applications. You need to recommend a database reporting solution that meets the business requirements. What should you include in the recommendation?

  1. Data collection

  2. B.Performance Monitor

  3. A maintenance plan

  4. A dynamic management view

Correct Answer: A

Explanation:

  1. Scenario: System administrators must be able to run real-time reports on disk usage.

  2. The data collector provides an historical report for each of the System Data collection sets. Each of the following reports use data that is stored in the management data warehouse:

You can use these reports to obtain information for monitoring system capacity and troubleshooting system performance.

Question No.132

You administer a Microsoft SQL Server 2016 server.

One of the databases on the server supports a highly active OLTP application. Users report abnormally long wait times when they submit data into the application.

You need to identify which queries are taking longer than 1 second to run over an extended period of time.

What should you do?

  1. use SQL Profiler to trace all queries that are processing on the server. Filter queries that have a Duration value of more than 1,000.

  2. Use sp_configure to set a value for blocked process threshold. Create an extended event session.

  3. Use the Job Activity monitor to review all processes that are actively running. Review the Job

    History to find out the duration of each step.

  4. Run the sp_who command from a query window.

  5. Run the DBCC TRACEON 1222 command from a query window and review the SQL Server event log.

Correct Answer: B

Question No.133

You administer a Microsoft SQL Server 2016 database.

The database contains a Product table created by using the following definition:

image

You need to ensure that the minimum amount of disk space is used to store the data in the Product table.

What should you do?

  1. Convert all indexes to Column Store indexes.

  2. Implement Unicode Compression.

  3. Implement row-level compression.

  4. Implement page-level compression.

Correct Answer: D

Question No.134

You are implementing a SQL Server 2016 five-node failover cluster. You need to choose a quorum configuration.

Which configuration should you use?

  1. Distributed File System (DFS)

  2. Node Majority

  3. Cluster Shared Volume (CSV)

  4. Node and Disk Majority

Correct Answer: D

Explanation:

Node and Disk Majority (recommended for clusters with an even number of nodes)

Question No.135

You have a server that has SQL Server 2014 installed. The server contains 100 user databases.

You need to recommend a backup solution for the user databases. The solution must meet the following requirements:

image

image

Perform a transaction log backup every hour. Perform a full backup of each database every week.

image

Perform a differential backup of each database every day.

image

Ensure that new user databases are added automatically to the backup solution.

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

  1. A maintenance plan

  2. SQL Server Agent jobs

  3. Policy-Based Management

  4. A Data Definition Language (DDL) trigger

Correct Answer: A

Explanation:

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

Maintenance plans can be created to perform the following task (among others): Back up the database and transaction log files. Database and log backups can be retained for a specified period. This lets you create a history of backups to be used if you have to restore the database to a time earlier than the last database backup.

You can also perform differential backups.

Question No.136

DRAG DROP

You plan to deploy a database by using SQL Server 2014. Your company identifies the following requirements for the database:

image

image

The name of all stored procedures must start with quot;usp_quot;always. All distribution statistics must be updated daily

You need to identify which feature must be used to meet each database requirement. Which features should you identify?

To answer, drag the appropriate feature to the correct database requirement in the answer area.

image

Correct Answer:

image

Question No.137

Overview

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.

Databases

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:

Classifications (Customers)

image

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

image

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.

Storage

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 disaster recovery strategy for the Inventory database. What should you include in the recommendation?

  1. Log shipping

  2. SQL Server Failover Clustering

  3. AlwaysOn availability groups

  4. Peer-to-peer replication

Correct Answer: A Explanation: Scenario:

You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Point Objective (RPO) of one hour.

A.Datum Corporation has offices in Miami and Montreal.

SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate secondary server instances. The transaction log backups are applied to each of the secondary databases individually.

Question No.138

Overview

You are a database administrator for a company named Litware, Inc.

Litware is a book publishing house. Litware has a main office and a branch office.

You are designing the database infrastructure to support a new web-based application that is being developed.

The web application will be accessed at www.litwareinc.com. Both internal employees and external partners will use the application.

You have an existing desktop application that uses a SQL Server 2008 database named App1_DB.

App1_DB will remain in production.

Requirements Planned Changes

You plan to deploy a SQL Server 2014 instance that will contain two databases named Database1 and Database2.

All database files will be stored in a highly available SAN. Database1 will contain two tables named Orders and OrderDetails.

Database1 will also contain a stored procedure named usp_UpdateOrderDetails.

The stored procedure is used to update order information. The stored procedure queries the Orders table twice each time the procedure executes.

The rows returned from the first query must be returned on the second query unchanged along with any rows added to the table between the two read operations.

Database1 will contain several queries that access data in the Database2 tables. Database2 will contain a table named Inventory.

Inventory will contain over 100 GB of data.

The Inventory table will have two indexes: a clustered index on the primary key and a nonclustered index.

The column that is used as the primary key will use the identity property.

Database2 wilt contains a stored procedure named usp_UpdateInventory. usp_UpdateInventory will manipulate a table that contains a self-join that has an unlimited number of hierarchies. All data in Database2 is recreated each day ad does not change until the next data creation process. Data from Database2 will be accessed periodically by an external application named Application1. The data from Database2 will be sent to a database named Appl_Dbl as soon as changes occur to the data in Database2. Litware plans to use offsite storage for all SQL Server 2014 backups.

Business Requirements

You have the following requirements:

image

Costs for new licenses must be minimized.

image

image

Private information that is accessed by Application must be stored in a secure format. Development effort must be minimized whenever possible.

image

The storage requirements for databases must be minimized.

image

image

System administrators must be able to run real-time reports on disk usage. The databases must be available if the SQL Server service fails.

image

Database administrators must receive a detailed report that contains allocation errors and data corruption.

image

Application developers must be denied direct access to the database tables. Applications must be denied direct access to the tables.

You must encrypt the backup files to meet regulatory compliance requirements.

The encryption strategy must minimize changes to the databases and to the applications.

You need to recommend a solution for Application1 that meets the security requirements. What should you include in the recommendation?

  1. Encrypted columns

  2. Certificate Authentication

  3. Secure Socket Layer (SSL)

  4. Signed stored procedures

Correct Answer: D Explanation: Scenario:

Data from Database2 will be accessed periodically by an external application named Application1

Application developers must be denied direct access to the database tables. Applications must be denied direct access to the tables.

Tutorial: Signing Stored Procedures with a Certificate

Question No.139

Overview

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.

Databases

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:

image

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

image

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.

Storage

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 disaster recovery solution for the Dev database. What should you include in the recommendation?

  1. The simple recovery model and full backups

  2. The full recovery model, full backups, and transaction log backups

  3. The full recovery model, full backups, and differential backups

  4. The bulk-logged recovery model and full backups

Correct Answer: A Explanation: Scenario:

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.

The simple recovery model provides the simplest form of backup and restore. This recovery model supports both database backups and file backups, but does not support log backups. Transaction log data is backed up only with the associated user data.

The absence of log backups simplifies managing backup and restore. However, a database can be restored only to the end of the most recent backup.

Question No.140

You administer a Microsoft SQL Server 2016 server.

The MSSQLSERVER service uses a domain account named CONTOSO\SQLService.

You plan to configure Instant File Initialization.

You need to ensure that Data File Autogrow operations use Instant File Initialization. What should you do? Choose all that apply.

  1. Restart the SQL Server Agent Service.

  2. Disable snapshot isolation.

  3. Restart the SQL Server Service.

  4. Add the CONTOSO\SQLService account to the Perform Volume Maintenance Tasks local security policy.

  5. Add the CONTOSO\SQLService account to the Server Operators fixed server role.

  6. Enable snapshot isolation.

Correct Answer: CD

Explanation:

How To Enable Instant File Initialization

Open Local Security Policy and go to Local Policies 鈥?gt; User Rights Assignment.

Double click Perform Volume Maintenance Tasks and add your SQL Server database engine service account.

Restart the SQL Server service using SQL Server Configuration Manager and this setting should now be enabled.

References:

http://msdn.microsoft.com/en-us/library/ms175935.aspx

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