Home > Blog > Microsoft Microsoft Azure Fundamentals > Azure SQL Database: Relational Data for AZ-900

Azure SQL Database: Relational Data for AZ-900

Deep Dive Cert Sensei Team 2029-07-04 8 min read

Azure SQL Database is a fully managed Platform-as-a-Service (PaaS) relational database based on the Microsoft SQL Server engine. It eliminates infrastructure management by handling patching, backups, and updates automatically, allowing you to focus on application development while ensuring high availability, scalability, and security for your structured data.

#Azure SQL Database #AZ-900 #PaaS #Relational Database #Microsoft Azure

What exactly is Azure SQL Database?

Think of Azure SQL Database as the 'hands-off' version of SQL Server. In the old days, if you wanted a relational database, you had to buy a server, install Windows, install SQL Server, and spend your weekends managing patches and backups. Azure SQL Database changes that by offering a Platform-as-a-Service (PaaS) model. This means Microsoft handles the underlying hardware, OS updates, and database engine patching for you.

For the AZ-900 exam, the key takeaway is that this is a relational database service. It uses structured tables with rows and columns and relies on SQL (Structured Query Language) for data manipulation. Because it is PaaS, you don't have access to the underlying virtual machine; you simply interact with the database endpoint. This reduces operational overhead and allows you to deploy a production-ready database in minutes rather than days.

How does Azure SQL Database differ from SQL Managed Instance?

This is a classic AZ-900 exam trap. Both are PaaS offerings, but they serve different purposes. Azure SQL Database is ideal for new, cloud-native applications where you only need a single database or a set of databases. It is highly scalable but doesn't support every single feature of an on-premises SQL Server.

SQL Managed Instance (SQL MI), on the other hand, is designed for 'lift-and-shift' migrations. If you have an existing on-premises SQL Server and you want to move it to the cloud without rewriting your application code, SQL MI is your best bet. It provides near 100% compatibility with the latest SQL Server (Enterprise Edition) database engine and supports features like SQL Agent and cross-database queries that aren't available in the standard Azure SQL Database. If the exam question mentions 'minimal effort to migrate' or 'on-premises compatibility,' think Managed Instance.

When should you choose the Serverless compute tier?

Not every database needs to run at full throttle 24/7. If you have a workload that is intermittent—meaning it's used heavily during business hours but sits idle at night—the Serverless compute tier is a lifesaver. Instead of paying for a fixed amount of resources, Serverless automatically scales compute based on workload demand.

One of the most powerful features of the Serverless tier is 'auto-pause.' When the database isn't being used, Azure can automatically pause the compute, meaning you stop paying for compute resources entirely and only pay for the storage. As soon as a connection request hits the database, it automatically wakes up. This is a massive cost-saver for development and testing environments, and it's a specific detail Microsoft loves to test on the Fundamentals exam.

How does Azure ensure high availability for your data?

In a professional environment, downtime is a disaster. Azure SQL Database builds high availability (HA) directly into the service. You don't have to manually configure clusters or failover groups to get basic protection. By default, Azure ensures that your data is replicated and available even if a piece of hardware fails.

Beyond HA, you have robust backup options. Azure provides automated backups, which allow for Point-in-Time Restore (PITR). This means if a developer accidentally deletes a critical table at 2:00 PM, you can restore the database to exactly how it looked at 1:59 PM. Depending on your needs, you can choose between Locally Redundant Storage (LRS), Zone Redundant Storage (ZRS), or Geo-Redundant Storage (GRS) to protect your data against everything from a single disk failure to a total regional outage.

Why is understanding relational data critical for the AZ-900?

The AZ-900 exam tests your ability to choose the right tool for the right job. You'll be faced with scenarios where you must decide between a relational database (Azure SQL) and a non-relational database (Azure Cosmos DB). If the data is highly structured, requires ACID compliance, and uses complex joins, you go with Azure SQL. If the data is unstructured (like JSON documents) and needs global distribution with millisecond latency, you go with Cosmos DB.

To truly master these distinctions, you need more than just a textbook. We recommend using the Cert Sensei platform, where we provide 1,000 expert-curated Microsoft Azure Fundamentals (AZ-900) practice questions. Our detailed expert reasoning for every answer helps you understand the 'why' behind the correct choice, while our domain-level analytics show you exactly where your knowledge gaps are before you sit for the actual exam.

What are the primary scaling options for Azure SQL?

Scaling in Azure SQL is all about how you pay for and allocate resources. You'll encounter two primary models: the DTU (Database Transaction Unit) model and the vCore model. DTUs are a bundled measure of compute, storage, and I/O. It's a simplified way to scale, but it can be a 'black box' for advanced users.

The vCore model is more transparent and flexible. It allows you to independently scale compute (CPU and RAM) and storage. This is generally preferred for larger enterprises because it provides more control over performance and allows for the use of the Azure Hybrid Benefit, which lets you use existing on-premises SQL Server licenses to save money in the cloud. Whether you're scaling up (increasing the size of a single resource) or scaling out (adding more replicas), the process is handled with minimal downtime.

❓ Frequently Asked Questions

Is Azure SQL Database the same as running SQL Server on an Azure VM?

No. SQL Server on a VM is Infrastructure-as-a-Service (IaaS), meaning you manage the OS, patching, and backups. Azure SQL Database is Platform-as-a-Service (PaaS), where Microsoft manages the infrastructure, leaving you to manage only the data and the application.


When should I use Azure Cosmos DB instead of Azure SQL Database?

Use Cosmos DB for non-relational (NoSQL) data, such as JSON documents or key-value pairs, especially when you need massive global scale and flexible schemas. Use Azure SQL for structured data that requires strict consistency and relational queries.


Does the serverless tier support all Azure SQL features?

Most features are supported, but serverless is specifically optimized for intermittent workloads. It's not designed for high-performance, constant-load applications where the 'cold start' latency of waking up from a paused state would be an issue.

More from Microsoft Microsoft Azure Fundamentals

🧠

Test Your Knowledge

Ready to practice Microsoft Azure Fundamentals? Put what you've learned to the test.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium
📖 Browse the Glossary

Join thousands of certification students

Sign Up Free