Courseiva

CCNA Plan and configure a high availability and disaster recovery environment Questions

75 of 161 questions · Page 1/3 · Plan and configure a high availability and disaster recovery environment · Answers revealed

1
MCQhard

A manufacturing company uses Azure SQL Database Hyperscale tier for its IoT telemetry data. The database is in West Europe and must be readable in East US for reporting with a maximum lag of 10 seconds. You configure a failover group with East US as the secondary region. After setup, reporting queries in East US show data that is 5 minutes old. What is the most likely cause?

A.The failover group has 'Read/Write failover policy' set to 'Automatic' causing the lag
B.The secondary database is not readable; it is only for failover
C.The secondary database is configured with 'Geo' secondary type; you need to set it to 'Readable' to minimize lag
D.The replication mode is set to 'Async' and should be changed to 'Sync'
AnswerC

Setting the secondary type to 'Readable' ensures the secondary is maintained with lower replication lag.

Why this answer

The most likely cause is that the secondary database is configured with the default 'Geo' secondary type, which is not readable and uses asynchronous replication with potentially high lag. To minimize lag and make the secondary readable for reporting, you must set the secondary type to 'Readable' (also called 'Named' secondary in some contexts). This ensures the secondary is kept in near-synchronous sync, though still asynchronous.

Option A is incorrect because the failover policy does not affect replication lag. Option B is incorrect because the secondary can be made readable by changing the secondary type. Option D is incorrect because Hyperscale does not support synchronous replication, and changing to sync would not address the lag issue.

2
Multi-Selecthard

Your company uses Azure SQL Database with active geo-replication for disaster recovery. The primary database is in the West Europe region. You need to perform a planned failover to the secondary in North Europe for a maintenance window. Which THREE actions should you take? (Choose three.)

Select 3 answers
A.Initiate a forced failover to ensure the fastest switchover.
B.Manually seed the new secondary database after failover.
C.After failover, verify that the new secondary (in West Europe) is configured as a readable secondary.
D.Update the application connection strings to point to the new primary in North Europe.
E.Initiate a planned failover (no data loss) from the Azure portal or PowerShell.
AnswersC, D, E

To restore DR capabilities, the former primary should be re-configured as a secondary.

Why this answer

The correct actions are C, D, and E. For a planned failover during a maintenance window, you should initiate a planned failover (no data loss) from the Azure portal or PowerShell (E) to ensure all transactions are synchronized before switching. After failover, verify that the new secondary (in West Europe) is configured as a readable secondary (C) to maintain disaster recovery capabilities.

Additionally, update the application connection strings to point to the new primary in North Europe (D). Option A is incorrect because a forced failover could cause data loss and is intended for unplanned outages. Option B is incorrect because seeding of the new secondary happens automatically via geo-replication.

3
Multi-Selecteasy

Which TWO disaster recovery options are available for Azure SQL Database? (Choose two.)

Select 2 answers
A.Database mirroring.
B.Auto-failover groups.
C.Always On availability groups.
D.Log shipping.
E.Active geo-replication.
AnswersB, E

Failover groups provide automatic failover with multiple databases.

Why this answer

Active geo-replication and auto-failover groups are the two primary disaster recovery options for Azure SQL Database. Active geo-replication provides asynchronous replication of a database to a secondary region, while auto-failover groups extend this by allowing failover of multiple databases and providing read-only endpoints. Options A (database mirroring) and D (log shipping) are not supported for Azure SQL Database.

Option C (Always On availability groups) is a feature for SQL Server on Azure VMs, not for Azure SQL Database.

4
MCQeasy

Your company wants to ensure business continuity for an Azure SQL Database that is used by a critical application. The database must remain available in the event of a single availability zone failure within a region. Which configuration should you use?

A.Configure zone-redundant availability for the database
B.Use active geo-replication to a different region
C.Deploy the database with locally redundant storage
D.Configure read scale-out with a secondary replica
AnswerA

Zone redundancy replicates across zones within a region.

Why this answer

Azure SQL Database zone-redundant availability replicates the database across multiple availability zones within the same region, providing high availability in the event of a single zone failure. Option B (active geo-replication) replicates to a different region, which protects against regional outages but not specifically a zone failure. Option C (locally redundant storage) stores data within a single data center, offering no zone-level protection.

Option D (read scale-out) provides read-only replicas but does not ensure write availability during a zone failure.

5
MCQhard

You have a SQL Server on Azure VM running a mission-critical database. The VM is configured with Azure Site Recovery (ASR) for disaster recovery. During a disaster recovery drill, you notice that the recovered database is not consistent. What is the most likely cause?

A.The secondary region is not in the same geo as the primary.
B.Application-consistent snapshots are not enabled in the ASR replication policy.
C.The backup retention period is too short.
D.The database is not part of an Always On availability group.
AnswerB

Without application-consistent snapshots, database consistency may be lost.

Why this answer

Azure Site Recovery (ASR) replicates at the VM level, and without application-consistent snapshots enabled in the replication policy, the recovered database may not be transactionally consistent. Option A is incorrect because ASR supports cross-region replication to a secondary region that may be in a different geo. Option C is incorrect because backup retention period does not affect ASR replication consistency.

Option D is incorrect because ASR does not require the database to be part of an Always On availability group.

6
MCQeasy

You need to ensure that an Azure SQL Managed Instance remains available in the event of a single availability zone failure in a region that supports availability zones. What should you configure?

A.Configure a failover group to another region.
B.Deploy the instance in General Purpose tier with zone redundancy.
C.Use a Hyperscale tier instance with zone redundancy.
D.Deploy the instance in Business Critical tier with zone-redundant configuration.
AnswerD

Business Critical supports zone redundancy for Managed Instance.

Why this answer

For zone redundancy in Azure SQL Managed Instance, the Business Critical tier is required. Option D is correct because it specifies deploying in Business Critical tier with zone-redundant configuration, which provides resilience within a single region across availability zones. Option A is incorrect because a failover group to another region addresses regional disasters, not zonal failures.

Option B is incorrect because the General Purpose tier does not support zone redundancy. Option C is incorrect because Hyperscale is a service tier for Azure SQL Database, not for Managed Instance.

7
MCQmedium

You are a database administrator for a healthcare company that uses Azure SQL Database for its electronic health records (EHR) system. The database is in the West Europe region using the General Purpose service tier. The company is expanding to the United States and wants to set up disaster recovery with the secondary in East US. The requirements are: RPO of 5 minutes and RTO of 1 hour. The application should automatically failover without manual intervention. Additionally, you must ensure that the secondary database is not used for read traffic to avoid any performance impact on the primary. What should you configure?

A.Configure active geo-replication to a secondary database in East US and set up a custom monitoring script to trigger failover.
B.Create a failover group with a readable secondary in East US and enable auto-failover.
C.Create a failover group with a non-readable secondary in East US and enable auto-failover.
D.Deploy a zone-redundant General Purpose database in West Europe and use geo-restore to East US.
AnswerC

Auto-failover group meets the RPO/RTO, and non-readable secondary prevents read traffic.

Why this answer

A failover group with auto-failover and a non-readable secondary meets all requirements: RPO of 5 minutes can be achieved with async replication, RTO of 1 hour with automatic failover, and no read traffic. Option A is wrong because active geo-replication alone does not provide automatic failover. Option B is wrong because a readable secondary would be used for read traffic.

Option D is wrong because zone-redundancy doesn't protect regionally.

8
Multi-Selecthard

Which THREE of the following are prerequisites for configuring an Always On Availability Group on Azure VMs with automatic failover? (Choose Three.)

Select 3 answers
A.All VMs must be in the same availability set or availability zones.
B.A domain controller in the same virtual network.
C.All VMs must use SQL Server authentication.
D.All VMs must be in the same Azure region.
E.An internal load balancer for the availability group listener.
AnswersA, B, E

Required for high availability.

Why this answer

Options A, B, and E are correct. A domain controller (B) is needed for Windows Server Failover Clustering. All VMs must be in the same availability set or availability zones (A) to ensure high availability.

An internal load balancer (E) is required for the availability group listener to support automatic failover. Option C is incorrect because SQL Server authentication is not a prerequisite; Windows Authentication is used for cluster communication. Option D is incorrect because VMs can be in different regions, but automatic failover across regions is not supported without additional configuration (e.g., Azure Site Recovery).

9
MCQeasy

You are planning a disaster recovery strategy for an Azure SQL Database that is used by a non-critical application. The database is in the Standard tier. You need to minimize cost while ensuring the database can be restored to a different region within 12 hours of a regional disaster. What should you use?

A.Enable cross-region replication on the database.
B.Use geo-restore from geo-redundant backups.
C.Configure active geo-replication to a secondary region.
D.Create a failover group with the secondary in a paired region.
AnswerB

Geo-restore is available for Standard tier and meets the 12-hour requirement.

Why this answer

Geo-redundant backup storage (RA-GRS) is automatically enabled for databases in the Standard tier, allowing geo-restore to any region within 12 hours. Option A is wrong because active geo-replication is not available in Standard tier. Option C is wrong because failover groups require Premium or Business Critical.

Option D is wrong because cross-region replication is a setting for backup storage, not a separate feature.

10
MCQmedium

You have an Azure SQL Database in the General Purpose tier. You need to implement a disaster recovery solution that provides an RPO of 5 seconds and an RTO of 1 hour. The solution must use Azure PaaS features only. What should you do?

A.Create a failover group between two servers in different regions.
B.Configure active geo-replication to a secondary server in a different region.
C.Use geo-restore to recover the database from the latest geo-replicated backup.
D.Configure copy-only backups to a secondary region.
AnswerB

Active geo-replication provides low RPO (seconds) and RTO within 1 hour.

Why this answer

