Microsoft SQL Server 2016 70-761 Free Questions

70-761 exam is intended for SQL Server database administrators, system engineers, and developers with two or more years of experience who are seeking to validate their skills and knowledge in writing queries. Passquestion new updated Microsoft SQL Server 2016 70-761 questions to help you pass your Microsoft SQL Server 2016 Certification (70-761) – Querying Data with Transact-SQL exam. You can practice in the following Microsoft SQL Server 2016 70-761 Free Questions.

Microsoft SQL Server 2016 70-761 Free Questions

1. You need to create an indexed view that requires logic statements to manipulate the data that the view displays.

Which two database objects should you use? Each correct answer presents a complete solution.

 
 
 
 

2. You are building a stored procedure named sp1 that calls a stored procedure named SP2.

SP2 calls another stored procedure named SP3 that returns a Recordset. The Recordset is stored in a temporary table.

You need to ensure that SP2 returns a text value to sp1.

What should you do?

 
 
 
 

3. You have a date related query that would benefit from an indexed view.

You need to create the indexed view.

Which two Transact-SQL functions can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point

 
 
 
 

4. You are building a stored procedure named SP1 that calls a stored procedure named SP2.

SP2 calls another stored procedure named SP3 that returns a Recordset. The Recordset is stored in a

temporary table.

You need to ensure that SP2 returns a text value to SP1.

What should you do?

 

 
 
 
 

5.

You have a table named Table1 that contains 200 million rows. Table1 contains a column named SaleDate that has a data type of DateTime2(3).

Users report that the following query runs slowly.

You need to reduce the amount of time it takes to run the query.

What should you use to replace the WHERE statement?

 
 
 
 

6.

You have a database that tracks customer complaints.

The database contains a table named Complaints that includes the following columns:

You need to create a query that lists complaints about defective products. The report must include complaints where the exact phrase “defective product” occurs, as well as complaints where similar phrases occur.

Which Transact-SQL statement should you run?

 
 
 
 

7.

Note: This question is 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 have a table named Person that contains information about employees. Users are requesting a way to access specific columns from the Person table without specifying the Person table in the query statement. The columns that users can access will be determined when the query is running against the data. There are some records that are restricted, and a trigger will evaluate whether the request is attempting to access a restricted record.

You need to ensure that users can access the needed columns while minimizing storage on the database server.

What should you implement?

 
 
 
 
 
 
 
 

8. 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 section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are creating indexes in a data warehouse.

You have a dimension table named Table1 that has 10,000 rows. The rows are used to generate several reports.

The reports join a column that is the primary key.

The execution plan contains bookmark lookups for Table1.

You discover that the reports run slower than expected.

You need to reduce the amount of time it takes to run the reports.

Solution: You create a nonclustered index on the primary key column that includes the bookmark lookup columns.

Does this meet the goal?

 
 

9. 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 section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are creating indexes in a data warehouse.

You have a dimension table named Table1 that has 10,000 rows. The rows are used to generate several reports.

The reports join a column that is the primary key.

The execution plan contains bookmark lookups for Table1.

You discover that the reports run slower than expected.

You need to reduce the amount of time it takes to run the reports.

Solution: You create a hash index on the primary key column.

Does this meet the goal?

 
 

10. You need to create a database object that meets the following requirements:

  • accepts a product identifies as input
  • calculates the total quantity of a specific product, including quantity on hand and quantity on order
  • caches and reuses execution plan
  • returns a value
  • can be called from within a SELECT statement
  • can be used in a JOIN clause

What should you create?

 
 
 
 

MCSD 70-480 Free Questions - Programming in HTML5 with JavaScript and CSS3
70-779 free questions - Analyzing and Visualizing Data with Microsoft Excel

Leave a Reply

Your email address will not be published. Required fields are marked *