Module 2 - Plan and Implement Data Platform Resources Flashcards
What are the 2 types of IaaS licensing model, + explain
Pay as you go - SQL Licence included with machine cost
Bring your Own Licence - apply an existing license which must be reported by licence mobility verification in 10 days.
How are VM resources split up based on workload type
VMs Split into family types with different sizes within each family
At a high level how can HA be achieved when using IaaS
HA built into Azure Platform + additonal features specfic to SQL Server which can be used
What are Availability Zones and what do they do
Unique physical locations within a region
Each zone made up of one or more DCs with its own power, cooling, network.
Provides HA against data center failure when multiple VMs deployed to different zones
VM eco system can be spread across 3 zones in region
Increases Uptime SLA to 4-9s 99.99%
What are availabily sets and what do they do?
When should you use and when should you not use?
Similar to Availabilty zones yet do not spread workload over different data centers instead spreading across different servers and racks within a data center
Use Availability Sets to Spread AOAG workloads across different physical hardware
Use when Region doesn’t allow availability zones OR when an app cannot tolerate interzone latency
How many replicas can you implement SQL AOAG over
2 - 9
Where can you implement AOAG
Onprem or IaaS
What process does AOAG use to send TXs
TXs committed to primary then sent to sync or async replicas.
Sync ensures Tx is commtied to one or more secondaries before application can continue
What dictates the availability mode to choose with AOAG
Physical distance of servers (i.e. latency involved)
What availability mode should you use in AOAG if workload requires lowest latency and/or nodes are far apart
Async
What availability mode should you use in AOAG if workload can withstand some latency or nodes are close together
Sync
What does an AOAG provide
HA and DR as single AOAG can support both sync and async modes
What is the unit of failover in an AOAG
The availability group of Databases (i.e. not the instance)
What (and where) does a SQL FCI protect
An entire instance with HA in a single region
How could you build DR into a FCI
By combining with AOAG or log shipping as DR not part of FCI
What does SQL FCI require
Shared Storage (either in Azure Shared File storage or Using storage spaces direct on Windows Server)
Is AOAG or FCI preferred for new Azure Deployments - and why
AOAG as no complexity or shared storage
Why might you need to build a SQL FCI in Azure
For on-prem migrations requiring the use of FCI for App Support
DR is still required in Azure, what methods are there for DR
Azure Platform Options (Geo-Replicated Storage and Azure Site Recovery)
SQL Offered Solutions like AOAG and Backups
On a VM how can you control backups and where can you backup to
You have granular control and can backup to the IaaS disk or to Azure Blob Storage
What is the Azure option to use Geo-Redundant Storage or Read-Access geo-Redundant Storage
So you can ensure your backups are stpred safely across geographic landscape
What does the Azure SQL VM provider allow you to do for your backups
Allows SQL backups to be managed by the platform
Give the headlines on Azure Backup for SQL Server
Requires Agent on VM that communicates with the Azure Service.
Provides central location to monitor backups to ensure meeting any specified RPO/RTO metrics
Comprehensive enterprise backup solution providing - Longterm backup rentention, Auto management and Added data protection
However there is an additional cost
How can Availability Groups help with SQL Server on IaaS aside from HA
Can be used for DR as well as HA
Implement replicas and stretch this further with Distributed AOAGs
Ensures viable copy of data is at another location from the primary to protect against Human and Natural disasters
Give the Headlines on Azure Site Recovery when thinking of SQL on IaaS
Low cost, providing block level replication of your VM.
Offers test and verify ability for DR strategy
Best utilized for stateless environment s as opposed to Transactional VMs
Relatively high RPO/RTO
Define the Azure Market place
Central location to create Azure resource via a template
What is the preferred storage type for SQL IaaS , what are is the SLA and Limit of this
Most cases use Azure Managed Disks (except FCI)
99.999% Availability
50,000 disks per instance
What Disk types are there in IaaS
Standard HDD
Standard SSD
Premium SSD
Ultra Disk
What are the best practices for storage on SQL IaaS
Use Premium Disks, pooled for best IOPS and storage capacity
Put data files in own pool with read caching
Log file get no benefit from read caching
Add TempDB on D:\ Drive
What latency should you get when using Premium SSD and what should you do if you need better performance
When configured correctly Premium SSD will see single digit Ms latency - if need better performance utilise Ultra Disk
What does PowerShell and CLI do for deployments
Powershell allows for programatical deployment with granular control over attributes
CLI is more simplistic and can achieve the same result with less code
Give the headlines for ARM templates
Deploy full set of resources in a single declarative template
Parse in parameters at time of deployment
Deploy via Azure DevOps Pipeline or Custom Deployment in Portal
Export ARM Templates in JSON format
What is often the first type of service used when migrating from on-prem
IaaS
What does the Azure Migrate Server tool do?
Provides a central location to assess and migrate on-prem resources.
What types of servers (physical, virtual) can the Azure Migrate Server tool discover and assess.
Both physical and virtual (either VMWare or Hyper V)
What budget type info does the Azure Migrate Server tool provide
Suggests VM Sizes and estimates cost
What is the infrastructure of the Azure Migrate Server Tool?
Cloud based application that has a lightweight agent deployed on prem which reports back to the cloud tool
What is the MAP toolkit
Microsoft Assessment and Planning Toolkit
What does the Map toolkit do
Gathers inventory of SQL Servers on network (Version and Server info) and reports on it’s findings.
What is the Database Experimentation toolkit used for and what does it provide?
Used to evaluate version upgrades of SQL server by checking syntax compatibility
Provides a platform to evaluate query performance on target version