2017 May Microsoft Official New Released 70-762 Dumps in Lead2pass.com!

100% Free Download! 100% Pass Guaranteed!

In recent years, many people choose to take Microsoft 70-762 certification exam which can make you get the Microsoft certificate and that is the passport to get a better job and get promotions. How to prepare for Microsoft 70-762 exam and get the certificate? Please refer to Microsoft 70-762 exam questions and answers on Lead2pass.

QUESTION 21 Your company has employees in different regions around the world. You need to create a database table that stores the following employee attendance information:

– Employee ID – date and time employee checked in to work – date and time employee checked out of work

Date and time information must be time zone aware and must not store fractional seconds. Solution: You run the following Transact-SOL statement:

Does the solution meet the goal?

A. Yes B. No

Answer: B

QUESTION 22 Your company has employees in different regions around the world. You need to create a database table that stores the following employee attendance information:

– Employee ID – date and time employee checked in to work – date and time employee checked out of work

Date and time information must be time zone aware and must not st ore fractional seconds. Solution: You run the following Transact -SOL statement:

Does the solution meet the goal?

A. Yes B. No

Answer: A

QUESTION 23 The Account table was created using the following Transact-SOL statement:

There are more than 1 billion records in the Account table. The Account Number column uniquely identifies each account. The ProductCode column has 100 different values. The values are evenly distributed in the table. Table statistics are refreshed and up to date. You frequently run the following Transact-SOL SELECT statements:

You must avoid table scans when you run the queries. You need to create one or more indexes for the table. Solution: You run the following Transact-SOL statement:

Does the solution meet the goal?

A. Yes B. No

Answer: B

QUESTION 24 The Account table was created using the following Transact-SOL statement:

There are more than 1 billion records in the Account table. The Account Number column uniquely identifies each account. The ProductCode column has 100 different values. The values are evenly distributed in the table. Table statistics are refreshed and up to date. You frequently run the following Transact-SOL SELECT statements:

You must avoid table scans when you run the queries. You need to create one or more indexes for the table. Solution: You run the following Transact-SOL statement: CREATE CLUSTERED INDEX PK_Account ON Account(ProductCode); Does the solution meet the goal?

A. Yes B. No

Answer: B

QUESTION 25 The Account table was created using the following Transact-SOL statement:

There are more than 1 billion records in the Account table. The Account Number column uniquely identifies each account. The ProductCode column has 100 different values. The values are evenly distributed in the table. Table statistics are refreshed and up to date. You frequently run the following Transact-SOL SELECT statements:

You must avoid table scans when you run the queries. You need to create one or more indexes for the table. Solution: You run the following Transact-SOL statement:

Does the solution meet the goal?

A. Yes B. No

Answer: A

QUESTION 26 Drag and Drop Question You have a database named Sales that contains the following database tables: Customer, Order, and Products. The Products table and the Order table are shown in the following diagram .

The customer table includes a column that stores the data for the last order that the customer placed. You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized. Changes to the price of any product must be less a 25 percent increase from the current price. The shipping department must be notified about order and shipping details when an order is entered into the database. You need to implement the appropriate table objects. Which object should you use for each table? To answer, drag the appropriate objects to the correct tables. Each object may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

QUESTION 27 Hotspot Question You have a database named Sa les that contains the following database tables: Customer, Order, and Product s. The Products table and the Order table are shown in the following diagram.

The customer table includes a column that stores the data for the last order that the customer placed. You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized. You need to implement a stored procedure that deletes a discontinued product from the Products table. You identify the following requirements: What should you do? To answer, select the appropriate Transact-SOL segments in the answer area.

Answer:

QUESTION 28 Hotspot Question You have a database named Sa les that contains the following database tables: Customer, Order, and Products. The Products table and the Order table are shown in the following diagram.

The customer table includes a column that stores the data for the last order that the customer placed. You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized. You need to create triggers that meet the following requirements: In the table below, identify the trigger types that meet the requirements. NOTE: Make only selection in each column. Each correct selection is worth one point.

Answer:

QUESTION 29 Hotspot Question You have a database named Sales that contains the following database tables: Customer, Order, and Products. The Products table and the Order table are shown in the following diagram .

The customer table includes a column that stores the data for the last order that the customer placed. You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized. The Leads table must include the columns described in the following table.

