I say update connection strings.
It is a sort of given (as it's recommended by Microsoft) that firewall rules be the same for master & secondary.
https://docs.microsoft.com/en-us/azure/azure-sql/database/active-geo-replication-overview#keeping-credentials-and-firewall-rules-in-sync
B. Update the connection strings of SalesSQLDb1App1.
Here’s why:
Geo-replicated Azure SQL Database setups typically require that the connection string be updated to point to the new primary database after a failover. Since SalesSQLDb1 is in a geo-replicated environment, the failover can cause the database role to switch, and the application’s connection string must point to the correct replica (the new primary).
Updating the connection string ensures that the application (SalesSQLDb1App1) connects to the appropriate primary replica of SalesSQLDb1.
B is the correct answer. As per the case study scenario the database already has database -level firewall rules and the database is in geo-replication. No need to make changes in the firewall rules as they get replicated to the secondary replica.
The given answer is correct:
C. Update the firewall rules of SalesSQLDb1.
there will be two listeners in the failover group that do not change:
Read/write listener endpoint: <sqlfailovergroup>.database.windows.net
Read-only listener endpoint: <sqlfailovergroup>.secondary.database.windows.net
https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-sql-db?tabs=azure-powershell
Endpoint redirection
Auto-failover groups provide read-write and read-only listener end-points that remain unchanged during geo-failovers. This means you do not have to change the connection string for your application after a geo-failover, because connections are automatically routed to the current primary. Whether you use manual or automatic failover activation, a geo-failover switches all secondary databases in the group to the primary role. After the geo-failover is completed, the DNS record is automatically updated to redirect the endpoints to the new region.
this question is not well formed because you dont know if they are talking about the failover after or before the migration since geo replication has failover and auto failover groups too
This section is not available anymore. Please use the main Exam Page.DP-300 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Raffer
Highly Voted 4 years, 1 month agoJas_dandiwal
Highly Voted 4 years, 1 month agobingomutant
Most Recent 7 months agoItsalwaymethecap
2 years, 10 months agoeric0718
3 years agoeric0718
3 years agoeric0718
3 years agoeric0718
3 years agoreachmymind
3 years, 1 month agoreachmymind
3 years, 1 month agoChunchi
3 years, 2 months agoSmartiup
3 years, 3 months agoxegiwo9758
3 years, 4 months agoramelas
3 years, 5 months agoZiggybooboo
4 years, 1 month agojerkyflexoff
3 years, 5 months agojerkyflexoff
3 years, 5 months ago