Module 2db - Exploring Azure Core Products - Database Solutions - SQL Server Flashcards

1
Q

What is Azure SQL Database?

A

A relational database based on the latest stable version of SQL Server

  • PaaS offering
  • No infrastructure management - instances are fully managed (upgrades, patches, backups, monitoring)
  • Support for programming language
  • SLA: 99.99 (quad 9s)
  • Built-in High Availability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What’s the biggest advantage with Azure SQL Database w.r.t. new features?

A

Microsoft deploys new features on Azure SQL Database BEFORE deploying to SQL Server…so you get the added advantage of early access without the overhead of updates, upgrades or testing (i.e. it’s already been tested)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Azure SQL Server handles relational data as well as non-relational data like graphs, JSON, spatial and XML (T/F)?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Once you create an Azure SQL Database, you should be able to log in immediately and start developing (T/F)?

A

False. The IP address you are logging into the DB Server from needs to be whitelisted in Firewall Settings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where do you set Client IP Address for Azure SQL Database Logins?

A

Firewall Settings > click Add client IP .

Your IP address should appear in the details page, labeled Client IP Address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Azure SQL Managed Instance?

A

A scalable cloud data service that provides comprehensive SQL Server Database compatibility with ALL benefits of a fully managed PaaS…

Think of it like:

  • Azure SQL Server == IaaS version of SQL Server
  • Azure SQL Managed Instance == PaaS version of SQL Server

…though they are technically both PaaS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What features does Azure SQL Managed Instance have?

A

Generally all the same features as Azure SQL Database:

  • It’s already a fully managed environment (no hardware purchases or management
  • Quick provisioning and scaling
  • Automated upgrades and patches
  • Built-in High Availability, 99.99% SLA (Quad 9s)
  • Data protection with configurable backup retention period

Note that SQL Managed Instance has SQL Profiler, while SQL Database does NOT…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Auto-backups for Azure SQL Managed Instance can recover and restore as far back as you want to configure it (T/F)?

A

True. The Backup Retention Period is purely configurable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Azure SQL Managed Instance has the exact same feature availability as Azure SQL Database (T/F)?

A

FALSE!

There are a TON of differences…Managed Instance has a lot of features DB doesn’t. Some of which are:

  • BACKUP command
  • Change Data Capture
  • Collation can be set whereas the default in SQL Database is SQL_Latin1_General_CP1_CI_AS
  • CLR access
  • Cross-DB Transactions
  • DbMail
  • Distributed partition views
  • Linked Servers between SQL Server and SQL Database
  • Query notifications
  • Resource Governor
  • Restore Statements
  • Service Broker
  • SQL Server Agent
  • SQL Server Auditing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some CAPABILITIES are available for Azure SQL Database that are NOT for Azure SQL Managed Instance?

A
  • Active Geo-Replication
  • Auto-Scale but only in serverless mode
  • Azure Resource Health
  • Hyperscale Architecture
  • Pause/Resume
  • SQL Data Sync
  • Query Performance Insights (QPI)
  • VNet Service Endpoint

Key point being…Managed Instance has LESS Features than SQL Database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Azure SQL Database and Azure SQL Managed Instance have virtually all the same available Tooling (T/F)?

A

False. Azure SQL Database does NOT have SQL Server Profile available, while Managed Instance does.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What options do you have for migrating On-Prem SQL Server instances to Azure SQL Database?

A
  • Microsoft Data Migration Assistant (you did this locally, it created a Standard Tier DB, killed your spending limit for the month)
  • Azure Database Migration Service
  • The classic life-n-shift; take a backup, restore in the cloud
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Microsoft Data Migration Assistant?

A

An On-Prem solution for migrating On-Prem SQL Server instances to Azure SQL DB

  • Download it to your On-Prem database machine to migrate data
  • Generates assessment reports for recommendations to help guide your migration
  • Manually perform requirements remediation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Azure Database Migration Service?

A

A Cloud solution for migrating On-Prem SQL Server instances to Azure SQL DB

  • The service handles requirements remediation for you
  • You need to update the connection string in your apps to point to your new Azure SQL Database!
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

General Knowledge: What tier is used when Microsoft Data Migration Assistant creates and migrates to your new Cloud SQL Database?

A

It creates a new Database using the STANDARD tier…

Note: I didn’t know this when playing with the Assistant app. It blew up my monthly budget. Go in and switch this to BASIC Tier to keep your costs down.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly