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 51:

    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 table that has a clustered index and a nonclustered index. The indexes use different columns from the table. You have a query named Query1 that uses the nonclustered index. Users report that Query1 takes a long time to report results. You run Query1 and review the following statistics for an index seek operation:

    You need to resolve the performance issue. Solution: You drop the nonclustered index. Does the solution meet the goal?

    A. Yes

    B. No

  • Question 52:

    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 table that has a clustered index and a nonclustered index. The indexes use different columns from the table. You have a query named Query1 that uses the nonclustered index. Users report that Query1 takes a long time to report results. You run Query1 and review the following statistics for an index seek operation:

    You need to resolve the performance issue. Solution: You defragment both indexes. Does the solution meet the goal?

    A. Yes

    B. No

  • Question 53:

    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 table that has a clustered index and a nonclustered index. The indexes use different columns from the table. You have a query named Query1 that uses the nonclustered index.

    Users report that Query1 takes a long time to report results. You run Query1 and review the following statistics for an index seek operation:

    You need to resolve the performance issue.

    Solution: You update statistics for the nonclustered index.

    Does the solution meet the goal?

    A. Yes

    B. No

  • Question 54:

    You have a reporting application that uses a table named Table1. You deploy a new batch update process to perform updates to Table1.

    The environment is configured with the following properties:

    The database is configured with the default isolation setting.

    The application and process use the default transaction handling.

    You observe the application cannot access any rows that are in use by the process.

    You have the following requirements:

    Ensure the application is not blocked by the process.

    Ensure the application has a consistent view of the data

    Ensure the application does not read dirty data.

    You need to resolve the issue and meet the requirements with the least amount of administrative effort.

    What should you do?

    A. Enable the database for the ALLOW_SNAPSHOT_ISOLATION isolation level. Modify the application for the SERIALIZABLE isolation level.

    B. Enable the database for the READ_COMITTED_SNAPSHOT isolation level.

    C. Enable the application for the WITH (NOLOCK) hint.

    D. Enable the database for the ALLOW_SNAPSHOT_ISOLATION isolation level. Modify the application and the update process for the SNAPSHOT isolation level.

  • Question 55:

    You run the following Transact-SQL following statement:

    Customer records may be inserted individually or in bulk from an application.

    You observe that the application attempts to insert duplicate records.

    You must ensure that duplicate records are not inserted and bulk insert operations continue without notifications.

    Which Transact-SQL statement should you run?

    A. CREATE UNIQUE NONCLUSTERED INDEX IX_Customer_Code ON Customer (Code) WITH (ONLINE = OFF)

    B. CREATE UNIQUE INDEX IX_CUSTOMER_Code O Customer (Code) WITH (IGNORE_DUP_KEY = ON)

    C. CREATE UNIQUE INDEX IX Customer Code ON Customer (Code) WITH (IGNORE DUP KEY =OFF)

    D. CREATE UNIQUE NONCLUSTERED INDEX IX_Customer_Code ON Customer (Code)

    E. CREATE UNIQUE NONCLUSTERED INDEX IX_Customer_Code ON Customer (Code) WITH (ONLINE = ON)

  • Question 56:

    You suspect deadlocks on a database.

    Which two trace flags in the Microsoft SQL Server error log should you locate? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. 1204

    B. 1211

    C. 1222

    D. 2528

    E. 3205

  • Question 57:

    You have the following stored procedure that is called by other stored procedures and applications:

    You need to modify the stored procedure to meet the following requirements:

    Always return a value to the caller.

    Return 0 if @Status is NULL.

    Callers must be able to use @Status as a variable.

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

    NOTE: Each correct selection is worth one point.

    A. Replace NULL values with 0. Add a PRINT statement to return @Status.

    B. Add a RETURN statement.

    C. Replace NULL values with 0. Add an output parameter to return @Status.

    D. Replace NULL values with 0. Add a SELECT statement to return @Status.

    E. Add a PRINT statement.

    F. Add a SELECT statement to return @Status.

    G. Add an output parameter to return @Status.

  • Question 58:

    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 the series.

    Information and details provided in a question apply only to that question.

    You are developing an application to track customer sales.

    You need to create an object that meets to following requirements:

    Run managed code packaged in an assembly that was created in the Microsoft.NET Framework and uploaded in Microsoft SQL Server.

    Run written a transaction and roll back if a failure occurs.

    Run when a table is created or modified.

    What should you create?

    A. extended procedure

    B. CLR procedure

    C. user-defined procedure

    D. DML trigger

    E. DDL trigger

    F. scalar-valued function

    G. table-valued function

  • Question 59:

    You are creating the following two stored procedures: A natively-compiled stored procedure An interpreted stored procedure that accesses both disk-based and memory-optimized tables

    Both stored procedures run within transactions.

    You need to ensure that cross-container transactions are possible.

    Which setting or option should you use?

    A. the SET TRANSACTION_READ_COMMITTED isolation level for the connection

    B. the SERIALIZABLE table hint on disk-based tables

    C. the SET MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT=ON option for the database

    D. the SET MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT=OFF option for the database

  • Question 60:

    You are developing a database reporting solution for a table that contains 900 million rows and is 103 GB.

    The table is updated thousands of times a day, but data is not deleted.

    The SELECT statements vary in the number of columns used and the amount of rows retrieved.

    You need to reduce the amount of time it takes to retrieve data from the table. The must prevent data duplication.

    Which indexing strategy should you use?

    A. a nonclustered index for each column in the table

    B. a clustered columnstore index for the table

    C. a hash index for the table

    D. a clustered index for the table and nonclustered indexes for nonkey columns

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.