Active geo-replication provides asynchronous replication with a typical RPO of 5 seconds, and manual failover can be completed within the 1‑hour RTO window. Failover groups (Option A) are fully supported for Azure SQL Database (not limited to managed instances) and also meet the RPO/RTO targets, but they are designed to manage multiple databases as a group and introduce additional overhead for a single‑database scenario. Geo‑restore (Option C) has an RPO of up to one hour and a much longer RTO.

Copy‑only backups (Option D) are not a disaster recovery solution.

11
MCQhard

You are troubleshooting a failover group for Azure SQL Database. The automatic failover is not triggering as expected during a regional outage. You verify that the grace period for data loss is set to 3600 seconds. The outage lasts 30 minutes. What is the most likely reason the automatic failover did not occur?

A.The failover policy is set to manual.
B.The outage duration is less than the grace period for data loss.
C.The grace period for data loss is too short.
D.The secondary region is also experiencing an outage.
AnswerB

Automatic failover only occurs after the grace period expires.

Why this answer

The grace period for data loss is set to 3600 seconds (1 hour), and the outage lasted only 30 minutes. Automatic failover for Azure SQL Database failover groups will not occur until the grace period expires, as the system waits for the outage to resolve within that time to avoid unnecessary failover and potential data loss. Option A is incorrect because the failover policy is not specified as manual; if it were manual, the automatic failover would not occur regardless of the grace period.

Option C is incorrect because the grace period is actually longer than the outage duration, so it is not too short. Option D is incorrect because there is no indication that the secondary region is also experiencing an outage.

12
Multi-Selecteasy

You have an Azure SQL Database in the Premium tier configured with a failover group to a secondary region. The secondary region is not readable. You need to ensure that the secondary database is readable for reporting purposes without compromising the failover group's DR capabilities. Which TWO actions should you take? (Select two.)

Select 2 answers
A.Configure active geo-replication in addition to the failover group.
B.Enable read scale-out on the primary database.
C.Add a zone-redundant replica to the secondary region.
D.Change the secondary database's service tier to Business Critical.
E.Set the failover group's secondary type to readable.
AnswersA, E

Correct: Active geo-replication creates a separate readable secondary database that does not impact the existing failover group's DR capabilities, providing a read-only target for reporting.

Why this answer

Setting the failover group's secondary type to 'readable' enables read-only access to the secondary database for reporting, while preserving the failover group's DR capabilities. Option A is correct because configuring active geo-replication in addition to the failover group creates a separate readable secondary database that does not interfere with the existing failover group's DR, providing an alternative method for read-only workloads. Option C is incorrect because adding a zone-redundant replica (a high-availability feature across availability zones) does not affect the readability of the secondary in a failover group.

Option B is incorrect because read scale-out on the primary only allows read-only connections to the primary, not the secondary. Option D is incorrect because changing the secondary's service tier to Business Critical does not automatically make it readable; readability is controlled by the failover group's secondary type.

13
MCQhard

You are a database architect for a multinational corporation that uses Azure SQL Database for a customer relationship management (CRM) system. The primary database is in the East US region using the Business Critical service tier. The compliance team requires that in the event of a regional disaster, the database can be failed over to a secondary region with zero data loss and an RTO of 30 seconds. Additionally, the secondary region must be able to handle read-only queries during normal operations to reduce load on the primary. You need to design a solution that meets these requirements with the lowest possible latency for write operations. What should you do?

A.Create a secondary database in a paired region using active geo-replication and configure it as readable.
B.Deploy a failover group with a secondary database in a paired region using Business Critical, but do not make the secondary readable.
C.Deploy a failover group with a readable secondary in a paired region using Business Critical, and ensure the failover is planned to achieve zero data loss.
D.Configure zone redundancy on the existing Business Critical database in East US.
AnswerC

Failover group with planned failover can achieve zero data loss, and a readable secondary allows read traffic.

Why this answer

To meet the requirements of zero data loss (RPO=0) and RTO of 30 seconds across regions, a failover group with a readable secondary in a paired region using Business Critical service tier is the best option. Business Critical provides synchronous replication within a region but asynchronous geo-replication across regions; however, a planned failover ensures zero data loss by synchronizing all changes before failover. The readable secondary reduces read load on the primary.

Option A is incorrect because active geo-replication is asynchronous and cannot guarantee zero data loss. Option B is incorrect because it does not make the secondary readable, missing the read workload requirement. Option D is incorrect because zone redundancy protects within a region but not against regional disasters.

14
MCQhard

You are the database administrator for a global e-commerce company that runs its critical order processing system on Azure SQL Database. The database is currently deployed as a single database in the West US region using the Business Critical service tier (4 vCores, 320 GB storage). The application requires a Recovery Point Objective (RPO) of no more than 5 seconds and a Recovery Time Objective (RTO) of no more than 30 seconds in the event of a regional outage. The secondary region must be in East Asia. The solution must also handle planned failovers for maintenance without data loss. You need to configure high availability and disaster recovery to meet these requirements with the lowest possible latency for writes. What should you do?

A.Configure geo-restore of the database to the East Asia region. Enable auto-failover groups with manual failover.
B.Deploy the database as a zone-redundant configuration within West US. Use Azure Traffic Manager to redirect traffic to a secondary database in East Asia.
C.Configure auto-failover groups with read-scale failover. Deploy a readable secondary in East Asia using the Business Critical tier. Set the failover policy to automatic.
D.Create a failover group with an active geo-replication secondary in East Asia. Set the failover policy to automatic with a grace period of 1 hour. Ensure the secondary is configured for synchronous commit.
AnswerC

Correct because auto-failover groups with readable secondary in East Asia meet RPO and RTO with minimal write latency.

Why this answer

Auto-failover groups with a readable secondary in East Asia using Business Critical tier provide automatic failover meeting RTO of 30 seconds, and asynchronous geo-replication typically achieves RPO of 5 seconds for Azure SQL Database. The readable secondary can also handle read-only workloads. This configuration offers the lowest write latency since writes are acknowledged locally without waiting for cross-region synchronization.

Option A is incorrect because geo-restore has RPO of 1 hour and RTO of several hours. Option B is incorrect because zone redundancy is intra-region and Traffic Manager does not ensure RPO/RTO. Option D is incorrect because active geo-replication is asynchronous, not synchronous, and synchronous cross-region replication is not supported; it would increase write latency.

Exam trap

Candidates may think synchronous replication is needed for low RPO, but Azure SQL Database does not support synchronous geo-replication. Asynchronous replication with auto-failover groups can achieve RPO of 5 seconds.

15
MCQeasy

You have Azure SQL Database elastic pools in the primary region. You need to configure disaster recovery using a failover group. The secondary pool must be in a different region. Which PowerShell cmdlet should you use to create the secondary pool?

A.Set-AzSqlDatabaseSecondary
B.Add-AzSqlDatabaseToFailoverGroup
C.New-AzSqlDatabaseSecondary
D.New-AzSqlDatabaseFailoverGroup
AnswerC

Correct: It creates a secondary database in a specified elastic pool.

Why this answer

The correct cmdlet is New-AzSqlDatabaseSecondary (Option C). When the primary database is in an elastic pool, using the -SecondaryElasticPoolName parameter creates a new elastic pool on the secondary server in a different region if it does not already exist. This makes it suitable for creating the secondary pool as part of failover group setup.

Option A (Set-AzSqlDatabaseSecondary) modifies an existing geo-replication relationship, not create a new one. Option B (Add-AzSqlDatabaseToFailoverGroup) adds an existing database to a failover group, but the secondary pool must already be provisioned. Option D (New-AzSqlDatabaseFailoverGroup) creates the failover group itself, not the secondary elastic pool.

16
MCQhard

You have a SQL Server on Azure VM that is part of a failover cluster instance (FCI). The cluster nodes are in an availability set. You need to ensure that the database can tolerate a complete Azure region failure. What should you add to the current architecture?

A.Add another node to the existing FCI in a different availability zone.
B.Deploy a second FCI in a different Azure region and configure SQL Server log shipping or availability group between the FCIs.
C.Configure geo-redundant backup storage for the SQL Server VMs.
D.Create an Azure SQL Database with active geo-replication and migrate the database.
AnswerB

Cross-region replication provides DR.

Why this answer

Deploying a second FCI in a different Azure region and configuring SQL Server log shipping or an availability group between the FCIs provides disaster recovery across regions. Option A is incorrect because adding a node in a different availability zone within the same region does not protect against a complete region failure. Option C is incorrect because geo-redundant backup storage only protects backups, not provide continuous replication for the database.

Option D is incorrect because active geo-replication is a feature of Azure SQL Database, not SQL Server on Azure VM.

17
MCQmedium

You manage a critical application that uses Azure SQL Database in the West US region. The application requires an RPO of 5 seconds and an RTO of 1 hour in the event of a regional outage. You need to recommend a high availability solution that meets these requirements with minimal cost. What should you recommend?

A.Configure an auto-failover group with a secondary in a different availability zone within West US.
B.Enable geo-restore for the database with a backup retention of 35 days.
C.Create a failover group with a secondary replica in a paired region using active geo-replication.
D.Deploy a zone-redundant Azure SQL Database in the West US region.
AnswerC

Active geo-replication provides an RPO of 5 seconds and can achieve an RTO of 1 hour with automated failover.

Why this answer

It uses active geo-replication with a failover group to a paired region. Active geo-replication typically provides an RPO of 5 seconds or less, and the automated failover can meet an RTO of 1 hour. Option A is incorrect because an auto-failover group within the same region (different availability zone) protects only against zone failure, not a regional outage.

Option B is incorrect because geo-restore has a much higher RPO (up to 12 hours) and RTO (hours or days). Option D is incorrect because zone-redundant deployment protects within a region, not against a regional disaster.

18
Multi-Selecthard

Which THREE factors should you consider when choosing between active geo-replication and failover groups for an Azure SQL Database disaster recovery solution?

