↑ ↓ to move, Enter to open, Esc to close

    DP-900Azure Data Fundamentals

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    Exams / DP-900 / D2 Identify considerations for relational data on Azure

    D2.2

    Describe relational Azure data services

    • 8 min read
    • 6 sections
    • 45 questions
    • 20–25% of the exam
    • Describe the Azure SQL family of products, including Azure SQL Database, Azure SQL Managed Instance, and SQL Server on Azure Virtual Machines
    • Identify Azure database services for open-source database systems

    The Azure SQL family: IaaS vs. PaaS

    Infrastructure as a service — you manage the VM/OSPlatform as a service — Microsoft manages the engine/OS/hardwareSQL Server on Azure VirtualMachines100% SQL Server compatibility,OS-level accessAzure SQL Databasedatabase-scoped, evergreenSQLAzure SQL ManagedInstanceinstance-scoped, near-100%SQL Server compatibilityOn-premises SQL ServerNew/cloud-native applicationlift-and-shift, minimal/nochangesnear-100% compatiblemigration targetcloud-native app, OLTP
    SQL Server on Azure VMs Azure SQL Managed Instance Azure SQL Database
    Service model IaaS PaaS PaaS
    What you manage VM, OS, SQL Server instance Databases, logins, data Databases, logins, data
    What Azure manages Underlying hardware/virtualization only Patching, backups, OS, HA, instance Patching, backups, OS, HA, server
    Scope Full OS + full SQL Server instance Instance (many databases) Single database (or elastic pool)
    SQL Server compatibility 100% (it is SQL Server) Near-100% (built on the latest Database Engine) Narrower — database-scoped T-SQL surface
    SQL Server Agent Yes Yes (SQL Agent jobs) No
    Cross-database queries/transactions Yes Yes, natively, within the instance No (elastic query/transaction workaround only)
    Database Mail / Service Broker Yes Yes No
    Best for Lift-and-shift, minimal/no changes Large-scale migration wanting near-full compatibility with low maintenance New cloud-native apps, OLTP, SaaS, lowest maintenance
    • "Minimize maintenance effort" in a scenario almost always rules out SQL Server on Azure VMs (IaaS) and points to Azure SQL Database or Managed Instance.
    • "Lift-and-shift with minimal/no changes" is the SQL-Server-on-Azure-VMs keyword; "near-100% compatibility as a migration target" with reduced maintenance is the Managed Instance keyword.
    • SQL Server Agent, Database Mail and Service Broker are available on SQL Server (on-prem or VM) and Managed Instance, but not on Azure SQL Database single databases or elastic pools — a recurring way the exam separates Managed Instance from Azure SQL Database.
    • Cross-database (three-part name) queries and transactions are native only within a single Managed Instance; Azure SQL Database needs elastic query/elastic transactions to reach across databases.

    Azure SQL Database: elastic pools and serverless

    Elastic pool (shared resources, one server)DB 1DB 2DB 3Fixed pool budget(DTU or vCore)Single databaseserverless compute tierAutoscale compute withinmin/max rangeauto-pause when idle → only storagebilled
    Deployment option Compute model Best for
    Single database (provisioned) Fixed compute size you choose Predictable, steady usage
    Single database (serverless) Autoscales within a configured range; can auto-pause Intermittent, unpredictable usage — built-in autoscaling
    Elastic pool Shared pool of resources across many databases on one server Many databases with varying/unpredictable demand, cost optimization (common in multi-tenant SaaS)
    • Serverless is available only for Azure SQL Database single databases (General Purpose or Hyperscale tiers) — never for elastic pools, Managed Instance, or SQL Server on Azure VMs. "Built-in autoscaling" in a PaaS relational scenario = serverless Azure SQL Database.
    • Elastic pools exist for many databases, varying load, shared budget — don't confuse this with serverless (one database, auto-pause).
    • Auto-pause is a serverless-tier feature, not a universal PaaS trait: not every relational or non-relational PaaS database in Azure can be paused.

    Security: firewall, authentication, encryption

    Client (internet or VNet)Server-level IP firewall(blocks everything by default)Optional database-levelfirewall rulePrivate Link / privateendpointAuthentication:SQL login or Microsoft Entra IDMFA enforcedDatabaseEncrypted at rest(data + log files)allowed IPprivate, no internetMicrosoft Entra + ConditionalAccessTDE
    Layer Mechanism Protects against
    Network Server-level IP firewall (default, blocks all until a rule is added), optional database-level IP firewall Unwanted network access by IP
    Private connectivity Azure Private Link / private endpoint Exposing the database to the public internet at all
    Identity SQL authentication, or Microsoft Entra (Azure AD) authentication Unauthorized sign-in; Entra adds Conditional Access, MFA, groups
    Data Transparent Data Encryption (TDE) Reading database/log files as plaintext if storage is accessed directly
    • A brand-new logical server is protected by a server-level firewall that blocks everything by default — you must add a rule before anyone can connect.
    • Multi-factor authentication for Azure SQL sign-in requires Microsoft Entra (Azure AD) authentication — SQL authentication alone has no MFA.
    • TDE encrypts the whole database and transaction log at rest; it does not encrypt data in transit and is not column-level (that's Always Encrypted).
    • To let a VM reach Azure SQL privately without exposing it to the internet: Azure Private Link (a private endpoint with a private IP in the VNet), not Application Gateway/Traffic Manager/DNS.
    • Only the logical server's server admin login is guaranteed access to every database on that server, including new ones — not the Azure AD account that created the database, and there is no sa account in Azure SQL Database.
    • Querying a table from the internet needs all three: an allowed firewall IP, a database user, and SELECT permission on the table. Resource-group RBAC roles (Reader/Contributor) are management-plane only and grant no data access.

    Availability, backups and read scale-out

    • Azure SQL Database and Managed Instance include automated, Microsoft-managed backups and built-in high availability (replication, automatic failover) as part of the PaaS service — no extra infrastructure to configure.
    • Read scale-out / read-only replicas offload read-only workloads (reporting, analytics) onto a secondary replica so they don't compete with the primary read-write transactional workload. This is about workload isolation, not disaster recovery or RPO.
    • Microsoft Defender for Azure SQL Databases can protect Azure SQL single databases and elastic pools (and Managed Instance), discovering vulnerabilities and flagging threats.

    Tools: SSMS, Azure Data Studio, SSDT, sqlcmd

    Tool Platform Best for
    SSMS (SQL Server Management Studio) Windows only Full graphical administration: access, configure, manage SQL Server/Azure SQL; security management, performance tuning advisors
    Azure Data Studio Windows, macOS, Linux Lightweight, cross-platform querying with IntelliSense; SQL notebooks (Markdown + runnable SQL cells); save results as text/JSON/Excel; backup/restore support
    SSDT (SQL Server Data Tools) Visual Studio (Windows) Project-based, offline database design/development; visual table designer; extends to SSAS, SSIS, SSRS projects
    sqlcmd Command line, cross-platform Ad hoc/scripted Transact-SQL execution from a terminal
    Need: graphical admin,security, perf tuningSSMSNeed: cross-platform query +IntelliSense + notebooksAzure Data StudioNeed: project-based offlinedesign, SSAS/SSIS/SSRSSSDTNeed: run T-SQL from ascript/terminalsqlcmd
    • SQL notebooks (Markdown documentation cells + runnable SQL code cells with inline results) are an Azure Data Studio feature only — SSMS has no notebook capability.
    • Cross-platform requirement (Windows and Linux/macOS) + code assistance (IntelliSense) → Azure Data Studio, since SSMS is Windows-only and sqlcmd has no IntelliSense.
    • "Project-based, offline" database design/modeling → SSDT, not SSMS or Azure Data Studio (both connect live to a server).
    • SSMS can also query an Azure Synapse Analytics dedicated SQL pool; Azure Data Studio can query SQL Server, Azure SQL, PostgreSQL and MySQL.

    Open-source database services on Azure

    Engine IaaS option PaaS option Common client tools
    PostgreSQL PostgreSQL on an Azure VM Azure Database for PostgreSQL pgAdmin
    MySQL MySQL on an Azure VM Azure Database for MySQL (Flexible Server) MySQL Workbench
    MariaDB MariaDB on an Azure VM Azure Database for MariaDB MySQL-protocol clients
    • Same IaaS/PaaS split as the SQL Server family: VM-hosted = you patch the OS/engine; the managed "Azure Database for ..." service = Microsoft patches, backs up, and manages HA.
    • Azure Database for MySQL Flexible Server enforces TLS by default, but encrypted-connection enforcement can be disabled — so "always requires SSL" is false.
    • Backup retention (and so point-in-time restore) for Azure Database for MariaDB/MySQL tops out at 35 days, never 365 — a common wrong-duration distractor.
    • Azure Database for MariaDB is on Microsoft's retirement path (migration to Azure Database for MySQL is recommended); treat MariaDB-specific DP-900 facts as historically accurate rather than a current deployment recommendation.

    Exam traps

    • "PaaS offering, multiple databases per instance, SQL Server Agent": Azure SQL Managed Instance, never Azure SQL Database (no SQL Server Agent there).
    • "Database Mail" / "Service Broker" requirement: rules out Azure SQL Database single database/elastic pool; needs SQL Server (on-prem/VM) or Managed Instance.
    • "Built-in autoscaling" for a relational PaaS database: the serverless compute tier of Azure SQL Database single databases, nothing else.
    • Don't confuse an elastic pool (many databases, shared budget, varying load) with serverless (one database, auto-pause) — they solve different cost problems.
    • A connectivity failure limited to one Azure SQL database after an IP change is almost always the SQL firewall, not RBAC, DHCP, or DNS.
    • Azure SQL Edge (optimized for IoT/streaming time-series) was retired on September 30, 2025 — know it as the historical DP-900 answer for IoT scenarios, but it is no longer an available service.
    • SQL Server 2019 Big Data Clusters support ended February 28, 2025 — older questions about querying a "SQL Server big data cluster" from Azure Data Studio describe a retired capability.
    • Resource-group RBAC roles (Reader/Contributor) never grant data-plane access to query rows inside a database — that always needs a database user plus table-level permission (and a firewall rule, if coming from outside Azure).

    Docs

    The rest of this chapter is part of the DP-900 premium course

    Unlock every chapter, all 323 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters