+ Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL...

61

Transcript of + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL...

Page 1: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.
Page 2: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

70-465: MCSE: Data Platform: SQL Server 2012 Armando Lacerda

EXM15

Page 3: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

What we’ll cover today

Exam Tips

Real Exam Questions (from the surreal world)

Exam 70-465 Topics

Microsoft Certification Overview

Page 4: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Microsoft Certification Overview

Page 5: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

YOU KNOW SQL SERVER 2012How do you become certified?

1 – IdentifyCertification Goal

2 - Find Gaps

3 - Fill Gaps

4 - Take Exam

Page 6: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

1 – IDENTIFY CERTIFICATION GOAL

1 – IdentifyCertification Goal

Page 7: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

MCSE and MCSD certifications

Web Applications SharePoint

Server Infrastructure

Desktop Infrastructure

SharePoint Data Platform

Private Cloud

Page 8: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

MCSA: SQL Server Solutions Associate

+Administering Microsoft SQL Server 2012 Databases

Implementing a Data Warehouse with Microsoft SQL Server 2012

EX

AM462

+ =EX

AM46

3Querying Microsoft SQL Server 2012

EX

AM46

1 MCSA: SQL ServerSolutions Associate

Page 9: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

MCSE: Data Platform Solutions Expert

+Developing Microsoft SQL Server 2012 Databases

Designing Database Solutions for SQL Server 2012

EX

AM464

+ =EX

AM46

5 MCSE: Data PlatformSolutions Expert

MCSA: SQL ServerSolutions Associate

Page 10: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

MCSE: Business Intelligence Solutions Expert

+Implementing Data Models and Reports with Microsoft SQL Server 2012

Designing Business Intelligence Solutions with Microsoft SQL Server 2012

EX

AM466

+ =EX

AM46

7 MCSE: Business IntelligenceSolutions Expert

MCSA: SQL ServerSolutions Associate

Page 11: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Upgrade path

+Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1

Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2

EX

AM45

7+ =E

XA

M458

MCTS on SQL Server 2008

MCSA: SQL Server 2008

MCSA: SQL ServerSolutions Associate

Page 12: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Upgrade path

+Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1

Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2

EX

AM45

7+ =E

XA

M458

MCTS on SQL Server 2008

MCSA: SQL Server 2008

MCSE: Data Platform certification.

Transition Your MCITP on SQL Server 2008 to MCSE: Data Platform

+ EX

AM45

9

Page 13: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Upgrade path

+Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1

Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2

EX

AM45

7+ =E

XA

M458

MCTS on SQL Server 2008

MCSA: SQL Server 2008

MCSE Business Intelligence certification

Transition Your MCITP: Business Intelligence Developer 2008 to MCSE: BI

+ EX

AM46

0

Page 14: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

What to expect when testing?

Check out the session EXAM101!!

Page 15: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

What does a 700 minimum score mean?

http://borntolearn.mslearn.net/mct/p/mctv.aspx#fbid=moz6QNLQLrs

Page 16: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

2 – FIND GAPS

1 – IdentifyCertification Goal

2 - Find Gaps

Page 17: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Check the exam guide

Skills Measured TabFocus studyingTopic weighting

Page 18: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

70-465 exam outline

Page 19: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

70-465 exam preparation resources

Page 20: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

3 – FILL GAPS

1 – IdentifyCertification Goal

2 - Find Gaps

3 - Fill Gaps

Page 21: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Exam 70-465 topics

Page 22: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Designing Database Solutions for Microsoft SQL Server 2012

Design database structure (29%)Design databases and database objects (32%)Design database security (15%)Design a troubleshooting and optimization solution (24%)

Page 23: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Designing Database Solutions for Microsoft SQL Server 2012

Design database structure (29%)Design databases and database objects (32%)Design database security (15%)Design a troubleshooting and optimization solution (24%)

Page 24: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design database structure (29%)

Design for business requirementsDesign physical database and object placementDesign a table and index partitioning strategyDesign a migration, consolidation, and upgrade strategyDesign SQL Server instancesDesign backup and recovery

Page 25: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Date and time data types• Date• DateTime• DateTime2• DateTimeOffset• SmallDate• Time

http://msdn.microsoft.com/en-us/library/ms187752.aspx

Page 26: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

DenormalizationIndexed viewsMaterialized viewsPersisted calculated columns

Create the view by using the WITH SCHEMABINDING option

Page 27: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

http://msdn.microsoft.com/library/ms191432.aspx

Page 28: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Backup and restore

Snapshot database:

Page 29: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1You need to validate rows before they are added to a table every time a new row is added using user-defined function. What should you use? More than one answer choice may achieve the goal. Select the BEST answer.

A. DML Trigger B. Default constraintC. Foreign keyD. CHECK constraint

Page 30: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1You need to validate rows before they are added to a table every time a new row is added using user-defined function. What should you use? More than one answer choice may achieve the goal. Select the BEST answer.

A. DML Trigger B. Default constraintC. Foreign keyD. CHECK constraint

Page 31: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to choose the a SQL Server 2012 edition to address a company’s four days event registration. The database must be available for outside users and partners.More than one answer choice may achieve the goal. Select the BEST answer.

