DP-900 study notes · 20–25% of the exam
Identify considerations for relational data on Azure
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Relational concepts and SQL, and the Azure services that host relational databases.
Relational concepts
- Tables, rows and columns: a primary key identifies each row, and a foreign key links to another table.
- Normalisation: split data into related tables so each fact is stored once, which reduces duplication and update anomalies.
- SQL:
- DML works with data: SELECT, INSERT, UPDATE and DELETE.
- DDL defines objects: CREATE, ALTER and DROP.
- DCL controls permissions: GRANT and REVOKE.
- JOIN combines related tables.
- Database objects:
- Views are saved queries that act like virtual tables.
- Indexes speed up lookups.
- Stored procedures are saved, parameterised SQL.
Azure relational services
- Azure SQL Database is PaaS and fully managed. It's best for new cloud apps.
- Azure SQL Managed Instance is PaaS with near-100% SQL Server compatibility, including SQL Agent, cross-database queries and linked servers. It's best for lift-and-shift.
- SQL Server on Azure VMs is IaaS, giving full OS and SQL Server control.
- Azure Database for PostgreSQL and Azure Database for MySQL are managed open-source engines.
Exam tips
- If a scenario needs SQL Agent or instance-level features without managing the OS, the answer is Managed Instance.
- If it needs full OS control or third-party software on the server, the answer is SQL Server on VMs.