A database administrator is deploying a new Microsoft SQL Server 2022 instance that will host a mission-critical OLTP database. The business requires zero data loss and automatic failover to a secondary server in a different subnet within the same data center. The administrator needs to configure a high-availability solution that supports automatic failover and synchronous commit. Which solution should the administrator implement?
Always On availability groups support synchronous-commit mode, which ensures zero data loss, and can be configured for automatic failover. They do not require shared storage, and they support replicas on different subnets within the same data center. This solution meets the zero data loss and automatic failover requirements.
Why this answer
The requirement for zero data loss and automatic failover in SQL Server 2022 points to Always On availability groups with synchronous-commit mode. This feature supports automatic failover without shared storage and works across different subnets. Failover cluster instances require shared storage, log shipping is manual, and database mirroring is deprecated.
Exam trap
The trap here is selecting a deprecated or manual failover technology like database mirroring or log shipping, which cannot meet the automatic failover and zero data loss requirements in SQL Server 2022.