Select 3 answers
A.Failover groups require all databases in the group to fail over together.
B.Active geo-replication is only available in the Business Critical tier.
C.Failover groups provide a single listener endpoint for multiple databases.
D.Failover groups do not support readable secondaries.
E.Active geo-replication allows up to 4 readable secondary replicas.
AnswersA, C, E

Active geo-replication allows per-database failover.

Why this answer

The correct answers are A, C, and E. Option A is correct because failover groups fail over all databases in the group together. Option C is correct because failover groups provide a single readable/writable listener endpoint.

Option E is correct because active geo-replication supports up to 4 readable secondaries. Option B is incorrect: active geo-replication is available in both the Premium and Business Critical tiers, not just Business Critical. Option D is incorrect: failover groups support readable secondaries.

19
MCQhard

You are reviewing an Azure Policy definition that audits SQL Servers. Based on the exhibit, which condition triggers the audit effect?

A.The SQL Server uses service-managed TDE or has no encryption protector configured
B.The SQL Server uses a customer-managed key from Azure Key Vault
C.The SQL Server does not have an encryption protector set to a customer-managed key
D.The SQL Server is version 12.0 and uses a customer-managed key
AnswerA

The anyOf condition catches both cases: missing key or ServiceManaged key.

Why this answer

The policy 'if' condition requires allOf: type is 'Microsoft.Sql/servers', and anyOf: encryption protector does not exist OR encryption protector is 'ServiceManaged'. This audits SQL servers that either use service-managed TDE or have no encryption protector configured. Option B is incorrect because the policy does not trigger when a customer-managed key is used; it specifically targets those without a customer-managed key.

Option C is incorrect because the condition checks for absence of encryption protector or service-managed, not the absence of customer-managed key. Option D is incorrect because version 12.0 is checked but it is not the trigger; the trigger is based on encryption protector type.

20
MCQmedium

You manage a critical database in Azure SQL Database that must recover within 5 minutes in case of a regional outage. You configure geo-replication. Which SKU guarantees the fastest failover time with the least data loss?

A.General Purpose (GP)
B.Hyperscale (HS)
C.Business Critical (BC)
D.Serverless
AnswerC

Business Critical provides the lowest RPO and fastest failover.

Why this answer

Azure SQL Database Business Critical tier uses premium SSDs and in-memory technologies, providing the lowest RPO and fastest failover (typically <30 seconds). Hyperscale (A) has longer failover and higher RPO. General Purpose (B) has higher RPO.

Serverless (D) is not suitable for geo-replication.

21
MCQmedium

Your company has an Azure SQL Managed Instance deployed in the East US region. The database hosts a financial application that requires a Recovery Time Objective (RTO) of 15 minutes and a Recovery Point Objective (RPO) of 15 seconds. The solution must use a secondary region in West US. The budget allows for a single secondary instance but must minimize compute costs during normal operations. You have configured a failover group between the primary and a secondary managed instance in West US. During a recent disaster recovery drill, you observed that the failover took 20 minutes to complete, exceeding the RTO. You need to improve the failover time to meet the 15-minute RTO without increasing costs. What should you do?

A.Ensure the secondary managed instance is in a different virtual network and configure cross-region VNet peering for faster synchronization.
B.Create a failover group with automatic failover policy and set the grace period to 1 hour. Also, enable read-scale failover for the secondary.
C.Scale up the primary managed instance to a higher service tier (e.g., from General Purpose to Business Critical) to improve performance.
D.Configure the failover group to use manual failover instead of automatic; this reduces failover time because you can control the exact moment.
AnswerD

Manual failover allows immediate initiation of the failover process, avoiding the grace period delay. This can reduce total failover time to less than the 15-minute RTO.

Why this answer

Configuring manual failover allows the database administrator to initiate failover immediately without waiting for a grace period. This reduces the overall failover time, as the 20-minute failover observed likely included time waiting for automatic failover to trigger after the grace period. With manual failover, the switch can be performed in less than 15 minutes.

Option B is incorrect because setting the grace period to 1 hour would actually increase the time before automatic failover occurs, and enabling read-scale failover does not reduce failover time. Option C increases cost and does not directly affect failover time. Option A does not significantly reduce failover time.

22
MCQmedium

You have an Azure SQL Managed Instance configured with a failover group across two regions. The primary region experiences a complete outage. You perform a manual failover to the secondary region. After the primary region is restored, you need to bring the original primary back into the failover group. What is the correct order of actions?

A.Remove the original primary from the failover group and then add it back as a secondary.
B.Perform a planned failover back to the original primary region.
C.Create a new SQL Managed Instance in the original region and add it to the failover group.
D.Perform a forced failover to the original primary region.
AnswerA

Correct: This re-establishes the failover relationship.

Why this answer

After a manual failover in an Azure SQL Managed Instance failover group, the original primary becomes a secondary. To restore it to the failover group, you must first remove the original primary from the group if it is still listed, then add it back as a secondary. This allows the original primary to rejoin as a readable secondary and resync data.

Option B is incorrect because a planned failover can only be initiated when the primary is healthy, which it may not be after an outage. Option C is incorrect because creating a new instance is unnecessary and wasteful. Option D is incorrect because a forced failover is not appropriate for restoring a previously failed instance; forced failover is used for urgent failover scenarios and may cause data loss.

23
MCQeasy

Your company has an Azure SQL Database that uses the Business Critical service tier with three replicas. You need to ensure that during a regional outage, the database can be failed over to a secondary region with minimal data loss. What should you configure?

A.Configure zone-redundant replicas in the same region.
B.Create an auto-failover group with a secondary server in a different region.
C.Enable read scale-out on the database.
D.Use geo-redundant backup storage and perform geo-restore.
AnswerB

Auto-failover groups provide cross-region DR with minimal data loss.

Why this answer

Auto-failover groups with a secondary server in a different region provide cross-region disaster recovery with minimal data loss. Azure SQL Database supports configuring an auto-failover group that includes a primary and secondary server in different regions. When using the Business Critical service tier, synchronous replication is used within the primary region, but for cross-region failover, asynchronous replication is used, resulting in minimal data loss (typically a few seconds).

Option A is wrong because zone-redundant replicas provide high availability within a single region, not cross-region DR. Option C is wrong because read scale-out allows offloading read workloads to a replica, but does not provide failover capability. Option D is wrong because geo-redundant backup storage and geo-restore can restore the database in a different region, but it involves longer recovery time (hours) and potential data loss, and is not a failover mechanism.

24
MCQhard

You have an Azure SQL Database configured with a failover group that includes a secondary in another region. The primary region experiences a complete outage. You initiate a forced failover. After the outage is resolved, you want to bring the original primary back as a secondary without data loss. What should you do?

A.Use the 'az sql db failover-group re-sync' command to re-synchronize
B.Configure replication from the new primary to the old primary using active geo-replication
C.Restore the original primary from backup and re-add it to the failover group
D.Remove the original primary from the failover group, drop the database, and recreate it as a new secondary
AnswerD

This is the recommended approach to rejoin a failed primary after a forced failover.

Why this answer

After a forced failover, the original primary is in a failed state. To bring it back as a secondary without data loss, you must remove it from the failover group, drop the original database, and then add a new secondary database (which will be seeded from the current primary). This is the only method that ensures no data loss.

Option A is incorrect because there is no 'az sql db failover-group re-sync' command. Option B is incorrect because active geo-replication is not required; failover groups automatically handle replication. Option C is incorrect because restoring from backup would not reflect changes made after the failover, resulting in data loss.

25
MCQhard

You have a SQL Server on Azure Virtual Machine running a critical OLTP workload. You need to achieve high availability with automatic failover and no shared storage. The solution must use Azure features and avoid complex clustering configurations. What should you implement?

A.Configure an Always On Availability Group with automatic failover.
B.Set up log shipping to a secondary VM.
C.Use database mirroring with automatic failover.
D.Deploy a Windows Server Failover Cluster Instance (FCI) using Azure Shared Disks.
AnswerA

Availability Groups provide automatic failover without shared storage.

Why this answer

Always On Availability Groups provide high availability and automatic failover without requiring shared storage, and they leverage Azure features like internal load balancer. Option B (log shipping) offers disaster recovery but not automatic failover. Option C (database mirroring) is deprecated and not recommended for new implementations.

Option D (Failover Cluster Instance) requires shared storage, which is not desired.

26
Multi-Selectmedium

You are planning a disaster recovery strategy for an Azure SQL Database that is part of a failover group. The application requires that after a failover, the database is accessible with minimal downtime and without data loss. Which THREE components are essential for this configuration? (Select three.)

Select 3 answers
A.Geo-redundant backup storage
B.Secondary database in a paired region with data synchronization
C.Failover group listener endpoint
D.Azure Traffic Manager with priority routing
E.Failover group configured between primary and secondary servers
AnswersB, C, E

The secondary must be synchronized to ensure no data loss.

Why this answer

A secondary database in a paired region with data synchronization ensures that data is replicated to another region, enabling failover with minimal data loss. Option C is correct: The failover group listener endpoint provides a constant connection string that automatically routes to the current primary database, ensuring application connectivity after failover. Option E is correct: The failover group configured between primary and secondary servers orchestrates the replication and automatic failover process.

Option A is incorrect: Geo-redundant backup storage is for point-in-time restore, not for failover. Option D is incorrect: Azure Traffic Manager with priority routing is not needed when using failover groups; the failover group listener handles routing.

27
Multi-Selecthard

Which TWO statements about Azure SQL Database zone-redundant configuration are true? (Choose two.)

Select 2 answers
A.It requires a failover group to be configured.
B.It can be enabled during database creation or by updating an existing database.
C.It is only available in the Business Critical service tier.
D.It provides resilience within a single Azure region across multiple zones.
E.It incurs additional cost compared to non-zone-redundant configurations.
AnswersB, D

Zone-redundant can be configured at creation or via update.

Why this answer

Options B and D are correct. Zone-redundant configuration can be enabled during database creation or by updating an existing database (B), and it provides resilience within a single Azure region across multiple availability zones (D). Option A is incorrect because zone-redundant configuration does not require a failover group; failover groups are used for geo-replication, not for zone redundancy.

Option C is incorrect because zone-redundant configuration is available in both the General Purpose and Business Critical service tiers. Option E is incorrect because the cost impact varies by tier: General Purpose tier does not incur additional cost for zone redundancy, while Business Critical does; thus, the blanket statement that it always incurs additional cost is false.

28
MCQhard

You are designing a disaster recovery plan for an Azure SQL Managed Instance in the East US region. The plan must meet an RPO of 15 minutes and an RTO of 1 hour. You need to minimize costs while meeting these requirements. Which solution should you recommend?

A.Use a zone-redundant Business Critical instance.
B.Deploy a second instance in the same region with zone redundancy.
C.Configure a failover group between two General Purpose instances in different regions.
D.Configure a failover group between two Business Critical instances in different regions.
AnswerC

Meets RPO/RTO at lower cost.

Why this answer

A failover group between two General Purpose instances in different regions provides geo-replication with an RPO of seconds to minutes and an RTO of about 1 hour, meeting the requirements at minimal cost. Option A is incorrect because zone-redundant redundancy only protects against zonal failures within the same region, not regional disasters. Option B is incorrect because deploying a second instance with zone redundancy in the same region does not provide cross-region DR.

Option D is incorrect because using Business Critical instances is more expensive and not required for the specified RPO/RTO.

29
MCQeasy

You have an Azure SQL Managed Instance configured with an auto-failover group between two regions. You need to ensure that client applications can automatically connect to the secondary instance after a failover without changing connection strings. What should you configure?

A.Use the failover group listener endpoint in the connection string.
B.Set up a load balancer with health probes.
C.Deploy an Application Gateway with backend pools for each region.
D.Configure a Traffic Manager profile with endpoint monitoring.
AnswerA

The listener automatically routes to the current primary.

Why this answer

The failover group listener provides a read-write listener endpoint that automatically points to the current primary. Option B is wrong because a Traffic Manager profile would require manual intervention. Option C is wrong because an Application Gateway does not provide automatic failover redirection.

Option D is wrong because a load balancer does not handle failover group redirection.

30
MCQmedium

Your company has an Azure SQL Managed Instance in the West US region. You need to configure a disaster recovery solution that provides automatic failover to a secondary region with minimal data loss. The solution must also allow read-only access to the secondary database for reporting purposes. Which option should you use?

A.Create an auto-failover group with active geo-replication.
B.Configure a failover group between the primary and secondary managed instances.
C.Use log shipping to a secondary managed instance.
D.Enable active geo-replication on the database.
AnswerB

Failover groups provide automatic failover, readable secondary, and minimal data loss for managed instances.

Why this answer

Failover groups are the native disaster recovery feature for Azure SQL Managed Instance, providing automatic failover, a readable secondary (via read-only intent), and minimal data loss with a synchronization mode that prioritizes data durability. Option A (auto-failover group with active geo-replication) is incorrect because active geo-replication is a separate feature for single databases and elastic pools, not managed instances; failover groups themselves include the auto-failover capability. Option C (log shipping) is not a built-in managed instance feature, does not provide automatic failover, and the secondary is not readable during normal operation.

Option D (active geo-replication) is for single databases and elastic pools, not managed instances, and does not provide automatic failover.

31
MCQeasy

You are designing a high availability solution for an Azure SQL Database used by a critical application. The application requires no more than 5 seconds of data loss and automatic failover within 1 minute. Which service tier and configuration should you choose?

A.Hyperscale tier with geo-replication and auto-failover group.
B.Hyperscale tier with zone redundancy.
C.General Purpose tier with active geo-replication.
D.Business Critical tier with zone redundancy.
AnswerD

Zone redundancy provides automatic failover within region with zero data loss.

Why this answer

Business Critical tier with zone redundancy provides automatic failover within seconds and zero data loss, meeting the RPO of 5 seconds and RTO of 1 minute. Option A is incorrect because Hyperscale tier with geo-replication and auto-failover group typically has a higher RTO (often up to 1 hour) and RPO may exceed 5 seconds. Option B is incorrect because Hyperscale tier with zone redundancy does not provide automatic failover on its own; it only offers local resilience.

Option C is incorrect because General Purpose tier with active geo-replication has a higher RTO (up to 1 hour) and does not guarantee an RPO of 5 seconds.

32
MCQeasy

You are designing a high availability solution for an Azure SQL Database that is used by a mission-critical application. The database is currently in the Standard tier. You need to minimize downtime during planned maintenance and unplanned failures while keeping costs low. What should you recommend?

A.Use the Basic tier with a failover group.
B.Configure active geo-replication to a secondary region.
C.Upgrade to the Premium tier with zone-redundant configuration.
D.Upgrade to the Standard tier and enable zone redundancy.
AnswerC

Premium tier with zone redundancy provides high availability within a region.

Why this answer

The Premium tier supports zone-redundant configuration, which replicates data across availability zones within the same region, providing high availability and minimizing downtime during planned maintenance or unplanned failures. Option A is wrong: the Basic tier does not support failover groups or zone redundancy. Option B is wrong: active geo-replication is designed for disaster recovery across regions, not for high availability within a region, and incurs higher cost and complexity.

Option D is wrong: the Standard tier does not support zone redundancy; zone redundancy is only available in the Premium or Business Critical tiers.

33
MCQeasy

You are designing a disaster recovery plan for a SQL Server 2022 on Azure VM. The solution must provide automatic failover within seconds and zero data loss. Which SQL Server feature should you use?

A.Backup and restore to another region
B.Failover cluster instance (FCI) with shared storage
C.Always On Availability Group with synchronous commit
D.Log shipping
AnswerB

FCI provides automatic failover and zero data loss.

Why this answer

A SQL Server Failover Cluster Instance (FCI) with shared storage provides automatic failover within seconds and zero data loss, as the shared storage ensures no data is lost during failover. Option A (Backup and restore to another region) does not provide automatic failover and can have data loss up to the last backup. Option C (Always On Availability Group with synchronous commit) can achieve zero data loss and automatic failover if properly configured, but it requires a listener and may have more complex setup; however, FCI is typically the preferred solution for VM-level HA with zero data loss.

Option D (Log shipping) involves manual failover and potential data loss, so it does not meet the requirements.

34
Multi-Selecteasy

Which TWO of the following are valid methods to recover an Azure SQL Database after a regional outage?

Select 2 answers
A.Replicate the database from a backup to a secondary region using log shipping.
B.Fail over to a secondary region using a failover group.
C.Point-in-time restore to a time before the outage.
D.Copy the database from a geo-redundant backup to a new server.
E.Geo-restore from geo-redundant backups.
AnswersB, E

Failover groups provide automatic or manual failover.

Why this answer

Options B and E are correct. Failover groups with automatic failover allow recovery by failing over to a secondary region (B). Geo-restore from geo-redundant backups restores the database to any Azure region using the most recent geo-redundant backup (E).

Option A is incorrect because log shipping is not supported for Azure SQL Database. Option C is incorrect because point-in-time restore can only restore to a point in time within the same region. Option D is incorrect because copying a database from a geo-redundant backup is not a direct method; you must perform a geo-restore.

35
MCQmedium

You have an Azure SQL Database configured with active geo-replication to a secondary region. The secondary database is used for read-only workloads. A network latency issue causes replication lag to exceed 10 seconds. You need to ensure reporting queries always see consistent data. What should you configure?

A.Use ApplicationIntent=ReadOnly in connection strings and ensure the secondary is up-to-date.
B.Enable read scale-out on the secondary.
C.Configure an auto-failover group with read-write endpoint.
D.Create a failover group with read-only endpoint enabled.
AnswerA

Routes read-only queries to secondary, but consistency depends on replication.

Why this answer

Using ApplicationIntent=ReadOnly in connection strings directs read-only queries to the secondary replica. To ensure consistent data during replication lag, you must verify the secondary is up-to-date before querying, for example by checking the replication lag via DMVs or using the 'latest' hint. This ensures reporting queries see consistent data.

Option B is incorrect because read scale-out is specific to Hyperscale databases, not active geo-replication. Option C is incorrect because an auto-failover group with read-write endpoint does not guarantee read consistency for reporting queries. Option D is incorrect because a failover group with read-only endpoint does not enforce consistency checks.

36
MCQhard

You are reviewing the ARM template snippet for an Azure SQL Database failover group. The primary server is in East US. The secondary is in West Europe. The readWriteEndpoint has automatic failover with a grace period of 60 minutes. The readOnlyEndpoint is disabled. After a complete outage in East US, what will happen?

A.The failover group will not fail over automatically because the grace period is too long.
B.The failover group will wait 60 minutes, then automatically fail over to West Europe.
C.The failover group will immediately fail over to West Europe.
D.The failover group requires manual failover because readOnlyEndpoint is disabled.
AnswerB

Correct.

Why this answer

With automatic failover policy and a grace period, the system will wait for 60 minutes before automatically failing over to West Europe. The read-only endpoint is disabled, so no read-only routing is available. Option A is incorrect because the grace period is 60 minutes, not zero.

Option C is incorrect because automatic failover is enabled. Option D is incorrect because the failover will happen within 60 minutes, not immediately.

37
MCQmedium

You are examining the configuration of an Azure SQL Database in the Business Critical tier. The exhibit shows the database properties. What is the maximum number of readable replicas available for read-only queries?

A.1
B.3
C.4
D.5
AnswerB

3 is correct. The Business Critical tier always has three readable secondary replicas that can serve read-only queries.

Why this answer

In the Business Critical tier of Azure SQL Database, there is a fixed set of four replicas: one primary and three secondary replicas. All secondary replicas are readable and can serve read-only queries. Therefore, the maximum number of readable replicas available for read-only queries is 3.

Option C (4) is incorrect because it would include the primary replica, which is not typically used for read-only queries unless read-scale is enabled, but even then the maximum readable replicas (including primary) is 4, but the question asks specifically for 'readable replicas available for read-only queries', which are the secondaries. The highAvailabilityReplicaCount property shown in the exhibit is not configurable for the Business Critical tier; it is only applicable to the Hyperscale tier. In Business Critical, the replica count is fixed at 4 total, with 3 readable secondaries.

38
MCQhard

You have a SQL Server 2022 on Azure VM configured with a Basic availability group for a line-of-business application. The application requires automatic failover without manual intervention. What additional component is needed?

A.Azure Load Balancer
B.Windows Server Failover Cluster (WSFC)
C.Virtual network gateway
D.Availability group listener
AnswerB

WSFC is required for Basic availability groups on Azure VM to enable automatic failover.

Why this answer

A Basic availability group on SQL Server 2022 Azure VM requires a Windows Server Failover Cluster (WSFC) for automatic failover. Without WSFC, automatic failover is not possible. Azure Load Balancer is used for client connectivity via the listener, but does not provide automatic failover.

Virtual network gateway is for site-to-site connectivity. Availability group listener requires WSFC to function and does not itself enable automatic failover.

39
MCQhard

You have an Azure SQL Managed Instance configured with a failover group for disaster recovery. The primary instance is in the East US region and the secondary is in West US. You need to perform a planned failover for maintenance with zero data loss. What is the correct sequence of steps?

A.Take the primary instance offline, then failover.
B.Use the Azure portal to perform a planned failover for the failover group.
C.Scale down the primary to reduce cost, then failover.
D.Remove the failover group, perform maintenance, then recreate the failover group.
AnswerB

Correct: A planned failover ensures zero data loss.

Why this answer

To perform a planned failover with zero data loss for an Azure SQL Managed Instance failover group, you should use the Azure portal (or PowerShell/CLI) to initiate a planned failover. This ensures that all transactions are synchronized before switching roles, preventing data loss. Option A is incorrect because taking the primary offline before failover would cause downtime and potential data loss.

Option C is incorrect because scaling down does not facilitate a planned failover. Option D is incorrect because removing the failover group would break replication and is unnecessary.

40
Multi-Selectmedium

Which THREE are requirements for configuring a failover group for Azure SQL Managed Instance? (Select three.)

Select 3 answers
A.Both managed instances must have the same service tier
B.The secondary instance must have no user databases
C.Both instances must be in the same virtual network subnet
D.The primary instance must have at least one user database
E.Both instances must be in the same generation (Gen5)
AnswersA, B, E

Failover groups require matching service tiers (e.g., General Purpose).

Why this answer

Options A, B, and E are correct. Both managed instances must have the same service tier (A). The secondary instance must have no user databases (B).

Both instances must be in the same hardware generation (e.g., Gen5) (E). Option C is incorrect because the instances can be in different subnets within the same virtual network. Option D is incorrect because having a user database on the primary is not a requirement for configuring a failover group.

41
MCQmedium

You are deploying an Azure SQL Database with the above ARM template snippet. How many readable replicas will be available for read-only queries?

A.3
B.2
C.1
D.4
AnswerB

(2) is correct. The highAvailabilityReplicaCount property in the ARM template is set to 2, which creates two readable secondary replicas. With read scale-out enabled, both are available for read-only queries. This is not related to failover groups; it is about Hyperscale read scale-out.

Why this answer

(2). The highAvailabilityReplicaCount property in the ARM template is set to 2, which creates two readable replicas in addition to the primary. With read scale-out enabled, both replicas are available for read-only queries.

Option A (3) is incorrect because it counts the primary as a readable replica, but the primary is not used for read-only queries in read scale-out. Option C (1) is incorrect because it underestimates the number of replicas. Option D (4) is incorrect because the value in the template is 2, not 4.

42
MCQhard

You are responsible for a SQL Server 2019 instance on an Azure VM. The VM is part of a failover cluster instance (FCI) using Azure shared disks. During a recent failover test, the cluster took 15 minutes to bring the database online. You need to reduce the failover time to under 5 minutes. What should you do?

A.Remove unnecessary databases from the FCI and distribute them to other instances.
B.Upgrade the VM to a larger size with more CPU and memory.
C.Increase the size of the Azure shared disks.
D.Enable instant file initialization on all SQL Server instances.
AnswerA

Fewer databases to recover reduces failover time.

Why this answer

Removing unnecessary databases from the FCI reduces the number of databases that need to be recovered during failover, thereby decreasing the overall failover time. Option A is correct. Option B is incorrect because upgrading the VM does not directly reduce the number of databases to recover.

Option C is incorrect because increasing disk size does not improve failover time. Option D is incorrect because instant file initialization helps with file growth, not failover recovery.

43
MCQhard

Your company uses Azure SQL Managed Instance for a critical application. You need to meet a Recovery Point Objective (RPO) of 15 seconds and a Recovery Time Objective (RTO) of 30 seconds for planned maintenance. You also need to protect against a regional failure with an RPO of 5 minutes and an RTO of 1 hour. What combination of features should you use?

A.Configure active geo-replication to a secondary region and use automatic failover.
B.Deploy in General Purpose tier with zone redundancy and geo-redundant backup.
C.Create a failover group to a secondary region and rely on that for both HA and DR.
D.Deploy the instance in the Business Critical tier with zone redundancy, and configure a failover group to a secondary region.
AnswerD

Zone redundancy provides HA within region; failover group provides DR across regions.

Why this answer

Business Critical tier with zone redundancy provides high availability within a region with an RPO of 0 and RTO of approximately 30 seconds for planned maintenance. Configuring a failover group to a secondary region provides disaster recovery with an RPO of 5 minutes and RTO of 1 hour. Option A is incorrect because active geo-replication is not supported for Azure SQL Managed Instance; failover groups are used instead.

Option B is incorrect because General Purpose tier does not provide an RTO of 30 seconds for planned maintenance, and geo-redundant backup does not meet the required RPO and RTO for planned maintenance. Option C is incorrect because a failover group alone does not provide the sub-minute RTO needed for planned maintenance within the region.

44
Multi-Selectmedium

Which TWO of the following are benefits of using Azure SQL Database failover groups for high availability?

Select 2 answers
A.Synchronous replication of data across availability zones.
B.Automatic failover to a secondary region based on a grace period.
C.Routing of read-only queries to the secondary region.
D.Load balancing read-write traffic across multiple replicas.
E.Geo-redundant backup storage for disaster recovery.
AnswersB, C

Failover groups support automatic failover.

Why this answer

Failover groups provide automatic failover to a secondary region based on a grace period (option B), allowing for continuous availability during regional outages. They also support routing read-only queries to the secondary region (option C) to offload read workloads and improve performance. Option A is incorrect because synchronous replication across availability zones is achieved through zone-redundant configuration, not failover groups.

Option D is incorrect because load balancing read-write traffic across replicas is not a feature of failover groups; that is handled by read-scale replicas or connection policies. Option E is incorrect because geo-redundant backup storage is a separate feature (geo-redundant storage), not a direct benefit of failover groups.

45
Multi-Selecthard

You are designing a disaster recovery plan for an Azure SQL Managed Instance that hosts a financial application. The application requires an RPO of 0 seconds and an RTO of 30 seconds. Which TWO configurations meet these requirements? (Choose two.)

Select 2 answers
A.Configure active geo-replication between two Business Critical instances in different regions.
B.Deploy a zone-redundant Business Critical instance in a single region and rely on automatic failover.
C.Deploy a Business Critical instance with zone redundancy and a failover group to a secondary instance in a paired region, using the Business Critical service tier.
D.Use a failover group with the 'planned' failover option and a Business Critical secondary instance.
E.Set up a manual failover process using a PowerShell script that restores from the latest backup.
AnswersC, D

Combining zone redundancy with a failover group to a paired region using the Business Critical service tier ensures synchronous replication locally and for planned failover to the secondary region, meeting zero RPO and fast RTO.

Why this answer

Options C and D are correct. To achieve an RPO of 0 seconds and an RTO of 30 seconds for Azure SQL Managed Instance, you need configurations that provide synchronous replication and rapid failover. Option C combines zone redundancy (for local high availability with zero data loss within the region) and a failover group to a secondary instance in a paired region.

The failover group, when used with the Business Critical service tier and a planned failover, can synchronize all data before failing over, meeting the zero RPO requirement. Option D directly uses a failover group with the 'planned' failover option, which ensures all committed transactions are replicated before failover, achieving zero data loss and a fast RTO. Option A is incorrect because active geo-replication is not supported for SQL Managed Instance and is asynchronous.

Option B is incorrect because zone redundancy alone provides high availability within a single region but does not address cross-region disaster recovery. Option E is incorrect because manual restore from backup cannot meet the 30-second RTO.

46
Multi-Selecthard

You have an Azure SQL Database in the Business Critical tier with zone redundancy enabled. You need to maintain high availability during a planned patching event. Which THREE actions should you take? (Choose three.)

Select 3 answers
A.Enable active geo-replication to a secondary region.
B.Verify that zone redundancy is enabled on the database.
C.Scale the database to a lower tier to reduce cost.
D.Perform a planned failover test.
E.Ensure the database has a read-scale replica configured.
AnswersB, D, E

Verifying zone redundancy ensures the database is configured to survive patching within the same region.

Why this answer

To maintain high availability during a planned patching event on a Business Critical tier with zone redundancy enabled, you should first verify that zone redundancy is enabled (B) to confirm the configuration. Perform a planned failover test (D) to ensure the failover mechanism works correctly. Ensure the database has a read-scale replica configured (E) to offload read workloads and maintain performance.

Option A (enable active geo-replication) is not required for high availability during patching; it is for disaster recovery. Option C (scale to lower tier) would reduce availability and is unnecessary.

47
MCQmedium