The data types chosen must consume the least amount of storage possible. You need to select the appropriate data types for the Leads table. In the table below, identify the data type that must be used for each table column. NOTE: Make only one selection in each column.

Answer:

QUESTION 30 Hotspot Question You have a database named Sales that contains the following database tables: Customer, Order, and Products. The Products table and the Order table are shown in the following diagram .

The customer table includes a column that stores the data for the last order that the customer placed. You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized. You need to modify the database design to meet the following requirements: In the table below, identify the constraint that must be configured for each table. NOTE: Make only one selection in each column.

Answer:

QUESTION 31 Drag and Drop Question You have a database named Sales that contains the following database tables. Customer, Order, and Products. The Products table and the order table shown in the following diagram.

The Customer table includes a column that stores the date for the last order that the customer placed. You plan to create a table named Leads. The Leads table is expected to contain approximately 20,000 records. Storage requirements for the Leads table must be minimized. You need to begin to modify the table design to adhere to third normal form. Which column should you remove for each table? To answer? drag the appropriate column names to the correct locations. Each column name may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

QUESTION 32 You have a database that contains the following tables: BlogCategory, BlogEntry, ProductReview, Product, and SalesPerson. The tables were created using the following Transact SQL statements:

You must modify the ProductReview Table to meet the following requirements:

1. The table must reference the ProductID column in the Product table 2. Existing records in the ProductReview table must not be validated with the Product table. 3. Deleting records in the Product table must not be allowed if records are referenced by the ProductReview table. 4. Changes to records in the Product table must propagate to the ProductReview table.

You also have the following database tables: Order, ProductTypes, and SalesHistory, The transact-SOL statements for these tables are not available. You must modify the Orders table to meet the following requirements:

1. Create new rows in the table without granting INSERT permissions to the table. 2. Notify the sales person who places an order whether or not the order was completed.

You must add the following constraints to the SalesHistory table:

-a constraint on the SaleID column that allows the field to be used as a record identifier -a constant that uses the ProductID column to reference the Product column of the ProductTypes table -a constraint on the CategoryID column that allows one row with a null value in the column -a constraint that limits the Sale Price column to values greater than four

Finance department users must be able to retrieve data from the SalesHistory table for sales persons where the value of the SalesYTD column is above a certain threshold. You plan to create a memory-optimized table named SalesOrder. The table must meet the following requirements:

– The table must hold 10 million unique sales orders. – The table must use checkpoints to minimize 1/0 operations and must not use transaction logging. – Data loss is acceptable.

Performance for queries against the SalesOrder table that use where clauses with exact equality operations must be optimized. You need to enable referential integrity for the ProductReview table. How should you complete the relevant Transact-SOL statement? To answer? select the appropriate Transact-SOL segments in the answer area.

Select two alternatives.

A. For the first selection select: WITH CHECK B. For the first selection select : WITH NOCHECK C. For the second selection select: ON DELETE NO ACTION ON UPDATE CASCADE D. For the second selection select: ON DELETECASCADE ON UPDATE CASCADE E. For the second selection select: ON DELETE NO ACTION ON UPDATE NO ACTION F. For the second selection select: ON DELETE CASCADE ON UPDATE NO ACTION

Answer: BC

QUESTION 33 Hotspot Question You have a database that contains the following tables: BlogCategory, BlogEntry, ProductReview, Product, and SalesPerson. The tables were created using the following Transact SQL statements:

You must modify the ProductReview Table to meet the following requirements:

1. The table must reference the ProductID column in the Product table 2. Existing records in the ProductReview table must not be validated with the Product table. 3. Deleting records in the Product table must not be allowed if records are referenced by the ProductReview table. 4. Changes to records in the Product table must propagate to the ProductReview table.

You also have the following database tables: Order, ProductTypes, and SalesHistory, The transact-SOL statements for these tables are not available. You must modify the Orders table to meet the following requirements:

1. Create new rows in the table without granting INSERT permissions to the table. 2. Notify the sales person who places an order whether or not the order was completed.

You must add the following constraints to the SalesHistory table:

-a constraint on the SaleID column that allows the field to be used as a record identifier -a constant that uses the ProductID column to reference the Product column of the ProductTypes table -a constraint on the CategoryID column that allows one row with a null value in the column -a constraint that limits the Sale Price column to values greater than four

