70-762 Sample Questions

70-762 Sample Questions & Answers

Free Developing SQL Databases practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.

Launch the full 70-762 simulator →

Showing 4 of 8 free samples.

  1. Question 1

    Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.

    A reporting database contains a non-partitioned fact table, which is persisted on disk. The following problems exist with regards to the table:

    The completion of user queries is a lengthy process.
    The table requires excessive storage in the database.
    Indexes on the table are nonexistent.
    A number of columns include repeating values.

    You want to make use of an index that is the most effective at sorting out the problems listed.
    Solution: You create a hash index on the table. Has the requirement been satisfied?

    Show answer & explanation

    Correct answer: B

    No, the solution does not satisfy the requirements. For a reporting database with a non-partitioned fact table, the proposed solution likely fails to address critical performance optimization needs such as proper indexing strategies, columnstore indexes for analytical workloads, or appropriate partitioning schemes. Fact tables in reporting databases require specific design patterns including star or snowflake schema implementations, optimized for read-heavy analytical queries rather than transactional operations.

  2. Question 2

    Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result.

    You have been tasked with creating two modules for a database with disk-based tables and memory-optimized tables.
    You are informed that encryption should be configured for the first module via the ENCRYPTION option. The first module should allow for updates on disk-based tables and memory-optimized tables, as well as support OUTPUT parameters.

    You are also informed that the second module should only access memory-optimized tables, and allow for updates on those tables. Furthermore, the second module should allow for substantial aggregations with maximum execution, as well as support OUTPUT parameters. Which of the following should you use for the first module?

    Show answer & explanation

    Correct answer: D

    An interpreted stored procedure is the correct choice for creating modules that work with both disk-based tables and memory-optimized tables. Interpreted stored procedures can access both types of tables within the same procedure, providing flexibility for mixed workloads. Natively compiled stored procedures are optimized for memory-optimized tables only and cannot access disk-based tables. DML and DDL triggers have limitations with memory-optimized tables and are not suitable for creating general-purpose modules that need to work across both storage types.

  3. Question 3

    Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
    You tasked with troubleshooting the performance issues of a Microsoft Azure SQL Database V12 database that has the database query store disabled. You intend making use of Query Performance Insight to complete this task.
    You plan to make use of Transact-SQL statements to enable the database query store via SQL Server Managements Studio. The database query store should be configured to allow for statistics to be collected four times in the space of an hour, and should not exceed 1 GB of storage. Furthermore, query data should be kept for a minimum of twenty days. Lastly, the capturing of queries should be determined by the consumption of resources.
    Solution: You write Transact-SQL statements that sets the Query Store Capture Mode to ALL.
    Has the requirement been satisfied?

    Show answer & explanation

    Correct answer: B

    No, the solution does not satisfy the requirements for troubleshooting performance issues with memory-optimized tables. Effective troubleshooting of In-Memory OLTP performance requires specific monitoring tools and techniques such as analyzing memory-optimized table statistics, hash bucket distributions, and natively compiled stored procedure execution patterns. Memory-optimized tables have unique performance characteristics that require specialized diagnostic approaches including monitoring transaction conflict rates, garbage collection efficiency, and checkpoint operations for durability.

  4. Question 4

    Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
    You tasked with troubleshooting the performance issues of a Microsoft Azure SQL Database V12 database that has the database query store disabled. You intend to make use of Query Performance Insight to complete this task.
    You plan to make use of Transact-SQL statements to enable the database query store via SQL Server Management Studio. The database query store should be configured to allow for statistics to be collected four times in the space of an hour, and should not exceed 1 GB of storage. Furthermore, query data should be kept for a minimum of twenty days. Lastly, the capturing of queries should be determined by the consumption of resources.
    Solution: You write Transact-SQL statements that includes DATA_FLUSH_INTERVAL_SECONDS.
    Has the requirement been satisfied?

    Show answer & explanation

    Correct answer: B

    No, the solution does not meet the requirements for troubleshooting memory-optimized table performance issues. Memory-optimized tables require specialized monitoring approaches including analysis of hash bucket distributions, monitoring for transaction conflicts, and evaluating the effectiveness of natively compiled stored procedures. The solution likely fails to address critical In-Memory OLTP specific issues such as checkpoint operations, memory consumption patterns, or proper index selection for memory-optimized structures.

Ready for the real thing?

The full 70-762 simulator has every exam-style question, timed mode, and instant scoring.

Go to the 70-762 simulator →