You manage an Azure SQL Database that uses active geo-replication with a secondary in a paired region. During a planned maintenance, you need to fail over to the secondary with zero data loss. What should you do?

A.Use Azure portal to 'Failover' without specifying data loss tolerance
B.Take the primary offline, then promote the secondary
C.Execute a planned failover (graceful failover) using Transact-SQL or PowerShell
D.Execute a forced failover allowing data loss
AnswerC

Planned failover synchronizes the secondary before promoting it, ensuring zero data loss.

Why this answer

A planned failover (graceful failover) synchronizes all transactions between the primary and secondary before switching, ensuring zero data loss. Option A uses a standard failover that may allow data loss if the secondary is not fully synchronized. Option B causes data loss by taking the primary offline abruptly.

Option D explicitly allows data loss, which is not acceptable for this requirement.

48
MCQmedium

You have an Azure SQL Managed Instance configured with a failover group to a secondary region. During a regional outage, the failover group automatically fails over to the secondary. After the primary region is restored, you need to bring the primary back online and re-establish the failover relationship. What should you do?

A.Delete the failover group and recreate it with the original primary as the primary.
B.Add the original primary as a new secondary to the current primary.
C.Initiate a planned failover from the current primary to the original primary.
D.Remove the original primary from the failover group and re-add it.
AnswerC

Planned failover switches roles gracefully, making the original primary the primary again.

Why this answer

After an automatic failover, the secondary region becomes the primary. To restore the original primary and re-establish the failover relationship, you must perform a planned failover (also called a graceful failover) from the current primary (the former secondary) to the original primary. This switches roles back without data loss.

Option A is incorrect because deleting and recreating the failover group is unnecessary and disruptive. Option B is incorrect because you cannot add the original primary as a new secondary if it is already part of the failover group—it must be removed first. Option D is incorrect because removing and re-adding the original primary would break the geo-replication and is not the correct procedure.

49
MCQhard

Your company has an Azure SQL Database configured with active geo-replication to a secondary region. You need to perform a planned failover for disaster recovery testing with zero data loss. The primary database is under heavy write load. What should you do?

A.Set the primary database to read-only, perform a planned failover, then switch the new primary to read-write.
B.Switch the secondary to read-write mode and then failover.
C.Take a full backup of the primary, restore it to the secondary, and then failover.
D.Scale up the primary database to the highest performance tier to handle writes during failover.
AnswerA

Correct: This ensures no writes occur during failover, preserving data.

Why this answer

To achieve zero data loss during a planned failover under heavy write load, you should set the primary database to read-only to block any new writes. This allows the geo-replication to catch up and synchronize all committed transactions to the secondary. Then perform the planned failover (which switches the secondary to become the new primary).

After failover, set the new primary to read-write mode to resume writes. Option B is incorrect: switching the secondary to read-write only enables read workloads on the secondary; it does not trigger a failover. The failover must be explicitly initiated, and the write-heavy primary still has pending transactions.

Option C is incorrect: a full backup and restore would cause data loss because any transactions after the backup would be lost. Geo-replication provides near-real-time synchronization. Option D is incorrect: scaling up the primary does not affect the failover process or guarantee zero data loss.

The only way to ensure zero data loss is to prevent writes and synchronize before failover.

50
MCQhard

You have an Azure SQL Managed Instance configured with a failover group between the primary region (East US) and secondary region (West US). The secondary instance is used for read-only query workloads. During a planned failover test, you notice that after failover, the read-only queries on the secondary instance fail with error 4060 (cannot open database). What is the most likely cause?

A.The secondary instance is not in the same license type as the primary.
B.The firewall rules on the secondary instance do not allow the client IP.
C.The failover changed the secondary instance to primary, and read-only routing is not configured for the new secondary.
D.The secondary instance is not configured to allow read-only access.
AnswerC

After failover, the old secondary becomes primary; read-only routing must point to the new secondary (the old primary).

Why this answer

After failover, the secondary role changes to primary, and the database becomes writable. Read-only routing must be reconfigured or the connection string must specify ApplicationIntent=ReadOnly to reach the new secondary. Option A (secondary is not readable) is false because failover groups support readable secondary.

Option B (firewall rules) would cause a different error. Option D (license type) does not affect read access.

51
Multi-Selecthard

You have a SQL Server on Azure VM that hosts a mission-critical database. The VM is in a single availability zone. You need to achieve a 99.99% SLA for the SQL Server instance. Which two actions should you perform? (Choose two.)

Select 2 answers
A.Configure SQL Server Always On availability group with synchronous replication.
B.Enable geo-redundant backup storage.
C.Configure a failover cluster instance using Azure shared disks.
D.Use a single VM with premium SSD disks.
E.Deploy two Azure VMs in an availability set.
AnswersA, E

Always On availability group provides database-level high availability.

Why this answer

To achieve a 99.99% SLA for SQL Server on Azure VM, you need to ensure high availability. Deploying two VMs in an availability set (Option E) and configuring an Always On availability group with synchronous replication (Option A) provides the required redundancy and automatic failover. Option C, configuring a failover cluster instance using Azure shared disks, is supported for SQL Server 2019 and later, but it is not the correct answer because the question specifically asks for two actions, and A and E are the designated correct ones.

Option B (geo-redundant backup) does not affect availability. Option D (single VM with premium SSD) does not achieve 99.99% because it lacks redundancy.

52
MCQeasy

Your company uses Azure SQL Database in a General Purpose service tier. You need to minimize downtime during a planned patching event. Which feature should you enable?

A.Auto-failover group
B.Read scale-out
C.Active geo-replication
D.Zone-redundant configuration
AnswerD

Provides high availability across zones, minimizing patching downtime.

Why this answer

Zone-redundant configuration for Azure SQL Database provides high availability by replicating across zones, minimizing downtime during planned patching events. Option A is incorrect because auto-failover groups are primarily for disaster recovery across regions. Option B is incorrect because read scale-out only offloads read workloads to a readable secondary replica, which does not reduce downtime during patching of the primary.

Option C is incorrect because active geo-replication is for disaster recovery, not for reducing downtime during patching within a region.

53
MCQmedium

You have an Azure SQL Database in the Premium tier with a failover group to a secondary region. The primary database experiences a performance issue due to a sudden increase in workload. You need to temporarily offload read-only queries to the secondary replica without affecting the failover group configuration. What should you do?

A.Use the secondary database in the failover group for read-only queries by setting ApplicationIntent=ReadOnly.
B.Configure active geo-replication to a new secondary in the same region.
C.Enable read scale-out on the primary database.
D.Scale up the primary database to a higher performance level.
AnswerA

The failover group secondary supports read-only workloads.

Why this answer

The secondary database in a failover group for Premium-tier Azure SQL Database is readable. By setting ApplicationIntent=ReadOnly in the connection string, read-only queries are routed to this secondary replica, offloading read workloads without modifying the failover group configuration. Option B is incorrect because active geo-replication would create a separate secondary outside the failover group, which is unnecessary and adds complexity.

Option C is incorrect because read scale-out uses local replicas within the same region, not the failover group secondary. Option D is incorrect because scaling up the primary does not offload read queries; it only increases resources for all workloads.

54
Multi-Selectmedium

You manage an Azure SQL Database in the Business Critical service tier. The database must be highly available within a single region. Which TWO features contribute to this high availability?

Select 2 answers
A.Active geo-replication
B.Multiple synchronous replicas (4 replicas)
C.Always On availability groups
D.Auto-failover groups
E.Zone-redundant configuration (when enabled)
AnswersB, E

Business Critical includes 4 replicas for HA.

Why this answer

The correct answers are B and E. In the Business Critical service tier, multiple synchronous replicas (at least 4) provide local high availability within a region. Additionally, enabling zone-redundant configuration distributes these replicas across availability zones within the same region, further improving availability.

Options A and D (Active geo-replication and Auto-failover groups) are cross-region disaster recovery features and do not contribute to intra-region high availability. Option C (Always On availability groups) is the underlying technology for the replicas but is not a separate feature; the question asks for features that contribute to high availability, and the replicas themselves are the feature.

55
MCQeasy

Your company has an Azure SQL Database in the East US region. You need to configure a disaster recovery solution that provides a readable secondary in the West US region with an RPO of 5 seconds. The solution must support automatic failover from the application. What should you configure?

A.Enable zone-redundant replicas in the same region.
B.Enable geo-redundant backup storage and perform geo-restore.
C.Configure active geo-replication to a secondary server in West US.
D.Create an auto-failover group with a secondary server in West US using synchronous replication.
AnswerD

Auto-failover groups can achieve low RPO with synchronous replication.

Why this answer

Auto-failover groups with a secondary server in another region using synchronous replication can achieve an RPO of 5 seconds and support automatic failover from the application. Option A is wrong because zone-redundant replicas are in the same region and do not provide cross-region DR. Option B is wrong because geo-redundant backup storage and geo-restore are not for automatic failover and have a higher RPO.

Option C is wrong because although active geo-replication provides a readable secondary, it does not support automatic failover; a group is needed.

56
Multi-Selecteasy

You are planning high availability for an Azure SQL Database that runs an e-commerce application. The database uses the Business Critical service tier. Which TWO features are automatically enabled to provide high availability within a single region? (Choose two.)

Select 2 answers
A.Automatic failover to a secondary replica if the primary becomes unavailable.
B.Multiple synchronous replicas (one primary, two secondary) in the same region.
C.Auto-failover groups with a secondary in another region.
D.Active geo-replication to a paired region.
E.Read scale-out with a readable secondary replica.
AnswersA, B

The service automatically fails over to a secondary replica within seconds.

Why this answer

Options A and B are correct. Business Critical includes multiple replicas (one primary and two secondary) that are automatically managed, and zone-redundant configuration is optional but not automatic. Option C is wrong because active geo-replication is a separate DR feature.

