Top Banner
MCTS: SQL Server 2008 Certification M. Choirul Amri Avantus Training Microsoft MVP (SQL) http://choirulamri.org
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: NUS exam 70-432_MVP Choirul Amri

MCTS: SQL Server 2008 Certification

M. Choirul AmriAvantus TrainingMicrosoft MVP (SQL)http://choirulamri.org

Page 2: NUS exam 70-432_MVP Choirul Amri

Session Takeaway • Review on important point of exam

objectives• Tips, trick, and experiences• Exam 70-432• Discussion

• Not goals:– To cover all exam objectives– Exam cram– Cheating on exam

Page 3: NUS exam 70-432_MVP Choirul Amri

Skills measured (70-432)• Installing and Configuration (10 %)• Maintaining SQL Server Instances (13 %)• Security (15 %)• Database Maintenance (16 %) • Data Management Tasks (14 %)• Monitoring and Troubleshooting (13 %)• Optimizing Performance (10 %)• High Availability (9 %)

Page 4: NUS exam 70-432_MVP Choirul Amri

70-432 at a glance• It’s a basic SQL Server exam• Pre requisites for the higher level (IT Pro)

exams• Emphasize on daily administrative tasks:

install, configure, backup/restore, server monitoring

• It won’t test the scripting/code, but you need to know them at the higher level

• 50-60 MCQ questions

Page 5: NUS exam 70-432_MVP Choirul Amri

How to prepare…• Get your hand dirty, try it…..– Download Virtual PC 2007– Install Windows Server 2003/2008– Install SQL Server 2008– Try all exercises from your book– Don’t just read, try!

Page 6: NUS exam 70-432_MVP Choirul Amri

Security• Which port number required by SQL

Server• Differences between:– Login Vs User– Server role and database role– Types of role and their permission• Securityadmin, sysadmin, dbcreator, etc

• Always assign user to most restrictive role

Page 7: NUS exam 70-432_MVP Choirul Amri

Security (2)

• Windows Integrated VS Mixed Auth• When to use SQL auth instead of Windows• Assigning permission to:– Database > Schema > db objects (table,

column, sp, view, etc)

• Understand cross database ownership chain

• Types of assignment:– Grant, with grant, revoke, deny

Page 8: NUS exam 70-432_MVP Choirul Amri

Security (3)• Configuring server with sp_configure• Instance level configuration• Important option:– Show advanced option– Enable distributed queries– Enable cross ownership chain

Page 9: NUS exam 70-432_MVP Choirul Amri

Security (4)• Transparent data encryption• What is it?• How to configure…• Advantages….

Page 10: NUS exam 70-432_MVP Choirul Amri

Performance (1)• Understand different types of

indexes:– Clustered– Non clustered– Both of them can be unique/non unique

• Generic guideline:– Clustered: reading, sorting, grouping– Non clustered: insert, update, delete

Page 11: NUS exam 70-432_MVP Choirul Amri

Performance (2)Index maintenance:– Reorganize– Rebuild– Drop – recreate

• With online option• Using maintenance plan wizard and

SQL agent job

Page 12: NUS exam 70-432_MVP Choirul Amri

Performance (3)• Understand file group and db file

setting– Filegroup– File sizing and placement (mdf, ldf, ndf)

• Partition– Advantages– How to setup:• Partition function• Partition scheme• Apply scheme to table

Page 13: NUS exam 70-432_MVP Choirul Amri

Backup/Restore

• Differences between backup types, and when to use each of them:• Full• Differential• Transaction log

• Impact of different database recovery mode:• Simple, bulk logged, full• What kind of features depends on FULL

recovery mode?

Page 14: NUS exam 70-432_MVP Choirul Amri

Backup/Restore(2)

• Important WITH option in backup:– INIT/ NOINIT– COMPRESSION/ NO_COMPRESSION– COPY_ONLY >> do backup without breaking

backup sequence

• Backup log special option:– NO_RECOVERY >> backup tail when db is

online– NO_TRUNCATE >> if db is damage

Page 15: NUS exam 70-432_MVP Choirul Amri

Restore(3)• Important restore option:– NO_RECOVERY/ RECOVERY– STOP AT……–MOVE….– REPLACE…..

Page 16: NUS exam 70-432_MVP Choirul Amri

Backup/Restore(3)• Steps to recover db in disaster:

1. Always backup tail log first!2. Restore latest full backup3. Restore latest differential backup (if

any)4. Restore any necessary log backup

(since last diff backup)5. Restore the tail log backup6. Use STOP AT… if required

Page 17: NUS exam 70-432_MVP Choirul Amri

QUIZ 1• Current backup config:– Full backup every Sunday at 01:30 am– Differential: weekdays at 01:00 am– Log backup: weekdays at

– 11 am– 5 pm– 11 pm

• The DB is crashed on Thursday, at 2:15 am. There are many ongoing transaction. How to restore?

Page 18: NUS exam 70-432_MVP Choirul Amri

Automation/monitoring• Understand important role of SQL

Agent– Services– Services account

• How to create SQL Agent job/ schedule

• Create alert/notification and operator

Page 19: NUS exam 70-432_MVP Choirul Amri

Automation/Monitoring• Monitoring with Dynamic

Management View (DMV)• Special views for

monitoring/retrieving server and database metadata

• Useful DMVs:– Sys.dm_exec_query_stats– sys.dm_exec_trans_lock– Sys.dm_exec_index_usage

Page 20: NUS exam 70-432_MVP Choirul Amri

Useful Resources• Technet SQL Server Virtual Labs• ExamNotes.com certification forum• MS Press book: 70-432 Self Study

Guide• Practice Exam:–MeasureUp– SelfTest Software

Page 21: NUS exam 70-432_MVP Choirul Amri

Closing

• Personal Story….• QAs

Page 22: NUS exam 70-432_MVP Choirul Amri

Thank You

• Discussion…• Download PPT and Code from my blog:– http://choirulamri.org– [email protected][email protected]