Synopses & Reviews
Exam Prep Guide
Ace your preparation for the skills measured by MCTS Exam 70-431and on the job. Work at your own pace through a series of lessons and reviews that fully cover each exam objective. Then, reinforce what you’ve learned by applying your knowledge to real-world case scenarios and practices. This official Microsoft study guide is designed to help you make the most of your study time.
Maximize your performance on the exam by learning to: Install and configure SQL Server Create tables and indexes, define columns, and implement constraints Implement functions, stored procedures, and triggers by using Transact-SQL Work with relational and XML data Monitor, troubleshoot and tune queries Maintain database availability with log shipping, database mirroring, and replication Prepare a backup strategy and restore a database
Practice Tests
Assess your skills with practice tests on CD. You can work through hundreds of questions using multiple testing modes to meet your specific learning needs. You get detailed explanations for right and wrong answers?including a customized learning path that describes how and where to focus your studies.
Your training kit includes: 15% exam discount from Microsoft. Offer expires 12/31/10. Details inside. Official self-paced study guide. Practice tests with multiple, customizable testing options and a learning plan based on your results. 450 practice and review questions. Case scenarios, practice exercises, and best practices. 180-day evaluation version of Microsoft SQL Server 2005 Enterprise Edition. Fully searchable eBook.
A Note Regarding the CD or DVD
The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via OReilly Medias Digital Distribution services. To download this content, please visit OReillys web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to [email protected].
Synopsis
Ace your preparation for the skills measured by MCTS Exam 70-431—and on the job. Work at your own pace through a series of lessons and reviews that fully cover each exam objective. Then, reinforce what you’ve learned by applying your knowledge to real-world case scenarios and practices. This official Microsoft study guide is designed to help you make the most of your study time.
Maximize your performance on the exam by learning to:
- Install and configure SQL Server
- Create tables and indexes, define columns, and implement constraints
- Implement functions, stored procedures, and triggers by using Transact-SQL
- Work with relational and XML data
- Monitor, troubleshoot and tune queries
- Maintain database availability with log shipping, database mirroring, and replication
- Prepare a backup strategy and restore a database
Practice Tests
Assess your skills with practice tests on CD. You can work through hundreds of questions using multiple testing modes to meet your specific learning needs. You get detailed explanations for right and wrong answers?including a customized learning path that describes how and where to focus your studies.
Your training kit includes:
- Official self-paced study guide.
- Practice tests with multiple, customizable testing options and a learning plan based on your results.
- 450 practice and review questions.
- Case scenarios, practice exercises, and best practices.
- 180-day evaluation version of Microsoft SQL Server 2005 Enterprise Edition.
- Fully searchable eBook.
For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.
About the Author
The mentors at Solid Quality Learning combine deep technical expertise and real-world implementation experience to provide advanced solutions and training for the Microsoft SQL Server database platform.
Table of Contents
Acknowledgments; Daren Bieniek; Mike Hotek; Antonio Soto; Adolfo Wiernik; About the Authors; Introduction; Hardware Requirements; Software Requirements; Using the CD and DVD; Microsoft Certified Professional Program; Technical Support; Evaluation Edition Software Support; Chapter 1: Installing SQL Server 2005; 1.1 Before You Begin; 1.2 Lesson 1: Selecting the Correct SQL Server 2005 Edition; 1.3 Lesson 2: Determining Infrastructure Requirements for SQL Server 2005; 1.4 Lesson 3: Using Default, Named, and Multiple Instances of SQL Server 2005; 1.5 Lesson 4: Installing a New Instance of SQL Server 2005; 1.6 Lesson 5: Upgrading to a SQL Server 2005 Installation; 1.7 Chapter Review; 1.8 Chapter Summary; 1.9 Key Terms; 1.10 Case Scenarios; 1.11 Suggested Practices; 1.12 Take a Practice Test; Chapter 2: Configuring SQL Server 2005; 2.1 Before You Begin; 2.2 Lesson 1: Configuring Log and Data Files; 2.3 Lesson 2: Configuring Database Mail; 2.4 Lesson 3: Specifying a Recovery Model; 2.5 Lesson 4: Configuring Server Security Principals; 2.6 Lesson 5: Configuring Database Securables; 2.7 Lesson 6: Configuring Encryption; 2.8 Lesson 7: Configuring Linked Servers; 2.9 Chapter Review; 2.10 Chapter Summary; 2.11 Case Scenarios; 2.12 Suggested Practices; 2.13 Take a Practice Test; Chapter 3: Creating Tables, Constraints, and User-Defined Types; 3.1 Before You Begin; 3.2 Lesson 1: Creating Tables; 3.3 Lesson 2: Implementing Constraints; 3.4 Lesson 3: Creating User-Defined Types; 3.5 Chapter Review; 3.6 Key Terms; 3.7 Case Scenario: Designing a Database; 3.8 Suggested Practices; 3.9 Take a Practice Test; Chapter 4: Creating Indexes; 4.1 Before You Begin; 4.2 Lesson 1: Understanding Index Structure; 4.3 Lesson 2: Creating Clustered Indexes; 4.4 Lesson 3: Creating Nonclustered Indexes; 4.5 Chapter Review; 4.6 Chapter Summary; 4.7 Key Terms; 4.8 Case Scenario: Indexing a Database; 4.9 Suggested Practices; 4.10 Take a Practice Test; Chapter 5: Working with Transact-SQL; 5.1 Before You Begin; 5.2 Lesson 1: Querying Data; 5.3 Lesson 2: Formatting Result Sets; 5.4 Lesson 3: Modifying Data; 5.5 Lesson 4: Working with Transactions; 5.6 Chapter Review; 5.7 Chapter Summary; 5.8 Key Terms; 5.9 Case Scenarios; 5.10 Suggested Practices; 5.11 Take a Practice Test; Chapter 6: Creating Partitions; 6.1 Before You Begin; 6.2 Lesson 1: Creating a Partition Function; 6.3 Lesson 2: Creating a Partition Scheme; 6.4 Lesson 3: Partitioning Tables and Indexes; 6.5 Lesson 4: Querying Partitions; 6.6 Lesson 5: Managing Partitions; 6.7 Chapter Review; 6.8 Chapter Summary; 6.9 Key Terms; 6.10 Case Scenario: Archiving Data; 6.11 Suggested Practice; 6.12 Take a Practice Test; Chapter 7: Implementing Views; 7.1 Before You Begin; 7.2 Lesson 1: Creating a View; 7.3 Lesson 2: Modifying Data Through Views; 7.4 Lesson 3: Creating an Indexed View; 7.5 Chapter Review; 7.6 Chapter Summary; 7.7 Key Terms; 7.8 Case Scenario: Creating Views; 7.9 Suggested Practices; 7.10 Take a Practice Test; Chapter 8: Managing XML Data; 8.1 Before You Begin; 8.2 Lesson 1: Working with XML Structures; 8.3 Lesson 2: Retrieving XML Data by Using SQL Server Server-Side Technologies; 8.4 Lesson 3: Retrieving XML Data by Using SQL Server Middle-Tier Technologies; 8.5 Lesson 4: Modifying XML Data; 8.6 Lesson 5: Converting Between XML Data and Relational Data; 8.7 Lesson 6: Creating XML Indexes; 8.8 Chapter Review; 8.9 Chapter Summary; 8.10 Key Terms; 8.11 Case Scenarios; 8.12 Suggested Practices; 8.13 Take a Practice Test; Chapter 9: Creating Functions, Stored Procedures, and Triggers; 9.1 Before You Begin; 9.2 Lesson 1: Implementing Functions; 9.3 Lesson 2: Implementing Stored Procedures; 9.4 Lesson 3: Implementing Triggers; 9.5 Chapter Review; 9.6 Chapter Summary; 9.7 Case Scenario: Creating Triggers, Functions, and Stored Procedures; 9.8 Suggested Practices; 9.9 Take a Practice Test; Chapter 10: Working with Flat Files; 10.1 Before You Begin; 10.2 Lesson 1: Preparing to Work with Flat Files; 10.3 Lesson 2: Running the bcp Utility; 10.4 Lesson 3: Performing a BULK INSERT Task; 10.5 Lesson 4: Importing Bulk XML Data; 10.6 Lesson 5: Using the SSIS Import/Export Wizard; 10.7 Chapter Review; 10.8 Chapter Summary; 10.9 Key Terms; 10.10 Case Scenario: Fixing a Bloated Transaction Log; 10.11 Suggested Practices; 10.12 Take a Practice Test; Chapter 11: Backing Up, Restoring, and Moving a Database; 11.1 Before You Begin; 11.2 Lesson 1: Backing Up a Database; 11.3 Lesson 2: Restoring a Database; 11.4 Lesson 3: Moving a Database; 11.5 Chapter Review; 11.6 Chapter Summary; 11.7 Key Terms; 11.8 Case Scenario: Designing a Backup Strategy; 11.9 Suggested Practices; 11.10 Take a Practice Test; Chapter 12: Using Transact-SQL to Manage Databases; 12.1 Before You Begin; 12.2 Lesson 1: Managing Index Fragmentation; 12.3 Lesson 2: Managing Statistics; 12.4 Lesson 3: Shrinking Files; 12.5 Lesson 4: Using DBCC CHECKDB; 12.6 Chapter Review; 12.7 Chapter Summary; 12.8 Key Terms; 12.9 Case Scenarios; 12.10 Suggested Practices; 12.11 Take a Practice Test; Chapter 13: Working with HTTP Endpoints; 13.1 Before You Begin; 13.2 Lesson 1: Understanding HTTP Endpoint Security; 13.3 Lesson 2: Creating a Secure HTTP Endpoint; 13.4 Chapter Review; 13.5 Chapter Summary; 13.6 Key Terms; 13.7 Case Scenario: Creating HTTP Endpoints; 13.8 Suggested Practices; 13.9 Take a Practice Test; Chapter 14: Working with SQL Server Agent Jobs; 14.1 Before You Begin; 14.2 Lesson 1: Creating a SQL Server Agent Job; 14.3 Lesson 2: Creating a Maintenance Plan; 14.4 Lesson 3: Configuring Operators; 14.5 Lesson 4: Configuring Alerts; 14.6 Chapter Review; 14.7 Chapter Summary; 14.8 Case Scenario: Scheduling Administrative Actions; 14.9 Suggested Practices; 14.10 Take a Practice Test; Chapter 15: Monitoring and Troubleshooting SQL Server Performance; 15.1 Before You Begin; 15.2 Lesson 1: Working with SQL Server Profiler; 15.3 Lesson 2: Working with System Monitor; 15.4 Lesson 3: Using the Database Engine Tuning Advisor; 15.5 Lesson 4: Using Dynamic Management Views and Functions; 15.6 Lesson 5: Correlating Performance and Monitoring Data; 15.7 Lesson 6: Resolving Blocking and Deadlocking Issues; 15.8 Lesson 7: Resolving Database Errors; 15.9 Chapter Review; 15.10 Chapter Summary; 15.11 Case Scenario: Diagnosing Performance Problems; 15.12 Suggested Practices; 15.13 Take a Practice Test; Chapter 16: Managing Database Snapshots; 16.1 Before You Begin; 16.2 Lesson 1: Creating a Database Snapshot; 16.3 Lesson 2: Reverting a Database from a Database Snapshot; 16.4 Chapter Review; 16.5 Chapter Summary; 16.6 Key Terms; 16.7 Case Scenario: Implementing Database Snapshots for Administrative Actions; 16.8 Suggested Practices; 16.9 Take a Practice Test; Chapter 17: Implementing Database Mirroring; 17.1 Before You Begin; 17.2 Lesson 1: Understanding Database Mirroring Roles; 17.3 Lesson 2: Preparing Databases for Database Mirroring; 17.4 Lesson 3: Establishing Endpoints; 17.5 Lesson 4: Understanding Operating Modes; 17.6 Lesson 5: Failing Over a Database Mirror; 17.7 Lesson 6: Removing Database Mirroring; 17.8 Chapter Review; 17.9 Chapter Summary; 17.10 Key Terms; 17.11 Case Scenario: Implementing Database Mirroring; 17.12 Suggested Practices; 17.13 Take a Practice Test; Chapter 18: Implementing Log Shipping; 18.1 Before You Begin; 18.2 Lesson 1: Preparing to Log Ship; 18.3 Lesson 2: Configuring Log Shipping Options; 18.4 Lesson 3: Configuring Log Shipping Mode; 18.5 Lesson 4: Configuring Monitoring; 18.6 Chapter Review; 18.7 Chapter Summary; 18.8 Key Terms; 18.9 Case Scenarios; 18.10 Suggested Practices; 18.11 Take a Practice Test; Chapter 19: Managing Replication; 19.1 Before You Begin; 19.2 Lesson 1: Understanding Replication Types; 19.3 Lesson 2: Setting Up Replication; 19.4 Lesson 3: Configuring Replication Security; 19.5 Lesson 4: Configuring Conflict Resolution for Merge Replication; 19.6 Lesson 5: Monitoring Replication; 19.7 Chapter Summary; 19.8 Key Terms; 19.9 Case Scenarios; 19.10 Suggested Practices; 19.11 Take a Practice Test; Chapter 20: Working with Service Broker; 20.1 Before You Begin; 20.2 Lesson 1: Exploring the Service Broker Architecture; 20.3 Lesson 2: Creating Message Types and Contracts; 20.4 Lesson 3: Creating Queues and Services; 20.5 Lesson 4: Creating Conversations; 20.6 Lesson 5: Sending and Receiving Messages; 20.7 Chapter Review; 20.8 Chapter Summary; 20.9 Key Terms; 20.10 Case Scenario: Building a Service Broker Application; 20.11 Suggested Practices; 20.12 Take a Practice Test; Chapter 21: Creating Full-Text Catalogs; 21.1 Before You Begin; 21.2 Lesson 1: Creating a Full-Text Catalog; 21.3 Lesson 2: Creating a Full-Text Index; 21.4 Lesson 3: Populating a Full-Text Index; 21.5 Lesson 4: Querying Data by Using a Full-Text Index; 21.6 Chapter Review; 21.7 Chapter Summary; 21.8 Key Terms; 21.9 Case Scenario: Building Full-Text Indexes; 21.10 Suggested Practices; 21.11 Take a Practice Test; Answers; Chapter 1: Lesson Review Answers; Chapter 1: Case Scenario Answers; Chapter 2: Lesson Review Answers; Chapter 2: Case Scenario Answers; Chapter 3: Lesson Review Answers; Chapter 3: Case Scenario Answers; Chapter 4: Lesson Review Answers; Chapter 4: Case Scenario Answers; Chapter 5: Lesson Review Answers; Chapter 5: Case Scenario Answers; Chapter 6: Lesson Review Answers; Chapter 6: Case Scenario Answers; Chapter 7: Lesson Review Answers; Chapter 7: Case Scenario Answers; Chapter 8: Lesson Review Answers; Chapter 8: Case Scenario Answers; Chapter 9: Lesson Review Answers; Chapter 9: Case Scenario Answers; Chapter 10: Lesson Review Answers; Chapter 10: Case Scenario Answers; Chapter 11: Lesson Review Answers; Chapter 11: Case Scenario Answers; Chapter 12: Lesson Review Answers; Chapter 12: Case Scenario Answers; Chapter 13: Lesson Review Answers; Chapter 13: Case Scenario Answers; Chapter 14: Lesson Review Answers; Chapter 14: Case Scenario Answers; Chapter 15: Lesson Review Answers; Chapter 15: Case Scenario Answers; Chapter 16: Lesson Review Answers; Chapter 16: Case Scenario Answers; Chapter 17: Lesson Review Answers; Chapter 17: Case Scenario Answers; Chapter 18: Lesson Review Answers; Chapter 18: Case Scenario Answers; Chapter 19: Lesson Review Answers; Chapter 19: Case Scenario Answers; Chapter 20: Lesson Review Answers; Chapter 20: Case Scenario Answers; Chapter 21: Lesson Review Answers; Chapter 21: Case Scenario Answers; Glossary; System Requirements; Hardware Requirements; Software Requirements; Exam 70-431: Microsoft SQL Server 2005Implementation and Maintenance; Additional Resources for IT Professionals; Microsoft Windows Server; Microsoft Windows Client; Microsoft SQL Server 2005; Microsoft Exchange Server 2003; Scripting; Microsoft® SQL Server™ 2005 Training Kits;