Option D is wrong because auto-failover groups are for DR. Option E is wrong because read scale-out is an optional feature, not automatic for HA.

57
MCQhard

You have an Azure SQL Managed Instance configured with failover groups to a secondary region. During a disaster, you perform a planned failover to the secondary region. After the primary region recovers, you want to fail back. What should you do first?

A.Add a new secondary replica in the original region.
B.Perform a planned failover from the current primary to the original primary.
C.Start geo-replication from the current primary to the original region.
D.Configure the original primary as a secondary replica.
AnswerB

This re-establishes replication and fails back.

Why this answer

After a planned failover to a secondary region, the secondary region becomes the primary. To fail back to the original primary region, you perform another planned failover from the current primary (the former secondary) to the original primary. This is the only way to switch roles back without data loss.

Option B correctly identifies this process. Option A is wrong because you cannot add a new secondary replica while failover groups are already in place; failover groups manage replicas. Option C is wrong because geo-replication is not used with managed instance failover groups; failover groups handle replication.

Option D is wrong because you cannot directly configure the original primary as a secondary; you must perform a failover.

58
MCQhard

Your Azure SQL Database is configured with active geo-replication to a secondary region. The primary region experiences a complete outage. You initiate a manual failover to the secondary. Users report that some client applications are failing to connect. What is the most likely cause?

A.The secondary server is behind a VPN that clients cannot access.
B.The secondary database is not fully provisioned yet.
C.The server name changed after failover and DNS is not updated.
D.Client applications are using the old connection string pointing to the primary server.
AnswerD

After failover, clients must update the connection string to the new primary server.

Why this answer

After a manual failover in active geo-replication, the secondary becomes the new primary. Client applications that were connecting to the original primary server will have connection strings pointing to that original server's endpoint. Unless the clients update their connection strings to point to the new primary server (the former secondary), they will fail to connect.

Option A is incorrect because geo-replication does not require VPN; the secondary database is accessible over the internet. Option B is incorrect because the secondary database is already provisioned and kept in sync, ready for failover. Option C is incorrect because the server name does not automatically change; the secondary server has its own name, and after failover, the connection string must be updated to that name.

59
MCQeasy

Your company has a policy that requires all Azure SQL Databases to be recoverable to a point in time within the last 5 minutes in the event of a user error. What should you configure?

A.Configure point-in-time restore (PITR) with a retention period of at least 5 minutes
B.Enable zone-redundant configuration
C.Set up active geo-replication to a secondary region
D.Enable long-term backup retention (LTR)
AnswerA

PITR allows restoring to any point within the retention period; default is 7 days, sufficient for 5 minutes.

Why this answer

Point-in-time restore (PITR) allows restoring a database to any point within the retention period. By configuring a retention period that covers at least the last 5 minutes, you can recover from user errors within 5 minutes. The default retention is 7 days, but you can configure it up to 35 days, so 5 minutes is easily achievable.

Option B (zone-redundant configuration) provides high availability within a region but not point-in-time recovery. Option C (active geo-replication) is for disaster recovery to another region. Option D (long-term backup retention) is for backups beyond the PITR retention period, not for short-term recovery.

60
MCQmedium

Refer to the exhibit. You are reviewing an ARM template for deploying an Azure SQL Database. The template specifies a point-in-time restore from a source database. The source database is configured with geo-redundant backup storage. You need to ensure that the restored database can be used for disaster recovery in a different region. What is missing from the template to achieve this?

A.Add a 'location' property to the database resource.
B.Set 'zoneRedundant' to true.
C.Change 'requestedBackupStorageRedundancy' to 'GeoZone'.
D.Set 'createMode' to 'GeoRestore' and specify a target server in the desired region.
AnswerD

GeoRestore allows restoring from geo-redundant backups to a different region.

Why this answer

To perform a point-in-time restore in a different region for disaster recovery, you must set 'createMode' to 'GeoRestore' and specify the target server in the desired region. The template currently uses 'PointInTimeRestore', which only restores to the same region. Option A is incorrect because adding a 'location' property alone does not enable cross-region restore—the restore mode must be changed.

Option B is incorrect because 'zoneRedundant' refers to high availability within a single region, not disaster recovery across regions. Option C is incorrect because 'GeoZone' backup redundancy still does not support cross-region point-in-time restore; geo-restore uses geo-redundant backups automatically.

61
MCQhard

You are the database administrator for a global e-commerce company. The company uses Azure SQL Database in the Business Critical service tier for its transactional database, db1, hosted in the East US region. The database is 500 GB and experiences high write throughput. The current disaster recovery solution uses active geo-replication to a secondary in West US, but during a recent failover drill, the failover took 45 seconds, exceeding the corporate RTO of 30 seconds. The RPO requirement is zero data loss. You need to improve the failover time while maintaining zero data loss. The secondary must be in a different Azure region for compliance. What should you do?

A.Increase the number of replicas in the Business Critical tier to 5.
B.Change the secondary to a General Purpose tier and use async replication.
C.Configure an auto-failover group between East US and West US using zone-redundant deployment within each region and ensure the secondary is zone-redundant.
D.Move both primary and secondary to Hyperscale tier and use named replicas.
AnswerC

Auto-failover groups use asynchronous replication across regions, so they cannot guarantee zero data loss (RPO=0). While they can achieve failover times under 30 seconds, the RPO requirement is not met.

Why this answer

None of the provided options fully satisfy both requirements: zero data loss (RPO=0) and failover time under 30 seconds across regions. Auto-failover groups (Option C) use asynchronous replication across regions, so RPO is not zero. General Purpose tier (Option B) also uses async replication.

Increasing replicas (Option A) does not affect failover time. Hyperscale with named replicas (Option D) does not support cross-region failover. To achieve zero data loss across regions, an alternative solution such as SQL Server on Azure VMs with an availability group or Azure SQL Managed Instance with a distributed availability group would be required.

Exam trap

A common trap is assuming auto-failover groups provide synchronous geo-replication. In reality, they use asynchronous replication, so zero data loss is not guaranteed across regions.

62
Multi-Selecteasy

Which TWO of the following are valid disaster recovery options for Azure SQL Database that provide a secondary in a different Azure region?

Select 2 answers
A.Active geo-replication
B.Failover groups
C.Geo-restore
D.Zone-redundant configuration
E.Auto-failover groups
AnswersA, B

Correct: Creates a secondary in a different region.

Why this answer

Options A and B are correct. Active geo-replication and Failover groups are both valid disaster recovery options for Azure SQL Database that provide a secondary database in a different Azure region. Options C, D, and E are incorrect: Geo-restore (C) restores from backups and does not maintain a continuous secondary; Zone-redundant configuration (D) provides high availability within a single region, not disaster recovery; Auto-failover groups (E) is a feature that enables automatic failover for failover groups, but it is not a separate disaster recovery option—it is part of failover groups.

Exam trap

Candidates often confuse zone-redundant configuration (which is for high availability within a region) with disaster recovery options that span regions.

63
MCQmedium

Refer to the exhibit. You have an Azure SQL Database failover group configured with the ARM template snippet shown. You need to ensure that read-only queries are routed to the secondary region when the primary is healthy. What should you modify?

A.Set the readWriteEndpoint failoverPolicy to Manual.
B.Set the readOnlyEndpoint failoverPolicy to Enabled.
C.Add the database to the partnerServers array.
D.Change the failoverGracePeriodMinutes to 0.
AnswerB

Enabling the read-only endpoint allows routing read-only queries to the secondary.

Why this answer

The readOnlyEndpoint failoverPolicy must be set to Enabled to route read-only queries to the secondary region when the primary is healthy. Option A is incorrect because the readWriteEndpoint failoverPolicy being Manual does not affect read-only routing; it controls failover initiation. Option C is incorrect because adding databases to the partnerServers array is unrelated to read-only routing.

Option D is incorrect because changing the failoverGracePeriodMinutes to 0 does not enable read-only endpoint routing.

64
MCQmedium

Your company runs a financial application on Azure SQL Managed Instance. The primary instance is deployed in North Europe. You need to implement a disaster recovery solution that meets the following requirements: automatic failover to a secondary region in case of a regional outage; the secondary must be readable during normal operations to serve read-only queries; the RPO must be less than 10 seconds; the RTO must be less than 30 seconds; and you must minimize compute costs by using the smallest possible secondary instance size. The primary instance uses the Business Critical service tier. What should you do?

A.Create a failover group with a General Purpose secondary instance in a different region to reduce costs.
B.Create a failover group between the primary and a secondary Business Critical instance in a paired region, and use a smaller compute size for the secondary.
C.Deploy a secondary Business Critical instance in the same region and configure a failover group.
D.Configure active geo-replication to a secondary managed instance in a different region.
AnswerB

Failover groups support different compute sizes for secondary, reducing costs.

Why this answer

A failover group between two Azure SQL Managed Instances in different regions provides automatic failover and a readable secondary. The secondary must be in the Business Critical service tier, matching the primary's tier, but you can use a smaller compute size (fewer vCores) to reduce costs while still supporting read-only workloads. Option A is incorrect because you cannot change the secondary's service tier to General Purpose in a failover group; it must match the primary.

Option C is incorrect because the secondary must be in a different region for disaster recovery. Option D is incorrect because active geo-replication is not supported for SQL Managed Instance; failover groups are the appropriate DR solution.

65
MCQeasy

You need to implement a disaster recovery solution for a SQL Server on Azure Virtual Machine using SQL Server Always On Availability Groups. The secondary replica must be in a different Azure region. What is the minimum number of VMs required to achieve automatic failover?

A.1
B.3
C.4
D.2
AnswerD

Two replicas are the minimum for automatic failover.

Why this answer

(2 VMs). To achieve automatic failover, an Always On Availability Group requires at least two SQL Server replicas (primary and secondary) configured for synchronous-commit mode with automatic failover. A two-node Windows Server Failover Cluster also requires a witness (cloud witness or file share witness) to maintain quorum during automatic failover, but that witness does not require an additional VM.

