Exam Details

  • Exam Code
    :70-762
  • Exam Name
    :Developing SQL Databases
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :182 Q&As
  • Last Updated
    :Jan 29, 2022

Microsoft Microsoft Certifications 70-762 Questions & Answers

  • Question 81:

    Note: This question is part of a series of questions that use the same or similar answer choices. As 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 Microsoft SQL Server database named DB1 that contains the following tables:

    There are no foreign key relationships between TBL1 and TBL2.

    You need to minimize the amount of time required for queries that use data from TBL1 and TBL2 to return data.

    What should you do?

    A. Create clustered indexes on TBL1 and TBL2.

    B. Create a clustered index on TBL1.Create a nonclustered index on TBL2 and add the most frequently queried column as included columns.

    C. Create a nonclustered index on TBL2 only.

    D. Create UNIQUE constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    E. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Create a nonclustered index on TBL2.

    F. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Make no changes to TBL2.

    G. Create CHECK constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    H. Create an indexed view that combines columns from TBL1 and TBL2.

  • Question 82:

    Note: This question is part of a series of questions that use the same or similar answer choices. As 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 Microsoft SQL Server database named DB1 that contains the following tables:

    Users frequently run the following query:

    Users report that the query takes a long time to return results.

    You need to minimize the amount of time requires for the query to return data.

    What should you do?

    A. Create clustered indexes on TBL1 and TBL2.

    B. Create a clustered index on TBL1.Create a nonclustered index on TBL2 and add the most frequently queried column as included columns.

    C. Create a nonclustered index on TBL2 only.

    D. Create UNIQUE constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    E. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Create a nonclustered index on TBL2.

    F. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Make no changes to TBL2.

    G. Create CHECK constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    H. Create an indexed view that combines columns from TBL1 and TBL2.

  • Question 83:

    Note: This question is part of a series of questions that use the same or similar answer choices. As 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 Microsoft SQL Server database named DB1 that contains the following tables:

    Users frequently run the following query. The users report that the query takes a long time to return results.

    You need to minimize the amount of time required for the query to return data.

    A. Create clustered indexes on TBL1 and TBL2.

    B. Create a clustered index on TBL1.Create a nonclustered index on TBL2 and add the most frequently queried column as included columns.

    C. Create a nonclustered index on TBL2 only.

    D. Create UNIQUE constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    E. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Create a nonclustered index on TBL2.

    F. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Make no changes to TBL2.

    G. Create CHECK constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    H. Create an indexed view that combines columns from TBL1 and TBL2.

  • Question 84:

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.

    You need to create a stored procedure that updates the Customer, CustomerInfo, OrderHeader, and OrderDetail tables in order.

    You need to ensure that the stored procedure:

    Runs within a single transaction.

    Commits updates to the Customer and CustomerInfo tables regardless of the status of updates to the OrderHeader and OrderDetail tables.

    Commits changes to all four tables when updates to all four tables are successful.

    Solution: You create a stored procedure that includes the following Transact-SQL code:

    Does the solution meet the goal?

    A. Yes

    B. No

  • Question 85:

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.

    You have a database that contains a table named Employees. The table stores information about the employees of your company.

    You need to implement and enforce the following business rules:

    Limit the values that are accepted by the Salary column.

    Prevent salaries less than $15,000 and greater than $300,000 from being entered.

    Determine valid values by using logical expressions.

    Do not validate data integrity when running DELETE statements.

    Solution: You implement a foreign key on the table.

    Does the solution meet the goal?

    A. Yes

    B. No

  • Question 86:

    You have a view that includes an aggregate.

    You must be able to change the values of columns in the view. The changes must be reflected in the tables that the view uses.

    You need to ensure that you can update the view.

    What should you create?

    A. a nonclustered index

    B. a schema-bound view

    C. a stored procedure

    D. an INSTEAD OF trigger

  • Question 87:

    You are optimizing the performance of a batch update process. You have tables and indexes that were created by running the following Transact-SQL statements:

    The following query runs nightly to update the isCreditValidated field:

    You review the database and make the following observations:

    Most of the IsCreditValidated values in the Invoices table are set to a value of 1.

    There are many unique InvoiceDate values.

    The CreditValidation table does not have an index.

    Statistics for the index IX_invoices_CustomerID_Filter_IsCreditValidated indicate there are no individual seeks but multiple individual updates.

    You need to ensure that any indexes added can be used by the update query. If the IX_invoices_CustomerId_Filter_IsCreditValidated index cannot be used by the query, it must be removed. Otherwise, the query must be modified to use with

    the index.

    Which three actions should you perform? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. Add a filtered nonclustered index to Invoices on InvoiceDate that selects where IsCreditNote= 1 and IsCreditValidated = 0.

    B. Rewrite the update query so that the condition for IsCreditValidated = 0 precedes the condition for IsCreditNote = 1.

    C. Create a nonclustered index for invoices in IsCreditValidated, InvoiceDate with an include statement using IsCreditNote and CustomerID.

    D. Add a nonclustered index for CreditValidation on CustomerID.

    E. Drop the IX_invoices_CustomerId_Filter_IsCreditValidatedIndex.

  • Question 88:

    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 Microsoft SQL Server database named DB1 that contains the following tables:

    There are no foreign key relationships between TBL1 and TBL2.

    You need to create a query that includes data from both tables and minimizes the amount of time required for the query to return data.

    What should you do?

    A. Create clustered indexes on TBL1 and TBL2.

    B. Create a clustered index on TBL1. Create a nonclustered index on TBL2 and add the most frequently queried column as included columns.

    C. Create a nonclustered index on TBL2 only.

    D. Create UNIQUE constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    E. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Create a nonclustered index on TBL2.

    F. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Make no changes to TBL2.

    G. Create CHECK constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    H. Create an indexed view that combines columns from TBL1 and TBL2.

  • Question 89:

    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 Microsoft SQL Server database named DB1 that contains the following tables:

    There are no foreign key relationships between TBL1 and TBL2.

    You need to minimize the amount of time required for queries that use data from TB1 and TBL2 to return data.

    What should you do?

    A. Create clustered indexes on TBL1 and TBL2.

    B. Create a clustered index on TBL1. Create a nonclustered index on TBL2 and add the most frequently queried column as included columns.

    C. Create a nonclustered index on TBL2 only.

    D. Create UNIQUE constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    E. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1. Create a nonclustered index on TBL2.

    F. Drop existing indexes on TBL1 and then create a clustered columnstore index. Create a nonclustered columnstore index on TBL1.Make no changes to TBL2.

    G. Create CHECK constraints on both TBL1 and TBL2. Create a partitioned view that combines columns from TBL1 and TBL2.

    H. Create an indexed view that combines columns from TBL1 and TBL2.

  • Question 90:

    You have multiple queries that take a long time to complete.

    You need to identify the cause by using detailed information about the Transact-SQL statements in the queries. The Transact-SQL statements must not run as part of the analysis.

    Which Transact-SQL statement should you run?

    A. SET STATISTICS PROFILE OFF

    B. SET SHOWPLAN_TEXT OFF

    C. SET SHOWPLAN_ALL ON

    D. SET STATISTICS PROFILE ON

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-762 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.