exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 6 question 8 discussion

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

HOTSPOT -
You have the network topology shown in the following exhibit.

You have a user-defined route that has a default route of 0.0.0.0/0 and the next hop set to the network virtual appliance.
You configure the Azure Storage account to use virtual network service endpoints.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview

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
[Removed]
Highly Voted 4 years, 11 months ago
1. From VM1 traffic destined to the Azure Key Management Service will be routed to the network virtual appliance. > If "Azure Key Management Service" refers to an "Azure Key Vault" which is missing on the picture, then the default behaviour would be to reach it via public IP/internet. However there is no clear hint in the picture. Still I would answer "Yes" 2. From VM1, traffic destined to the Azure file share will be routed to the internet. > This won't be routed through the internet, as there is a service endpoint. This adds an additional route that will have a longer prefix and therefor directly route traffic to it. So answer is "No" 3. From VM1, traffic destined to the Azure SQL database will be routed to the internet. > I think we can assume SQL DB having a public IP (picture shows no private link). Now VM1 looks up it's local routing table, doesn't find a match and forwards it to it's default gateway. Now the UDR kicks in and forwards it to the NVA. From here on I'd say we can only guess. The text gives us no clue about a specific route so I'd assume a default route pointing to the internet as well. So I would answer "Yes".
upvoted 8 times
heany
4 years, 2 months ago
this question is to test forced tunneling base on expressroute. the Link below is for VPN for it also mentioned how it works on expressroute. So last one is No. Given answer is correct. https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm
upvoted 2 times
...
ExamWynner
4 years, 10 months ago
Agree 1 &2, for 3, VM1 -> Azure SQL, didn't mention service point, then will go to NVP. Same with 1. Answer: No.
upvoted 4 times
...
malv31r0
4 years, 10 months ago
From: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview "Internet: Routes traffic specified by the address prefix to the Internet. The system default route specifies the 0.0.0.0/0 address prefix." As such "0.0.0.0/0" = "Internet" and the questions are about if UDR is used or not. 1. All Azure services have Internet IPs - YES 2. Endpoint creates route that has precedence over UDR. - NO 3. Because there is no Endpoint same rule that in 1 applies - YES
upvoted 3 times
levianthan
4 years, 9 months ago
Exactly. NVA routes it to Internet unless there is a Service Endpoint on NVA subnet.
upvoted 2 times
...
...
exams0123456
4 years, 9 months ago
For SQL DB, the routing is based upon the private DNS Zone created for the private link of SQL DB (not based upon Public IP). I tried this yesterday on our Azure cloud and the NVA pinged to Azure SQL DB correctly using the private DNS record and not based upon any public IP. Hence the answer should be "No"
upvoted 1 times
arseyam
4 years, 5 months ago
Which means you have created a private endpoint for your Azure SQL Database which is not the case in this question. The answer should be (YES) as the traffic is routed through the internet and has to be routed via the NVA.
upvoted 2 times
...
...
...
rwrogers11
Highly Voted 5 years, 1 month ago
VNet Endpoints are added to the route table as system routes. Azure selects routes in the following order: 1. User-Defined route 2. BGP route 3. System route So the answers are correct.
upvoted 7 times
PatMan
5 years ago
"If you've enabled a service endpoint for a service, traffic to the service is not routed to the next hop type in a route with the 0.0.0.0/0 address prefix"
upvoted 1 times
...
levianthan
4 years, 9 months ago
Actually no. Azure selects routes the same way routers do: more specific route (smaller address range) has priority. That means a 0.0.0.0/0 comes dead last. Since Azure uses /32 for Service Endpoints, they come first.
upvoted 1 times
...
...
glam
Most Recent 4 years, 4 months ago
Yes No No
upvoted 1 times
...
milind8451
4 years, 5 months ago
100% Sure ans is - (tried and tested) Yes No Yes (SQL request will go to NVA) When you override the 0.0.0.0/0 address prefix, in addition to outbound traffic from the subnet flowing through the virtual network gateway or virtual appliance Azure sends all traffic to the next hop type specified in the route, including traffic destined for public IP addresses of Azure services. When you create a user-defined or BGP route with a Virtual network gateway or Virtual appliance next hop type however, all traffic, including traffic sent to public IP addresses of Azure services you haven't enabled service endpoints for, is sent to the next hop type specified in the route. https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 2 times
levo017
4 years, 4 months ago
as per your answer, the third should be NO, right ? It goes to NVA, instead of Internet.
upvoted 1 times
...
...
sanketshah
4 years, 5 months ago
given answer is correct.
upvoted 1 times
...
user_name
4 years, 9 months ago
Here is ExpressRoute. so for last 2 options NO. First - Yes
upvoted 1 times
...
Ajoeb
4 years, 9 months ago
As mentioned in the question, 0.0.0.0/0 address prefix with a custom route goes to the NVA. so traffic stays on the Azure backbone.
upvoted 1 times
...
Ajoeb
4 years, 9 months ago
If the destination address is for one of Azure's services, Azure routes the traffic directly to the service over Azure's backbone network, rather than routing the traffic to the Internet. Traffic between Azure services does not traverse the Internet, regardless of which Azure region the virtual network exists in, or which Azure region an instance of the Azure service is deployed in. Azure SQL and Azure File are Azure services, so traffic is not routed through the internet, but directly through the Azure backbone. You can override Azure's default system route for the 0.0.0.0/0 address prefix with a custom route.
upvoted 1 times
...
RNA
4 years, 10 months ago
Answers are correct, as all the request routed to virtual appliance and nothing to internet.
upvoted 1 times
levianthan
4 years, 9 months ago
And where do you think the NVA routes it to?
upvoted 1 times
...
...
jmprbridge
4 years, 11 months ago
There is no internet access anywhere, all traffic is routed through NVA, as per 0.0.0.0/0 in the UDR. Express Route it doesn't flow through internet, is and isolated connection straight away to Azure.
upvoted 1 times
...
kuome
4 years, 11 months ago
Given answers correct. 'You can define a route with 0.0.0.0/0 as the address prefix and a next hop type of virtual appliance, enabling the appliance to inspect the traffic and determine whether to forward or drop the traffic. '
upvoted 1 times
...
chaudh
5 years ago
give answers correct
upvoted 2 times
...
vrana
5 years, 1 month ago
All answers are correct, refer this: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 4 times
crmo
4 years, 11 months ago
"If the destination address is for one of Azure's services, Azure routes the traffic directly to the service over Azure's backbone network, rather than routing the traffic to the Internet."
upvoted 3 times
s1fd01
4 years, 4 months ago
That's under Next Hop Internet. Next hop in this question is network virtual appliance.
upvoted 1 times
...
...
...
rwrogers11
5 years, 1 month ago
I think User Defined Routes come before any other, including Service Endpoints
upvoted 1 times
nshine1988
4 years, 11 months ago
"Service endpoint routes override any BGP or UDR routes for the address prefix match of an Azure service." https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 1 times
...
...
lepperboy
5 years, 1 month ago
should be no routing to the storage account - its end point should be on same subnet as per diagram, so no need to use default route 0.0.0.0
upvoted 1 times
...
senatori
5 years, 2 months ago
i agree for answer 1 & 3 but not for 2. If there is a service endpoint, you contact directly the Azure File. It has priority over the 0.0.0.0/0 in the same udr. "VirtualNetworkServiceEndpoint: The public IP addresses for certain services are added to the route table by Azure when you enable a service endpoint to the service. Service endpoints are enabled for individual subnets within a virtual network, so the route is only added to the route table of a subnet a service endpoint is enabled for."
upvoted 2 times
pieixoto
5 years, 1 month ago
You are missing that question 2 is asking if traffic is directed to the Internet. It is not. The next hop type in the routing table would be VirtualNetworkServiceEndpoint and NOT Internet (even though the endpoint does use a public IP, it is not routed via the Internet and stays on the Microsoft backbone). reference https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
upvoted 4 times
...
...
SilentH
5 years, 3 months ago
Is there a UDR from VM1 to the Azure SQL DB? The drawing looks like there's only a UDR to Azure Files. So, wouldn't the 3rd statement (VM1 to Azure SQL DB) be 'Yes' (routed to the Internet)?
upvoted 4 times
S44int
5 years, 2 months ago
I think nothing is routed to the internet, 0.0.0.0/0 points to the NVA. So I think the traffic to the SQL DB is also routed to the NVA.
upvoted 11 times
MeasService
5 years, 2 months ago
If we consider nothing is routed to internet, then all answers are correct. But if we assume there is internet after NVA, then trafic to SQL DB should be routed via internet. I am not fully confident about this.... the picture does not show any internet. it shows Express route. so.. more or less assumption is internet trafic is routed via on prem. ...........
upvoted 3 times
tartar
4 years, 9 months ago
Yes No No
upvoted 1 times
levianthan
4 years, 9 months ago
3 is No only if there is Service Endpoint for SQL on the NVA subnet. Else it goes to Internet.
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 ...