Download presentation
Presentation is loading. Please wait.
Published byEveliina Jokinen Modified over 6 years ago
1
9/20/2018 1:37 AM BRK3169 Cert Exam Prep: Exam : Administering a SQL Database Infrastructure Neil McIsaac © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Agenda What do I need to know? How do I build my knowledge?
Review requirements to successfully pass exam Relate practical knowledge to the exam objectives How do I build my knowledge? Exam preparation tips and resources Key takeaway Create an action plan to prepare for exam Provide additional resources for exam preparation
3
The Exam
4
Microsoft Management Summit 2013
9/20/2018 1:37 AM Exam Basics 40-60 questions 1-4 hours to complete the exam All questions are worth “one point” unless told otherwise. Cannot move between case studies 700 is passing but % © 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.
5
DATA MANAGEMENT & ANALYTICS PATH
461: Querying Microsoft SQL Server 2012/2014 462: Administering Microsoft SQL Server 2012/2014 Databases 463: Implementing a Data Warehouse with Microsoft SQL Server 2012/2014 MCSA SQL Server 2012/2014 761: Querying Data with Transact-SQL 762: Developing SQL Databases MCSA SQL 2016 Database Dev MCSE Data Management & Analytics Earned: 2017 DATA MANAGEMENT & ANALYTICS Elective 764: Administering a SQL Database Infrastructure 765: Provisioning SQL Databases MCSA SQL 2016 Database Admin Elective Exam Pool (choose one*) 464: Developing Microsoft SQL Server Databases 465: Designing Database Solutions for SQL Server 466: Implementing Data Models and Reports with Microsoft SQL Server 467: Designing Business Intelligence Solutions with Microsoft SQL Server 473: Designing and Implementing Cloud Data Platform Solutions 475: Designing and Implementing Big Data Analytics Solutions 762: Developing SQL Databases 767: Implementing a SQL Data Warehouse 768: Developing SQL Data Models 773: Analyzing Big Data with Microsoft R 774: Perform Cloud Data Science with Azure Machine Learning 775: Perform Data Engineering on Microsoft Azure HDInsight 767: Implementing a SQL Data Warehouse 768: Developing SQL Data Models MCSA SQL 2016 BI Development 773: Analyzing Big Data with Microsoft R 774: Perform Cloud Data Science with Azure Machine Learning MCSA Machine Learning 778: Analyzing and Visualizing Data with Power BI 779: Analyzing Data with Excel MCSA BI Reporting 775: Perform Data Engineering on Microsoft HD Insight 776: Engineering Data with Microsoft Cloud Services MCSA Data Engineering with Azure 777: Implementing NoSQL Solutions with Azure Cosmos DB (Planned) 762: Developing SQL Databases MCSA Azure Database Development (Planned) *Select one elective to complete your MCSE. Then choose a different elective next year or retake a previous cloud based exam to stay relevant and prove your expanded skills
6
About 70-764 Available October 2016 Audience
Database professionals who perform installation, maintenance, and configuration tasks. Other responsibilities include setting up database systems, making sure those systems operate efficiently, and regularly storing, backing up, and securing data from unauthorized access. Might include adaptive testing technology and simulation items Microsoft does not identify the format in which exams are presented
7
Administering a SQL Database Infrastructure
Covers 4 functional groups Configure data access and auditing Manage backup and restore of databases Manage and monitor SQL Sever instances Manage high availability and disaster recovery
8
Configure Data Access and Auditing (20%-25%)
9
Objectives Configure Encryption Implement cell-level encryption
Implement Always Encrypted Implement backup encryption Configure transparent data encryption Configure encryption for connections Troubleshoot encryption errors
10
Objectives (continued)
Configure Data Access and Permissions Manage database object permissions Create and maintain users Create and maintain custom roles Configure user options for Azure SQL Database Configure row-level security Configure dynamic data masking
11
Objectives (continued)
Configure auditing Configure an audit on SQL Server Query the SQL Server audit log Manage a SQL Server audit Configure an Azure SQL Database audit Analyze audit logs and reports from Azure SQL Database
12
Always Encrypted GA July 2016/Public Preview Nov 2015 Prerequisites
SSMS version or later .NET Framework 4.6 Visual Studio Azure PowerShell (min version 1.0, required for Azure Key Vault) Usage Add Column Encryption Setting=Enabled to connection string Azure Key Vault Windows certificate store
13
Always Encrypted Deterministic vs Randomized Column master keys
Deterministic encryption must use a column collation with a binary2 sort order for character columns Deterministic is weaker for small sets of possible values (ie. yes/no) Column master keys Column encryption keys
14
SQL Database Dynamic Data Masking
Configured by the Azure Database admin, server admin, or security officer roles Masking Function Default, Credit card, Social Security number, , Random, Custom text
15
Manage backup and restore of databases (20-25%)
16
Objectives Develop a backup strategy Back up very large databases
Configure alerting for failed backups Back up databases to Azure Manage transaction log backups Configure database recovery models Configure backup automation
17
Objectives (continued)
Restore databases Perform piecemeal restores Perform page recovery Perform point-in-time recovery Restore file groups Develop a plan to automate and test restores
18
Objectives (continued)
Manage database integrity Implement database consistency checks Identify database corruption Recover from database corruption
19
Manage and monitor SQL Server instances (35-40%)
20
Objectives Monitor database activity Monitor current sessions
Identify sessions that cause blocking activity Identify sessions that consume tempdb resources Configure the data collector Create a utility control point (UCP)
21
Objectives (continued)
Monitor queries Manage the Query Store Configure Extended Events and trace events Identify problematic execution plans Troubleshoot server health using Extended Events
22
Objectives (continued)
Manage indexes Identify and repair index fragmentation Identify and create missing indexes Identify and drop underutilized indexes Manage existing columnstore indexes
23
Objectives (continued)
Manage statistics Identify and correct outdated statistics Implement Auto Update Statistics Implement statistics for large tables
24
Objectives (continued)
Monitor SQL Server instances Create and manage operators Create and manage SQL Agent alerts Define custom alert actions Define failure actions Configure database mail Configure Policy-Based Management Identify available space on data volumes Identify performance degradation
25
SQL Database resource monitoring
master.sys.resource_stats Based on 5 minute averages Maintained for approximately 35 days userdb.sys.dm_db_resource_stats Based on 15 second averages Maintained for one hour Percentages relative to performance level Accessible though Azure Portal Enables configuration of alerts
26
SQL Database monitoring/troubleshooting
Query tuning Query Performance Insight Automatic Tuning DMVs sys.dm_exec_query_stats, sys.dm_exec_query_sql_text(), sys.dm_exec_query_plan, sys.dm_exec_requests, sys.dm_exec_sessions Event auditing Stored in Azure Storage as Tables with a SQLDBAuditLogs prefix (downloadable Excel spreadsheet)
27
SQL Database monitoring/troubleshooting
Extended events Subset of SQL Server events Differences Use ON DATABASE instead of ON SERVER for CREATE/ALTER/DROP EVENT SESSION Best practice to use STARTUP_STATE=ON for CREATE/ALTER EVENT SESSION (supports automatic restart!) New catalog views (Hint! Replace server with database) sys.server_event_sessions_events -> sys.database_event_session_events New DMVs (Hint! Add database) sys.dm_xe_sessions -> sys.dm_xe_database_sessions
28
Monitoring Pools GUI or PowerShell
$metrics = (Get-AzureRmMetric -ResourceId /subscriptions/<subscriptionId>/resourceGroups/FabrikamData01/providers/Microsoft.Sql/servers/fabrikamsqldb02/elasticPools/franchisepool -TimeGrain ([TimeSpan]::FromMinutes(5)) -StartTime "4/18/2015" -EndTime "4/21/2015") 1 minute granularity minimum – example is set to 5 minutes Data retention for metrics = 30 days for free Up to 5 Dbs can be added in Azure Portal
29
Manage high availability and disaster recovery (20-25%)
30
Objectives Implement log shipping Configure log shipping
Monitor log shipping
31
Objectives (continued)
Implement AlwaysOn Availability Groups Configure Windows clustering Create an availability group Configure read-only routing Manage failover Create distributed availability groups
32
Objectives (continued)
Implement failover cluster instances Manage shared disks Configure cluster shared volumes
33
AlwaysOn New Features SQL Server 2016 Standard Edition now supports Always On Basic Availability Groups (DB Mirroring no longer needed!) Load-balancing of read-intent connection requests is now supported across a set of read-only replicas The number of replicas that support automatic failover has been increased from two to three Database Level Health Detection (Requires DB_FAILOVER = ON when creating AG) Group Managed Service Accounts DTC support (Requires DTC_SUPPORT = { PER_DB | NONE }) Encrypted database support Always On Availability Groups
34
Disaster Recovery in Azure
Considerations Geo-replication in Azure disks does not support the data file and log file of the same database to be stored on separate disks GRS replicates changes on each disk independently and asynchronously If the Availability Group spans multiple Azure subnets (such as a deployment that crosses Azure regions), the client connection string must include "MultisubnetFailover=True". The DHCP service in Azure (non-RFC-compliant) can cause the creation of certain WSFC cluster configurations to fail -> assign an unused static IP address, such as a link-local IP address like to the cluster network name Always On Availability Groups
35
Preparation Resources
36
Online Study Material 20764: Administering a SQL Database Infrastructure (five days)
37
Here at Microsoft Ignite
20 MCT Ambassadors – Experts in Certifications 19 Exam Prep Sessions – Technology Focused 50% off all Certification Microsoft Ignite 40% off all Certification Exams AFTER Ignite Free MeasureUP Practice Exams Information about new Certifications, Learning resources, and more…
38
Here at Microsoft Ignite (continued)
SQL Server 2016 related sessions ~14 labs in the Hands On Lab area HOL Azure Data Services – relational workloads HOL Evolving SQL workloads from software to SaaS >100 sessions between Breakout and Theater sessions
39
Ready Up!
40
Preparing for the Exam Review exam topic areas from guide
Schedule your study Schedule your exam Use what you don’t use Know the GUI, know the code Take a practice test, and learn the gaps Sleep!!!!
41
During The Exam RELAX! You will not be beat with a stick!
Look for the differences between choices Keep it simple Case Studies – bottom up or top down? When you don’t know the answer Eliminate wrong answers Mark items for review Guessing is better than nothing Time
42
Practice Questions 9/20/2018 1:37 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
43
An audit failure has caused the Database Engine to shut down
An audit failure has caused the Database Engine to shut down. What steps can you take to restart the Database Engine so that you can modify the server audit and resolve the issue? (Each correct answer presents a complete solution. Choose all that apply.) Restart the SQL Server Agent service. Start SQL Server by using the -f option. Start SQL Server in single-user mode. Restart the SQL Server Browser service.
44
An audit failure has caused the Database Engine to shut down
An audit failure has caused the Database Engine to shut down. What steps can you take to restart the Database Engine so that you can modify the server audit and resolve the issue? (Each correct answer presents a complete solution. Choose all that apply.) Restart the SQL Server Agent service. Start SQL Server by using the -f option. Start SQL Server in single-user mode. Restart the SQL Server Browser service.
45
Which of the following must you do before enabling Transparent Data Encryption for a database? (Each correct answer presents part of the complete solution. Choose three.) Create a master encryption key. Create a certificate. Create a database encryption key. Enable page-level compression.
46
Which of the following must you do before enabling Transparent Data Encryption for a database? (Each correct answer presents part of the complete solution. Choose three.) Create a master encryption key. Create a certificate. Create a database encryption key. Enable page-level compression.
47
Which permission must a security principal have at the instance level to be able to create SQL logins? ALTER ANY LOGIN ALTER ANY CREDENTIAL ALTER ANY ENDPOINT ALTER SETTINGS
48
Which permission must a security principal have at the instance level to be able to create SQL logins? ALTER ANY LOGIN ALTER ANY CREDENTIAL ALTER ANY ENDPOINT ALTER SETTINGS
49
You perform a full backup daily at 1 A. M
You perform a full backup daily at 1 A.M. and transaction log backups every half hour on a database. You want to perform a full backup of the database at 1 P.M. without affecting the existing restore sequence. Which of the following backup types should you perform to accomplish this goal? Full backup Transaction log backup Differential backup Copy backup
50
You perform a full backup daily at 1 A. M
You perform a full backup daily at 1 A.M. and transaction log backups every half hour on a database. You want to perform a full backup of the database at 1 P.M. without affecting the existing restore sequence. Which of the following backup types should you perform to accomplish this goal? Full backup Transaction log backup Differential backup Copy backup
51
Which counters would you use to determine whether CPU usage rates for SQL Server are within normal ranges? (Each correct answer presents a complete solution. Choose all that apply.) Processor: % Privileged Time Processor: % User Time SQL Server: Buffer Manager: Page reads/sec SQL Server: Buffer Manager: Page writes/se
52
Which counters would you use to determine whether CPU usage rates for SQL Server are within normal ranges? (Each correct answer presents a complete solution. Choose all that apply.) Processor: % Privileged Time Processor: % User Time SQL Server: Buffer Manager: Page reads/sec SQL Server: Buffer Manager: Page writes/se
53
Which of the following Windows PowerShell commands can you use to perform failover of a SQL Server failover cluster instance from one node to another? Move-ClusterGroup Move-ClusterResource Move-ClusteredSharedVolume Move-ClusterVirtualMachineRole
54
Which of the following Windows PowerShell commands can you use to perform failover of a SQL Server failover cluster instance from one node to another? Move-ClusterGroup Move-ClusterResource Move-ClusteredSharedVolume Move-ClusterVirtualMachineRole
55
You will configure an AlwaysOn Availability Group to support automatic failover from the primary replica to any available secondary replica. Which of the following availability modes should you configure for the replicas in this availability group? (Each correct answer forms part of a complete solution. Choose all that apply.) Configure the primary replica to use the asynchronous-commit availability mode. Configure the primary replica to use the synchronous-commit availability mode. Configure the secondary replica to use the asynchronous-commit availability mode. Configure the secondary replica to use the synchronous-commit availability mode
56
You will configure an AlwaysOn Availability Group to support automatic failover from the primary replica to any available secondary replica. Which of the following availability modes should you configure for the replicas in this availability group? (Each correct answer forms part of a complete solution. Choose all that apply.) Configure the primary replica to use the asynchronous-commit availability mode. Configure the primary replica to use the synchronous-commit availability mode. Configure the secondary replica to use the asynchronous-commit availability mode. Configure the secondary replica to use the synchronous-commit availability mode
57
Please evaluate this session
Tech Ready 15 9/20/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.