exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 4 question 5 discussion

Actual exam question from Microsoft's AZ-303
Question #: 5
Topic #: 4
[All AZ-303 Questions]

You have two Azure SQL Database managed instances in different Azure regions.
You plan to configure the managed instances in an instance failover group.
What should you configure before you can add the managed instances to the instance failover group?

  • A. an internal Azure Load Balancer instance that has managed instance endpoints in a backend pool
  • B. Azure Private Link that has endpoints on two virtual networks
  • C. an Azure Application Gateway that has managed instance endpoints in a backend pool
  • D. a Site-to-Site VPN between the virtual networks that contain the instances
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
andyR
Highly Voted 4 years, 9 months ago
correct: https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-overview?tabs=azure-powershell
upvoted 32 times
rhr
4 years, 7 months ago
Yes answer is correct
upvoted 5 times
rockyykrish
4 years ago
Enabling geo-replication between managed instances and their VNets: Your secondary instance of SQL Managed Instance must be empty (no user databases). The virtual networks used by the instances of SQL Managed Instance need to be connected through a VPN Gateway or Express Route. When two virtual networks connect through an on-premises network, ensure there is no firewall rule blocking ports 5022, and 11000-11999. Global VNet Peering is supported with the limitation described in the note below.
upvoted 2 times
...
...
medi01
3 years, 9 months ago
Why wouldn't it work with peered VNETs?
upvoted 2 times
KhaledMaster
3 years, 6 months ago
On 9/22/2020 support for global virtual network peering for newly created virtual clusters was announced, but it is not one of the answers
upvoted 1 times
...
...
gizda2
3 years, 8 months ago
No, it is not. https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-configure?tabs=azure-portal#use-private-link Ans is B.
upvoted 4 times
KhaledMaster
3 years, 6 months ago
although it seems logical answer, however the link you provided is talking about failover group for Azure SQL Database not managed instance.!!!
upvoted 1 times
tainguyenit
3 years, 5 months ago
Did you actually read the article? The instances mentioned in the article are SQL Managed Instances, not Azure SQL Database instances. VPN is just an option, it is not a must, so the Answer is B.
upvoted 1 times
JayBee65
3 years, 3 months ago
No it is not. "Create a failover group between two managed instances in Azure SQL Managed Instance ...You will need to either configure ExpressRoute or create a gateway for the virtual network of each SQL Managed Instance, connect the two gateways, and then create the failover group. Now, Using a private link allows you to associate a logical server to a specific private IP address within the virtual network and subnet, but you're not asked to do that. You could do this but you would STILL need to configure ExpressRoute or create a gateway before you could create a private link.
upvoted 1 times
...
...
...
...
...
syu31svc
Highly Voted 3 years, 9 months ago
For two managed instances to participate in a failover group, there must be either ExpressRoute or a gateway configured between the virtual networks of the two managed instances to allow network communication. https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/failover-group-add-instance-tutorial?tabs=azure-portal#create-a-primary-gateway D is correct
upvoted 8 times
...
kanweng
Most Recent 3 years, 3 months ago
Selected Answer: D
Please note, Azure SQL Database managed instances, Not Azure SQL Database, Because each managed instance is isolated in its own VNet, two-directional traffic between these VNets must be allowed. See Azure VPN gateway Refer to Enable geo-replication traffic between two instances https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/auto-failover-group-sql-mi?tabs=azure-powershell
upvoted 2 times
...
olaadejnr
3 years, 3 months ago
Selected Answer: D
D is correct. One of the prerequisites to creating a failover group between two managed instances is to create a connection (could be VPN or an Express Route) between the VNETs hosting the primary and the secondary managed instances. See the link below for the guide to creating a failover group for managed instanced. You will need to either configure ExpressRoute or create a gateway for the virtual network of each SQL Managed Instance, connect the two gateways, and then create the failover group. https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-configure?tabs=azure-portal#sql-managed-instance There is also an option to configure PrivateLink with the failover group but that is not required for the failover group to work.
upvoted 1 times
...
ERROR505
3 years, 3 months ago
Selected Answer: D
Correct is D. Here is the docu for the Azure SQL "Managed Instances" https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-configure?tabs=azure-portal#sql-managed-instance
upvoted 1 times
...
nd78
3 years, 4 months ago
on Exam today 21st Jan, 2022
upvoted 1 times
...
rabindra_barik
3 years, 5 months ago
Correct
upvoted 1 times
...
AberdeenAngus
3 years, 5 months ago
I think this is the sentence which makes the answer D (site-to-site VPN), from https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-configure?tabs=azure-portal#sql-managed-instance You will need to either configure ExpressRoute or create a gateway for the virtual network of each SQL Managed Instance, connect the two gateways, and then create the failover group. As others have said, private link is only an option for Azure SQL Database, as per https://docs.microsoft.com/en-us/azure/private-link/availability
upvoted 1 times
...
gizda2
3 years, 6 months ago
Selected Answer: B
the majority of commenters here didn't have any clue about what peering is... It's clearly B.
upvoted 2 times
...
WChandra
3 years, 10 months ago
To use the primary link, the primary and secondary servers are needed to be in a paired region. It is mentioned in the question that servers are in different regions. Hence correct Answer is D.
upvoted 4 times
...
tita_tovenaar
3 years, 10 months ago
Careful! the document most cited here is https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/failover-group-add-instance-tutorial?tabs=azure-portal, which clearly says: "require Azure ExpressRoute, global VNet peering, or two connected VPN gateways." In other words, VPN is one solution but not required if you peer the networks. The document further explains the VPN option but also says that if the global networks are connected, you can skip this part. So VPN is not a must. However, there is another doc: https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-configure?tabs=azure-portal#use-private-link This is a much simpler setup where private link is the first step to achieve auto fail-over. In my humble opinion, using VPN within Azure networks is essentially wrong, and hence answer B is correct.
upvoted 5 times
SanjSL
3 years, 6 months ago
To use the primary link, the primary and secondary servers are needed to be in a paired region.
upvoted 1 times
...
...
VMUN
3 years, 11 months ago
26-June-21, Passed the exam. Correct Answer
upvoted 3 times
...
jd94
3 years, 12 months ago
6/12/2021. Passed the exam. Site to site VPN
upvoted 2 times
...
SamAsh
4 years ago
D is correct. Managed instances participating in a failover group require Azure ExpressRoute, global VNet peering, or two connected VPN gateways. https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/failover-group-add-instance-tutorial?tabs=azure-portal
upvoted 2 times
...
henry1985
4 years ago
FYI, peering is now supported. https://azure.microsoft.com/en-us/updates/global-virtual-network-peering-support-for-azure-sql-managed-instance-now-available/ https://docs.microsoft.com/en-us/azure/azure-sql/database/auto-failover-group-overview?tabs=azure-powershell#enabling-geo-replication-between-managed-instances-and-their-vnets
upvoted 3 times
...
Ramkid
4 years, 3 months ago
D is correct, as per the link https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/failover-group-add-instance-tutorial?tabs=azure-portal#4---create-a-primary-gateway
upvoted 2 times
...
OLO_90
4 years, 4 months ago
Correct: https://docs.microsoft.com/de-de/azure/azure-sql/database/auto-failover-group-overview?tabs=azure-powershell#enabling-geo-replication-between-managed-instances-and-their-vnets
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 ...