What are the types of Azure SQL Database offerings?
Azure SQL Database Offerings:
When should I use Azure SQL Managed Instance?
Azure SQL Managed Instance is an ideal choice when you need a fully managed SQL Server instance in the cloud that supports the following scenarios:
When should you use Azure SQL Database elastic pools?
Azure SQL Database elastic pools are ideal when you have multiple databases that:
When is it most appropriate to use Azure SQL Virtual Machines?
Azure SQL Virtual Machines are most appropriate when you need full control over the operating system, require customization of the SQL Server instance, or need to use features that are not available in Azure SQL Database. They are ideal for scenarios where you need to migrate existing SQL Server workloads with minimal changes, require SQL Server Reporting Services (SSRS), or need to use SQL Server features like SQL Server Agent or Service Broker.
Who is responsible for patching the operating system when using SQL Server on Azure Virtual Machines?
You are responsible for patching.
When using SQL Server on Azure Virtual Machines, the customer is responsible for patching the operating system. Azure provides tools and services to assist with SQL Server updates and maintenance, but the management of the underlying virtual machine and its operating system, including applying patches and updates, is the customer’s responsibility.
In contrast, with Azure SQL Database, which is a fully managed Platform as a Service (PaaS) offering, Microsoft handles both operating system and database patching, reducing the customer’s maintenance responsibilities.
Who is responsible for patching the operating system and database engine in Azure SQL Database?
Microsoft is responsible for patching the operating system, database engine, and all underlying infrastructure in Azure SQL Database. This is part of the fully managed platform-as-a-service (PaaS) model, which ensures regular updates, patches, and backups for availability, security, and compliance.
When using Azure SQL on virtual machines, which type of VM should you consider for optimal performance?
For optimal performance when using Azure SQL on virtual machines, consider using a memory-optimized or storage optimized virtual machine.
How can you efficiently back up a virtual machine running SQL Server in Azure to ensure both VM-level and application-consistent backups?
Use Automated Backup, Automated Backup provides an automatic backup service for SQL Server Standard and Enterprise editions running on a Windows VM in Azure. This service is provided by the SQL Server IaaS Agent Extension, which is automatically installed on SQL Server Windows virtual machine images in the Azure portal.
All databases are backed up to an Azure storage account that you configure. Backups can be encrypted and the metadata is retained in msdb for up to 90 days, though the service doesn’t automatically delete backups past their retention date. You can use a lifecycle management policy for your storage account to balance backup retention with cost management according to your business needs.
What is the network latency for Azure SQL Database when data remains within the same region, compared to accessing a secondary database?
The network latency for Azure SQL Database when data remains within the same region is typically less than 2 milliseconds. However, accessing a secondary database, especially if it involves geo-replication or cross-region access, may introduce additional latency beyond this typical range.
How is high availability ensured in the general-purpose tier for Azure SQL Database and Azure SQL Managed Instance?
General-purpose tier for Azure SQL Database high availability is created by using a separation of compute and storage. Data is stioored in Azur Storage and replicated three time with LRS. If the compute instance fails, ther are available standby instances ready to take its place.
General-purpose tier for Azure SQL Managed Instance high availability is created by using a separation of compute and storage. Data is stioored in Azur Storage and replicated three time with LRS. If the compute instance fails, ther are available standby instances ready to take its place.
Prenium tier for Azure SQL Database high availability is created by using seperate instances of the database thet are replicated to and in the event of the primary compute node failing, one of the replicas will instatly become the primary.
How is high availability achieved in the business-critical tier for Azure SQL Database and Azure SQL Managed Instance?
High availability in the business-critical tier for Azure SQL Database and Azure SQL Managed Instance is achieved through a technology called Always On Availability Groups. In this setup, data is stored on the local disk of the primary node and is synchronously replicated to multiple secondary nodes. This ensures that any transaction is committed only after it has been successfully replicated to at least one secondary node, providing high availability and data protection.
Where is the data stored when using the Business Critical service tier for Azure SQL Database and Azure SQL Managed Instance?
In the Business Critical service tier for Azure SQL Database and Azure SQL Managed Instance, the data is stored in the local SSD storage of the nodes. There is the use of always on, where there are other nodes that are comitted to before data is marked are wrote.
Where is data stored when using the general-purpose tier for Azure SQL Database and Azure SQL Managed Instance?
Answer: Azure Blob Storage.
What does “always-on” mean in the context of Azure SQL Database and Azure SQL Managed Instance?
“Always-on” in the context of Azure SQL Database and Azure SQL Managed Instance refers to the high availability feature that ensures continuous data availability and minimal downtime. It involves replicating data between primary and secondary replicas. This replication can be configured to be either synchronous, ensuring data consistency by waiting for confirmation from secondary replicas before committing transactions, or asynchronous, allowing transactions to be committed without waiting for confirmation, which can improve performance but may risk data loss in case of a failure.
What are the service tiers in Azure SQL Database?
General Purpose
Business Critical
Hyperscale
When should you choose the General-Purpose Tier in Azure SQL Database?
How is high availability achieved for the General Purpose tier in Azure SQL Database?
High availability in the General Purpose tier of Azure SQL Database is achieved through the use of a separation of compute and storage layers. The compute layer is stateless and can be quickly replaced in case of failure, while the storage layer uses Azure Premium Storage with built-in data redundancy. Automated backups and geo-replication further enhance availability by ensuring data is protected and can be restored or accessed from another region if needed.
Which types of workloads are best suited for the General-Purpose Tier in Azure SQL Database?
Which types of workloads are best suited for the General-Purpose Tier in Azure SQL Managed Instance?
Which workloads are suitable for the General-Purpose Tier for an Azure SQL Instance?
What types of applications are best suited for the General-Purpose Tier in Azure SQL Database?
What purchasing models are available for Azure SQL Database and Azure SQL Managed Instance?
Azure SQL Database and Azure SQL Managed Instance offer the following purchasing models:
Note: The DTU model is not available for Azure SQL Managed Instance.
What is the Microsoft recommended purchasing model for both Azure SQL Database and Azure SQL Managed Instance?
The recommended purchasing model for both Azure SQL Database and Azure SQL Managed Instance is the vCore-based model. This model provides flexibility by allowing you to independently choose and scale compute and storage resources according to your needs.
What type of SSD is used for storage in the General-Purpose Tier of Azure SQL Database?
Answer: Azure Premium SSD is used for storage in the General-Purpose Tier of Azure SQL Database.