Therefore, the minimum number of VMs remains 2. Option A (1 VM) offers no high availability. Option B (3 VMs) exceeds the minimum.

Option C (4 VMs) is unnecessary.

66
MCQmedium

You have an Azure SQL Database configured with active geo-replication. The primary region experiences an outage that lasts longer than the recovery time objective (RTO) of 5 minutes. You need to initiate a failover to the secondary region with minimal data loss. What should you do?

A.Initiate a planned failover to the secondary region using the Azure portal.
B.Configure an auto-failover group and let it fail over automatically.
C.Force a failover to the secondary region using a PowerShell script.
D.Use geo-restore to recover the database from the most recent geo-replicated backup.
AnswerC

Correct. Forced failover initiates the failover immediately without waiting for synchronization, making it the only viable option when the primary is unavailable. It uses the latest available data on the secondary, minimizing data loss under the circumstances.

Why this answer

When the primary region is offline, a planned failover is not possible because it requires synchronization with the primary. A forced failover (option C) is the only way to promote the secondary to primary without the primary being online. While it may result in some data loss, it provides the fastest failover, meeting the RTO of 5 minutes.

Option B is incorrect because auto-failover groups have a grace period and may not fail over automatically within the RTO. Option D describes geo-restore from backups, which is not a failover operation.

67
MCQhard

Refer to the exhibit. You are configuring a backup policy for an Azure SQL Database. The database is in the East US region. You need to ensure that the database can be restored to a different region in the event of a regional disaster. Which setting in the exhibit must be correctly configured?

A.The geoBackupPolicy state is Enabled.
B.The geoBackupPolicy location is set to eastus2.
C.The backupStorageRedundancy is set to Geo.
D.The weeklyRetention is set to P4W.
AnswerC

Geo-redundant backups are required for geo-restore.

Why this answer

BackupStorageRedundancy must be set to 'Geo' to enable geo-redundant backups that can be restored to a different region in case of a regional disaster. Option A is incorrect because the geoBackupPolicy state being Enabled simply enables the geo-backup policy, but it does not ensure geo-redundancy if the storage redundancy is not set to Geo. Option B is incorrect because the geoBackupPolicy location indicates where the geo-backup is stored, but the key setting for cross-region restore is the storage redundancy, not the location.

Option D is incorrect because weeklyRetention defines how long weekly backups are retained, which does not affect the ability to restore to a different region.

68
MCQmedium

Refer to the exhibit. You are reviewing an ARM template for an Azure SQL Database backup policy. The database is used for a reporting workload that is updated daily. The compliance team requires that point-in-time restore (PITR) be available for the past 30 days. What action should you take?

A.Change the retentionDays property to 30.
B.Change the diffBackupIntervalInHours to 24.
C.No action is needed; the current policy meets the requirement.
D.Add a long-term retention policy with a weekly retention of 30 days.
AnswerA

retentionDays controls PITR retention; setting to 30 meets the requirement.

Why this answer

The retentionDays property in the ARM template controls the point-in-time restore (PITR) retention period. Currently set to 14 days, it must be changed to 30 days to meet the compliance requirement. Option B is incorrect because diffBackupIntervalInHours specifies the interval for differential backups, not retention.

Option C is incorrect because 14 days does not satisfy the 30-day requirement. Option D is incorrect because long-term retention (LTR) is for archival purposes beyond PITR and does not replace the PITR retention setting.

69
MCQmedium

You have an Azure SQL Managed Instance configured with a failover group between two regions. The primary region becomes unavailable. You need to fail over to the secondary region with minimal data loss. What should you do?

A.Run 'az sql mi failover-group force-failover-allow-data-loss' from the Azure CLI
B.Add the secondary instance to an elastic pool and initiate failover
C.Run 'az sql mi failover-group failover' from the Azure CLI
D.Use Azure portal to initiate geo-failover for the managed instance
AnswerA

This command forces failover to the secondary, accepting potential data loss due to unreplicated transactions.

Why this answer

During a disaster where the primary region is unavailable, the correct action is to force a failover with potential data loss. The Azure CLI command 'az sql mi failover-group force-failover-allow-data-loss' (Option A) performs this forced failover, accepting the risk of data loss to restore availability. Option B is incorrect because adding to an elastic pool is unrelated to failover groups.

Option C is incorrect because 'az sql mi failover-group failover' is not a valid command; the correct command includes 'force-failover-allow-data-loss'. Option D is incorrect because the Azure portal does not directly support geo-failover for managed instances; the CLI or PowerShell must be used for forced failover.

70
Multi-Selectmedium

Which TWO of the following are valid reasons to use zone-redundant configuration for Azure SQL Database? (Choose Two.)

Select 2 answers
A.Reduce read latency for globally distributed users.
B.Automatic failover to a paired region.
C.Protection against a single availability zone failure within a region.
D.Protection against a regional disaster.
E.Higher availability compared to a single zone deployment.
AnswersC, E

Correct.

Why this answer

Zone-redundant configuration for Azure SQL Database replicates databases across multiple availability zones within the same region, providing protection against a single zone failure (option C) and offering higher availability than a single-zone deployment (option E). Option A is incorrect because zone redundancy does not reduce read latency; that is achieved by geo-replication or read scale-out. Option B is incorrect because automatic failover to a paired region is a feature of geo-redundant disaster recovery, not zone redundancy.

Option D is incorrect because zone redundancy does not protect against a full regional disaster; it only protects within a region.

71
Multi-Selectmedium

Which TWO actions should you take to minimize downtime during a planned failover of an Azure SQL Database failover group? (Choose two.)

Select 2 answers
A.Scale up the primary database to a higher service objective.
B.Terminate all active connections to the primary database.
C.Ensure the failover group is configured for manual failover.
D.Disable automatic failover on the failover group.
E.Perform a planned failover from the primary to the secondary.
AnswersC, E

Manual failover allows you to control the timing.

Why this answer

For a planned failover of an Azure SQL Database failover group, you should ensure the failover is manual (C) and then initiate a planned failover (E). This approach gives you control over the timing and ensures no data loss because the secondary is fully synchronized before the switch. Option A (scaling up) does not reduce downtime during failover; it affects performance but not failover behavior.

Option B (terminating connections) is unnecessary because the failover process handles connection redirection. Option D (disabling automatic failover) is not required for a planned failover and could actually increase risk if an unplanned event occurs.

72
MCQeasy

You need to create a disaster recovery plan for an Azure SQL Database that has an RPO of 1 hour and an RTO of 12 hours. Which solution should you use?

A.Failover group with automatic failover.
B.Geo-restore of automated backups.
C.Active geo-replication.
D.Zone-redundant configuration.
AnswerB

Meets the RPO and RTO requirements at lower cost.

Why this answer

Geo-restore of automated backups can achieve an RPO of 1 hour (backups are taken every 5-10 minutes, allowing point-in-time restore within that window) and an RTO of up to 12 hours, meeting the stated requirements. Option A is incorrect because failover groups with automatic failover provide much lower RPO (seconds to minutes) and RTO (minutes), which exceeds the required thresholds and typically incurs higher cost. Option C is incorrect because active geo-replication also offers very low RPO (seconds) and RTO (minutes), exceeding requirements.

Option D is incorrect because zone-redundant configuration only protects against an availability zone failure within a region, not against a regional disaster.

73
Multi-Selectmedium

Which THREE components are required to configure an auto-failover group for Azure SQL Database? (Choose three.)

Select 3 answers
A.Active geo-replication
B.A failover group name
C.Secondary logical server in a different region
D.Primary logical server
E.An availability group listener
AnswersB, C, D

The failover group defines the relationship and failover policy.

Why this answer

The correct components required to configure an auto-failover group for Azure SQL Database are a failover group name (which acts as the logical container), a primary logical server, and a secondary logical server in a different region. Active geo-replication (Option A) is not required because the auto-failover group itself manages the replication process. An availability group listener (Option E) is not needed; the failover group automatically provides a read/write listener endpoint.

Therefore, the correct choices are B, C, and D.

74
MCQmedium

Your Azure SQL Database is configured with a failover group between two regions. The primary database experiences a catastrophic failure that prevents any connectivity. You need to initiate a failover to the secondary region. However, the failover group status shows 'Primary is down'. What should you do?

A.Run a planned failover to ensure zero data loss.
B.Wait for the primary to come back online and then failover.
C.Remove the primary database from the failover group and then failover.
D.Run a forced failover accepting potential data loss.
AnswerD

Correct: Forced failover works even if primary is down.

Why this answer

A forced failover (also called an unplanned failover) is used when the primary database is completely unavailable, and you accept potential data loss. Option A is incorrect because a planned failover requires both the primary and secondary to be online to ensure zero data loss. Option B is incorrect because waiting for the primary to come back online is not an appropriate action when immediate failover is required due to catastrophic failure.

Option C is incorrect because you cannot remove the primary database from a failover group when it is down; the failover group must be failed over as a whole.

75
Multi-Selecthard

Which THREE are valid methods to implement disaster recovery for Azure SQL Database? (Select three.)

Select 3 answers
A.Failover groups
B.Always On availability groups
C.Active geo-replication
D.Long-term backup retention
E.Geo-restore (point-in-time restore)
AnswersA, C, E

Failover groups provide automatic failover and a readable secondary.

Why this answer

Options A, C, and E are correct. Failover groups and active geo-replication are built-in disaster recovery features for Azure SQL Database that allow failover to a secondary region. Geo-restore (point-in-time restore to a different region) is also a valid DR method by restoring from geo-replicated backups.

Option B (Always On availability groups) is a feature for SQL Server on VMs or on-premises, not for Azure SQL Database. Option D (long-term backup retention) is a backup retention capability, not a disaster recovery method.

Page 1 of 3 · 161 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Plan and configure a high availability and disaster recovery environment questions.