Working with relational data on Azure (25% - 30%) Flashcards

1
Q

What is PaaS?

A

PaaS (Platform as a Service) is a cloud model where the service provider handles infrastructure for you, letting you focus on developing your application.

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

What are the three main Azure SQL offerings?

A

Azure SQL Managed Instance, Azure SQL Database and SQL Server for Azure Virtual Machines.

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

What is SaaS?

A

SaaS (Software as a Service) is a cloud model where the service provider provides pay-as-you-go software solutions, allowing you to focus on creating and managing your data/content.

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

What is IaaS?

A

IaaS (Infrastructure as a Service) is a cloud model that lets you provision compute resources as you need them.

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

What is Azure Synapse Analytics?

A

Azure Synapse Analytics is an enterprise data warehouse and big data analytics service.

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

What are the three open-source relational database engines Azure offers as a service?

A

PostgreSQL, MySQL and MariaDB.

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

What is a table?

A

A logical grouping of rows and columns.

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

What is a view?

A

A virtual (in-memory) table that contains the result of a query.

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

What is a materialised view?

A

A view where the result of a query is stored in an actual (on-disk) table.

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

What is an index?

A

A data structure that improves database read speed at the cost of storage.

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

What is a constraint?

A

A rule applied to writes that can preserve data integrity.

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

What is a trigger?

A

A stored procedure that runs when a specific database event occurs.

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

What is a primary key?

A

A primary key (PK) indicates the column (or combination of columns) that uniquely identify each row. Every table should have a primary key.

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

What is a foreign key?

A

A foreign key (FK) references, or links to, the primary key of another table and is used to maintain the relationships between tables.

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

What is a clustered index?

A

An clustered index physically reorganises a table by an index key for further improved read performance.

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

What is a RDBMS?

A

Relational database management system.

17
Q

What is a stored procedure?

A

A block of code that runs inside a database.

18
Q

When would you use Azure SQL Database Managed Instance?

A

When you want to lift-and-shift an on-premise SQL server to the cloud without the overhead of managing SQL server on a virtual machine.

19
Q

When would you use Azure SQL Database?

A

When you want to minimise the overhead of managing SQL servers and/or you don’t need all the features of SQL Server.

20
Q

When would you use SQL Server on Azure Virtual Machines?

A

When you want to lift-and-shift an on-premise SQL server to the cloud and you already have the IT staff to manage the SQL server or/and you need complete control of the server and its underlying systems.

21
Q

What is DML?

A

Data Manipulation Language (DML) is one of five logical groups of SQL statements. It is used to manipulate the rows in a relational table.

22
Q

What are the four major DML statements?

A

SELECT, INSERT, UPDATE and DELETE.

23
Q

What is DDL?

A

Data Definition Language (DDL) is one of five logical groups of SQL statements. It is used to create, modify and remove tables and other objects (views, stored procedures, etc) in a database.

24
Q

What are the four major DDL statements?

A

CREATE, DROP, ALTER and RENAME.