1Y0-401 · Question #142
How should the architect implement database high availability in SQL Server?
The correct answer is A. By using SQL Server Mirroring. SQL Server Mirroring is an effective high-availability solution that maintains a hot standby database, ensuring rapid failover and minimal data loss for a single database.
Question
Options
- ABy using SQL Server Mirroring
- BBy using SQL Server replication
- CBy implementing SQL Server log shipping
- DBy using hypervisor high availability
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- C5% (1)
Why each option
SQL Server Mirroring is an effective high-availability solution that maintains a hot standby database, ensuring rapid failover and minimal data loss for a single database.
SQL Server Mirroring provides a high-availability solution for a single user database, maintaining a synchronized copy (mirror) that can be quickly brought online as the principal database in case of a failure, offering automatic failover and transaction-level redundancy.
SQL Server replication is primarily a data distribution technology used for copying and synchronizing data between databases, not a real-time high-availability solution for immediate failover.
SQL Server log shipping involves periodically backing up and restoring transaction logs from a primary to one or more secondary databases, providing disaster recovery but not automatic, near-instantaneous failover for high availability.
Hypervisor high availability (e.g., VMware HA, Hyper-V Failover Clustering) ensures the availability of the virtual machine running SQL Server, but it does not provide database-level high availability or protect against database corruption or logical failures within the SQL Server instance itself.
Concept tested: SQL Server database high availability
Source: https://learn.microsoft.com/en-us/sql/database/database-mirroring-sql-server
Topics
Community Discussion
No community discussion yet for this question.