About this exam
This is the Microsoft exam for the Azure Database Administrator Associate certification, aimed at database administrators who run Azure SQL Database, Azure SQL Managed Instance and SQL Server on Azure VMs. It covers planning and implementing resources, security, monitoring and performance optimization, automation, and high availability and disaster recovery.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
An Azure SQL Database on logical server sql-east (Japan East) is protected by failover group fog-sales, paired with sql-west (Japan West). Read-only failover to the primary remains disabled for the read-only listener. To offload work, a reporting app must always read from the geo-secondary database, and it must keep working without a connection string change after a failover swaps the roles of the two regions. What should the reporting app connect to?
- Asql-east.database.windows.net with ApplicationIntent=ReadOnly
- Bfog-sales.secondary.database.windows.net
- Csql-west.database.windows.net
- Dfog-sales.database.windows.net
Show answer and explanation
Answer:B Use the failover group's read-only listener, <group name>.secondary.database.windows.net.
Why it is correct
A failover group has two listeners. The read-write listener, <group name>.database.windows.net, points to the current primary; the read-only listener, <group name>.secondary.database.windows.net, points to the current secondary. When a failover swaps the roles, DNS is updated, so the reporting app reconnects to the new secondary without changing its connection string. Because read-only failover to the primary is disabled, the reporting load never falls back to the primary while no secondary is reachable.
The other options
- ✗ A The sql-east hostname is fixed, so it keeps pointing to the same server whether that server is primary or secondary after a failover; it cannot follow the geo-secondary role. ApplicationIntent=ReadOnly can select a readable replica in the same region, depending on the service tier and read scale-out configuration, but it does not point to the geo-secondary.
- ✗ C sql-west is the secondary today, but after a failover it becomes the primary and the reporting load lands on it. Pointing at a specific server suits admin tasks that must reach that server.
- ✗ D The read-write listener always points to the primary, so it does not offload the reporting load. It is the endpoint for line-of-business apps that write data.
Key takeaway
Choose by failover group listener. Apps that write → <group name>.database.windows.net (the current primary). Read-only offloading → <group name>.secondary.database.windows.net (the current secondary). A hard-coded hostname still identifies the same server after a failover, but that server now has the opposite role.
Try 33 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Microsoft or any exam provider.