A. SQL Server compact editionB. SQL Server AzureC. SQL Server ExpressD. SQL Server Enterprise

Page 32: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to choose the a SQL Server 2012 edition to address a company’s four days event registration. The database must be available for outside users and partners.More than one answer choice may achieve the goal. Select the BEST answer.

A. SQL Server compact editionB. SQL Server AzureC. SQL Server ExpressD. SQL Server Enterprise

Page 33: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Designing Database Solutions for Microsoft SQL Server 2012

Design database structure (29%)Design databases and database objects (32%)Design database security (15%)Design a troubleshooting and optimization solution (24%)

Page 34: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design database structure (29%)

Design a database modelDesign tablesDesign for concurrencyDesign T-SQL stored proceduresDesign a management automation strategyDesign for implicit and explicit transactions

Page 35: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design Tables

The difference between:

Physical tablesTemp tablesTemp table variables Common table expressions

Page 36: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design for concurrencyMinimize locking Eliminate as much blocking as possibleAvoid deadlocks

Page 37: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1Your transaction runs the same select statement multiple times. You need to access new rows added by other transactions in the queried table. What isolation level should you use?Select the BEST answer.

READ UNCOMMITTEDREAD COMMITTED REPEATABLE READ SERIALIZABLE

Page 38: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1Your transaction runs the same select statement multiple times. You need to access new rows added by other transactions in the queried table. What isolation level should you use?Select the BEST answer.

READ UNCOMMITTEDREAD COMMITTED REPEATABLE READ SERIALIZABLE

Page 39: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to ensure that a store procedure fails if an insert statement within the stored procedure fails. What action should you take?Select the BEST answer.

THROW 51000, ‘Abort!’SET XACT_ABORT OFFSET XACT_ABORT ONTRY … CATCH

Page 40: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to ensure that a store procedure fails if an insert statement within the stored procedure fails. What action should you take?Select the BEST answer.

THROW 51000, ‘Abort!’SET XACT_ABORT OFFSET XACT_ABORT ONTRY … CATCH

Page 41: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Designing Database Solutions for Microsoft SQL Server 2012

Design database structure (29%)Design databases and database objects (32%)Design database security (15%)Design a troubleshooting and optimization solution (24%)

Page 42: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design database structure (29%)

Design an application strategy to support securityDesign database, schema, and object security parametersDesign instance-level security configurations

Page 43: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design an application strategy to support security

Page 44: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1You need to move a database in between servers. You need to guarantee database users will be able to login in the database with a minimum management effort.Select the BEST answer.

Application roleDatabase userServer loginServer role

Page 45: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1You need to move a database in between servers. You need to guarantee database users will be able to login in the database with a minimum management effort.Select the BEST answer.

Application roleDatabase userServer loginServer role

Page 46: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to grant access to a OLTP database regardless of the user operating the application. Which strategy should you use?Select the BEST answer.

Application roleDatabase userServer loginServer role

Page 47: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to grant access to a OLTP database regardless of the user operating the application. Which strategy should you use?Select the BEST answer.

Application roleDatabase userServer loginServer role

Page 48: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Designing Database Solutions for Microsoft SQL Server 2012

Design database structure (29%)Design databases and database objects (32%)Design database security (15%)Design a troubleshooting and optimization solution (24%)

Page 49: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Design database structure (29%)

Design a maintenance strategy for database serversTroubleshoot and resolve concurrency issuesDesign and implement a high availability solutionDesign a solution to monitor performance and concurrencyDesign a monitoring solution at the instance level

Page 50: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Troubleshoot and resolve concurrency issues

• sys.dm_tran_locks• sys.dm_tran_database_transactions

Page 51: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1Which feature should you enable and configure so session requests addressed to a specific instance can be allocated to different processor resources based on session request properties?

Resource GovernorWindows System Resource ManagerProcessor affinityI/O affinity

Page 52: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #1Which feature should you enable and configure so session requests addressed to a specific instance can be allocated to different processor resources based on session request properties?

Resource GovernorWindows System Resource ManagerProcessor affinityI/O affinity

Page 53: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to design a high availability strategy to guarantee database access in a event of server failure and minimize data storage utilization.Which is the BEST to use?

Database Mirror AlwaysOn availability groupsClustered SQL Server instancesLog shipping

Page 54: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Sample Question #2You need to design a high availability strategy to guarantee database access in a event of server failure and minimize data storage utilization.Which is the BEST to use?

Database Mirror AlwaysOn availability groupsClustered SQL Server instancesLog shipping

Page 55: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

4 – TAKE EXAM

1 – IdentifyCertification Goal

2 - Find Gaps

3 - Fill Gaps

4 - Take Exam

Page 56: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Concepts

ConstraintsContext

Right Answer

Page 57: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Preparation Resources

Page 58: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Preparation Resources

Page 59: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

msdn

Resources for Developers

http://microsoft.com/msdn

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

TechNet

Resources

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Resources for IT Professionals

http://microsoft.com/technet

Page 60: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

Complete an evaluation on CommNet and enter to win!

Page 61: + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft SQL.

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.