exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 6 question 42 discussion

Actual exam question from Microsoft's DP-300
Question #: 42
Topic #: 6
[All DP-300 Questions]

You have an Azure subscription.

You need to deploy two instances of SQL Server on Azure virtual machines in a highly available configuration that will use an Always On availability group. The solution must meet the following requirements:

• Minimize how long it takes to fail over.
• Maintain existing connections to the primary replica during a failover.

What should you do?

  • A. Connect each virtual machine to a different subnet on a virtual network. Deploy a basic Azure load balancer.
  • B. Connect each virtual machine to a different subnet on a single virtual network.
  • C. Connect each virtual machine to a single subnet on a single virtual network.
  • D. Connect each virtual machine to a single subnet on a virtual network. Deploy a standard Azure load balancer.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
voodoo_sh
3 months ago
Selected Answer: C
C: Connect each VM to a single subnet in a vnet. Because, in this scenario we can use DNN, which allows for: Failover time: Failover time is faster when using a DNN listener since there's no need to wait for the network load balancer to detect the failure event and change its routing. Existing connections: Connections made to a specific database within a failing-over availability group will close, but other connections to the primary replica will remain open since the DNN stays online during the failover process. https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-overview?view=azuresql-vm#connectivity
upvoted 1 times
...
bingomutant
8 months ago
I would go with D , and not C as Connect each virtual machine to a single subnet on a single virtual network: This option misses the need for a load balancer to properly route traffic to the appropriate replica in case of failover, which is crucial for maintaining connection continuity during failover.
upvoted 1 times
...
Vitos25
9 months ago
I would go with D
upvoted 1 times
...
bsk1983
1 year, 9 months ago
Selected Answer: C
Answer C is correct because one of the requirements is to maintain existing connections to Primary replica during failover, which is only possible with DNN configuration and this settings works best when Azure SQL Server VMs to a single subnet. we can only go with OPTION C because option D has Azure standard load balancer in the choice which means you can not use DNN so, you either configure Azure Load balancer/VNN with single subnet OR configure DNN with single subnet. Option c meets the requirement, Hence clearly Answer is C. https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-overview?view=azuresql
upvoted 2 times
...
bsk1983
1 year, 9 months ago
Selected Answer: C
Answer C is correct because one of the requirements is to maintain existing connections to Primary replica during failover, which is only possible with DNN configuration and this settings works best when Azure SQL Server VMs to a single subnet. we can only go with OPTION C because option D has Azure standard load balancer in the choice which means you can not use DNN so, you either configure Azure Load balancer/VNN with single subnet OR configure DNN with single subnet. Option c meets the requirement, Hence clearly Answer is C
upvoted 2 times
...
klayytech
1 year, 10 months ago
Selected Answer: C
distributed network name (DNN)
upvoted 1 times
...
testdumps2017
1 year, 10 months ago
it is B without a doubt, as singled out by kenn1234 and vcloudpmp. plus I have done this quite a number of times already: different subnets in the same VNET.
upvoted 4 times
...
kenn1234
1 year, 10 months ago
To match the on-premises experience for connecting to your availability group listener, deploy your SQL Server VMs to multiple subnets within the same virtual network. Having multiple subnets negates the need for the extra dependency on an Azure Load Balancer, or a distributed network name (DNN) to route your traffic to your listener. ref: https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-overview?view=azuresql-vm#connectivity
upvoted 3 times
...
vcloudpmp
1 year, 11 months ago
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/availability-group-load-balancer-portal-configure?view=azuresql-vm There are many methods to deploy an availability group. Simplify your deployment and eliminate the need for an Azure Load Balancer or distributed network name (DNN) for your Always On availability group by creating your SQL Server virtual machines (VMs) in multiple subnets within the same Azure virtual network. If you've already created your availability group in a single subnet, you can migrate it to a multi-subnet environment.
upvoted 2 times
...
klayytech
1 year, 11 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
erreyesarroyo
1 year, 11 months ago
any reason why not d, i think the lb will help in minimizing time?
upvoted 1 times
...
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.

SaveCancel
Loading ...