exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 5 question 5 discussion

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

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are designing an Azure solution for a company that wants to move a .NET Core web application from an on-premises data center to Azure. The web application relies on a Microsoft SQL Server 2016 database on Windows Server 2016. The database server will not move to Azure.
A separate networking team is responsible for configuring network permissions.
The company uses Azure ExpressRoute and has an ExpressRoute gateway connected to an Azure virtual network named VNET1.
You need to recommend a solution for deploying the web application.
Solution:
Deploy the web application to a web app hosted in a Standard App Service plan. Create and configure an Azure App Service Hybrid Connections endpoint.
On the on-premises network, deploy the Hybrid Connection Manager. Configure the Hybrid Connection Manager to access both the Hybrid Connection endpoint and the SQL Server instance.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Instead, use VNet Integration.
Note: VNet Integration gives your web app access to resources in your virtual network. VNet Integration is often used to enable access from apps to a databases and web services running in your VNet.
References:
https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet

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
Oz
Highly Voted 5 years, 7 months ago
Please disregard my previous comment, VNET integration is the correct solution, so NO is the right answer here
upvoted 9 times
...
azurecert2021
Most Recent 4 years, 4 months ago
given answer is correct as hybrid connections are used when we dont want to use VPN or express route it has different intent to make outbound calls to specified TCP endpoints. The endpoint can be on-premises, in a virtual network, or anywhere that allows outbound traffic to Azure on port 443.it is connecting to host and port over TCP. As per below link we can not use it with VPN or ExpressRoute. This feature is commonly used to: Access resources in private networks that aren't connected to Azure with a VPN or ExpressRoute. Support the migration of on-premises apps to App Service without the need to move supporting databases. Provide access with improved security to a single host and port per hybrid connection. Most networking features open access to a network. With Hybrid Connections, you can only reach the single host and port. Cover scenarios not covered by other outbound connectivity methods. Perform development in App Service in a way that allows the apps to easily use on-premises resources. https://docs.microsoft.com/en-us/azure/app-service/networking-features
upvoted 1 times
...
glam
4 years, 4 months ago
B. No. VNet integration
upvoted 1 times
...
milind8451
4 years, 4 months ago
Vnet integration access resources that are accessible across ExpressRoute or VPN connections. So Hybrid connection is not the right answer. Scroll to Vnet integration section of this MS article and read yourself to confirm - https://docs.microsoft.com/en-us/azure/app-service/networking-features
upvoted 1 times
...
sanketshah
4 years, 5 months ago
given answer is correct.
upvoted 1 times
...
CloudDummyDude
4 years, 9 months ago
Note that express route can also have microsoft peer included and connections to service bus would use that. People usually think express route is connected only same way like vpn (only to vnet). And other misunderstanding is that microsoft peer mean o365. Using route filters it can route Azure regions public services and for those it is normally used. So I think that this answer is here Yes because express route can be used
upvoted 1 times
...
[Removed]
4 years, 10 months ago
Technically this would work, but the investment on the ER would vanish! So "No" is the correct answer.
upvoted 2 times
...
jadi11
4 years, 10 months ago
NO https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet#access-on-premises-resources
upvoted 1 times
...
Albelev
4 years, 11 months ago
the answer is NO https://docs.microsoft.com/en-us/azure/app-service/networking-features see Outbound use cases section
upvoted 1 times
...
DeveshSolanki
4 years, 11 months ago
Answer is NO.
upvoted 1 times
...
jonnybugaloo
4 years, 12 months ago
I don't like when those question's explanation comes with 'instead". Instead means that you could do this at this way, but instead of this, you should follow another better procedure. But, The question asks if this meet the goal or not. And yes, you can proceed in this way. There is no requirement about administrative efforts, costs, etc...
upvoted 1 times
...
Sourabh1703
5 years ago
The remark contradicts usage of ER for this integration , answer seems to be Yes since that leaves only possibility of usage of Relay. "Gateway-required VNet Integration doesn't enable access to resources available across Azure ExpressRoute connections or works with service endpoints." https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet
upvoted 1 times
...
Jetmahanakorn
5 years ago
No reason to pay extra money for service bus to provide connection as express route exists already. So NO seems correct answer.
upvoted 1 times
...
bolbol
5 years, 4 months ago
B is the right answer. This feature is commonly used to: Access resources in private networks that are not connected to Azure with a VPN or ExpressRoute ref Hybrid connection section: https://docs.microsoft.com/en-us/azure/app-service/networking-features
upvoted 1 times
...
marco1
5 years, 5 months ago
No is correct answer. We don't need Hybrid Connections when we use Express Route
upvoted 1 times
...
tes
5 years, 6 months ago
No is correct answer . Vnet Integration is correct. Hybrid can also do but this "Access resources in private networks that are not connected to Azure with a VPN or ExpressRoute" can be found here: https://docs.microsoft.com/en-us/azure/app-service/networking-features
upvoted 3 times
mindtrax
4 years, 3 months ago
In your URL this is mentioned "Support the migration of on-premises apps to App Service without the need to move supporting databases." so the answer would be Yes in that case.
upvoted 1 times
...
...
kondapaturi
5 years, 7 months ago
Yes is correct. https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections#hybrid-connection-manager
upvoted 2 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 ...