Finance department users must be able to retrieve data from the SalesHistory table for sales persons where the value of the SalesYTD column is above a certain threshold. You plan to create a memory-optimized table named SalesOrder. The table must meet the following requirements:

– The table must hold 10 million unique sales orders. – The table must use checkpoints to minimize 1/0 operations and must not use transaction logging. – Data loss is acceptable.

Performance for queries against the SalesOrder table that use where clauses with exact equality operations must be optimized. You need to create an object that allows finance users to be able to retrieve the required data. The object must not have a negative performance impact. How should you complete the Transact-SOL statements? To answer, select the appropriate TransactSOL segments in the answer area.

Answer:

QUESTION 34 You have a reporting database that includes a non-partitioned fact table named Fact_Sales. The table is persisted on disk. Users report that their queries take a long time to complete. The system administrator reports that the table takes too much space in the database. You observe that there are no indexes defined on the table, and many columns have repeating values. You need to create the most efficient index on the table, minimize disk storage and improve reporting query performance. What should you do?

A. Create a clustered index on the table. B. Create a nonclustered index on the table. C. Create a nonclustered filtered index on the table. D. Create a clustered column store index on the table. E. Create a nonclustered column store index on the table. F. Create a hash index on the table.

Answer: D

QUESTION 35 You have a database named DB1. The database does not use a memory-optimized filegroup. The database contains a table named Table1. The table must support the following workloads:

You need to add the most efficient index to support the new OLTP workload, while not deteriorating the existing Reporting query performance. What should you do?

A. Create a clustered index on the table. B. Create a nonclustered index on the table. C. Create a nonclustered filtered index on the table. D. Create a clustered column store index on the table. E. Create a nonclustered column store index on the table. F. Create a hash index on the table.

Answer: C

QUESTION 36 Drag and Drop Question You are evaluating the performance of a database environment. You must avoid unnecessary locks and ensure that lost updates do not occur. You need to choose the transaction isolation level for each data scenario. Which isolation level should you use for each scenario? To answer, drag the appropriate isolation levels to the correct scenarios. Each isolation may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

QUESTION 37 Drag and Drop Question You have two database tables. Table1 is a partioned table and Table 2 is a nonpartioned table. Users report that queries take a long time to complete. You monitor queries by using Microsoft SQL Server Profiler. You observe lock escalation for Tableland Table 2. You need to allow escalation of Table1 locks to the partition level and prevent all lock escalation for Table2. Which Transact-SOL statement should you run for each table? To answer, drag the appropriate Transact-SOL statements to the correct tables. Each command may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

QUESTION 38 Drag and Drop Question You have a database that contains three encrypted store procedures named dbo.Procl, dbo.Proc2 and dbo.Proc3. The stored procedures include INSERT, UPDATE, DELETE and BACKUP DATABASE statements. You have the following requirements:

– You must run all the stored procedures within the same transaction. – You must automatically start a transaction when stored procedures include DML statements. – You must not automatically start a transaction when stored procedures include DDL statements.

You need to run all three stored procedures. Which four Transact-SOL segments should you use to develop the solution? To answer, move the appropriate Transact-SOL segments to the answer area and arrange then in the correct order.

Answer:

QUESTION 39 Hotspot Question You are profiling a frequently used database table named UserEvents. The READ_COMMITED_SNAPSHOT database option is set to OFF. In the trace results, you observe that lock escalation occurred for one stored procedure even though the number of locks in the database did not exceed memory or configuration thresholds. Events details are provided in the following table:

You need to modify the uspDeleteEvents stored procedure to avoid lock escalation. How should you modify the stored procedure? To answer, select the appropriate Transact-SOL segments in the answer area.

Answer:

QUESTION 40 You have a database that is experiencing deadlock issues when users run queries. You need to ensure that all deadlocks are recorded in XML format. What should you do?

Lead2pass is a good website that provides all candidates with the latest IT certification exam materials. Lead2pass will provide you with the exam questions and verified answers that reflect the actual exam. The Microsoft 70-762 exam dumps are developed by experienced IT professionals. 99.9% of hit rate. Guarantee you success in your 70-762 exam with our exam materials.