O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exam Ref 70-762 Developing SQL Databases, First Edition

Book Description

Prepare for Microsoft Exam 70-762, Developing SQL Databases –and help demonstrate your real-world mastery of skills for building and implementing databases across organizations. Designed for database professionals who build and implement databases across organizations and who ensure high levels of data availability, Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the MCSA level.

Focus on the expertise measured by these objectives:

• Design and implement database objects

• Implement programmability objects

• Manage database concurrency

• Optimize database objects and SQL infrastructure

This Microsoft Exam Ref:

• Organizes its coverage by exam objectives

• Features strategic, what-if scenarios to challenge you

• Assumes you have working knowledge of Microsoft Windows, Transact-SQL, and relational databases

About the Exam

Exam 70-762 focuses on skills and knowledge for building and implementing databases across organizations and ensuring high levels of data availability.

About Microsoft Certification

Passing this exam earns you credit toward a Microsoft Certified Solutions Associate

(MCSA) certification that demonstrates your mastery of modern database

development. Exam 70-761 (Querying Data with Transact-SQL) is also required for MCSA: SQL 2016 Database Development. See full details at: microsoft.com/learning

Table of Contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Contents at a glance
  5. Contents
  6. Introduction
    1. Organization of this book
    2. Microsoft certifications
    3. Acknowledgments
    4. Free ebooks from Microsoft Press
    5. Microsoft Virtual Academy
    6. Quick access to online references
    7. Errata, updates, & book support
    8. We want to hear from you
    9. Stay in touch
    10. Important: How to use this book to study for the exam
  7. Chapter 1. Design and implement database objects
    1. Skill 1.1: Design and implement a relational database schema
      1. Designing tables and schemas based on business requirements
      2. Improving the design of tables by using normalization
      3. Writing table create statements
      4. Determining the most efficient data types to use
    2. Skill 1.2: Design and implement indexes
      1. Design new indexes based on provided tables, queries, or plans
      2. Distinguish between indexed columns and included columns
      3. Implement clustered index columns by using best practices
    3. Recommend new indexes based on query plans
    4. Skill 1.3: Design and implement views
      1. Design a view structure to select data based on user or business requirements
      2. Identify the steps necessary to design an updateable view
      3. Implement partitioned views
      4. Implement indexed views
    5. Skill 1.4: Implement columnstore indexes
      1. Determine use cases that support the use of columnstore indexes
      2. Identify proper usage of clustered and non-clustered columnstore indexes
      3. Design standard non-clustered indexes in conjunction with clustered columnstore indexes
      4. Implement columnstore index maintenance
    6. Chapter summary
    7. Thought experiment
    8. Thought experiment answer
  8. Chapter 2. Implement programmability objects
    1. Skill 2.1 Ensure data integrity with constraints
      1. Define table and foreign-key constraints to enforce business rules
      2. Write Transact-SQL statements to add constraints to tables
      3. Identify results of Data Manipulation Language (DML) statements given existing tables and constraints
      4. Identify proper usage of PRIMARY KEY constraints
    2. Skill 2.2 Create stored procedures
      1. Design stored procedure components and structure based on business requirements
      2. Implement input and output parameters
      3. Implement table-valued parameters
      4. Implement return codes
      5. Streamline existing stored procedure logic
      6. Implement error handling and transaction control logic within stored procedures
    3. Skill 2.3 Create triggers and user-defined functions
      1. Design trigger logic based on business requirements
      2. Determine when to use Data Manipulation Language (DML) triggers, Data Definition Language (DDL) triggers, or logon triggers
      3. Recognize results based on execution of AFTER or INSTEAD OF triggers
      4. Design scalar-valued and table-valued user-defined functions based on business requirements
      5. Identify differences between deterministic and non-deterministic functions
      6. Chapter summary
    4. Thought Experiment
    5. Though Experiment Answer
  9. Chapter 3. Manage database concurrency
    1. Skill 3.1: Implement transactions
      1. Identify DML statement results based on transaction behavior
      2. Recognize differences between and identify usage of explicit and implicit transactions
      3. Implement savepoints within transactions
      4. Determine the role of transactions in high-concurrency databases
    2. Skill 3.2: Manage isolation levels
      1. Identify differences between isolation levels
      2. Define results of concurrent queries based on isolation level
      3. Identify the resource and performance impact of given isolation levels
    3. Skill 3.3: Optimize concurrency and locking behavior
      1. Troubleshoot locking issues
      2. Identify lock escalation behaviors
      3. Capture and analyze deadlock graphs
      4. Identify ways to remediate deadlocks
    4. Skill 3.4: Implement memory-optimized tables and native stored procedures
      1. Define use cases for memory-optimized tables
      2. Optimize performance of in-memory tables
      3. Determine best case usage scenarios for natively compiled stored procedures
      4. Enable collection of execution statistics for natively compiled stored procedures
      5. Chapter summary
    5. Thought experiment
    6. Thought experiment answers
  10. Chapter 4. Optimize database objects and SQL infrastructure
    1. Skill 4.1: Optimize statistics and indexes
      1. Determine the accuracy of statistics and the associated impact to query plans and performance
      2. Design statistics maintenance tasks
      3. Use dynamic management objects to review current index usage and identify missing indexes
      4. Consolidate overlapping indexes
    2. Skill 4.2: Analyze and troubleshoot query plans
      1. Capture query plans using extended events and traces
      2. Identify poorly performing query plan operators
      3. Compare estimated and actual query plans and related metadata
      4. Configure Azure SQL Database Performance Insight
    3. Skill 4.3: Manage performance for database instances
      1. Manage database workload in SQL Server
      2. Design and implement Elastic Scale for Azure SQL Database
      3. Select an appropriate service tier or edition
      4. Optimize database file and tempdb configuration
      5. Optimize memory configuration
      6. Monitor and diagnose schedule and wait statistics using dynamic management objects
      7. Troubleshoot and analyze storage, IO, and cache issues
      8. Monitor Azure SQL Database query plans
    4. Skill 4.4: Monitor and trace SQL Server baseline performance metrics
      1. Monitor operating system and SQL Server performance metrics
      2. Compare baseline metrics to observed metrics while troubleshooting performance issues
      3. Identify differences between performance monitoring and logging tools
      4. Monitor Azure SQL Database performance
      5. Determine best practice use cases for extended events
      6. Distinguish between Extended Events targets
      7. Compare the impact of Extended Events and SQL Trace
      8. Define differences between Extended Events Packages, Targets, Actions, and Sessions
      9. Chapter summary
    5. Thought experiment
    6. Thought experiment answer
  11. Index
  12. About the authors
  13. Free ebooks
  14. Survey
  15. Code Snippets