Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 3 question 15 discussion

Actual exam question from Microsoft's AZ-700
Question #: 15
Topic #: 3
[All AZ-700 Questions]

You have the Azure environment shown in the exhibit.

VM1 is a virtual machine that has an instance-level public IP address (ILPIP).
Basic Load Balancer uses a public IP address. VM1 and VM2 are in the backend pool.
NAT Gateway uses a public IP address named IP3 that is associated to SubnetA.
VNet1 has a virtual network gateway that has a public IP address named IP4.
When initiating outbound traffic to the internet from VM1, which public address is used?

  • A. IP1
  • B. IP2
  • C. IP3
  • D. IP4
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
christianpageqc
Highly Voted 2 years, 11 months ago
According to this article correct answer would be NAT Gateway (IP3) https://docs.microsoft.com/en-us/azure/virtual-network/nat-gateway/nat-gateway-resource#nat-and-vm-with-instance-level-public-ip
upvoted 98 times
Bharat
2 years, 11 months ago
I believe that you are correct.
upvoted 5 times
...
christianpageqc
2 years, 11 months ago
More this https://docs.microsoft.com/en-us/azure/virtual-network/nat-gateway/nat-gateway-resource#nat-and-vm-with-instance-level-public-ip-and-public-load-balancer Anyway the article says "On a subnet with a NAT gateway, all outbound to Internet scenarios are superseded by the NAT gateway"
upvoted 35 times
nkhan19
2 years, 7 months ago
the key is "superseded" ONLY if the traffic goes via LB else , ILPIP is prioritized.
upvoted 2 times
vunder
2 years, 5 months ago
No, the article says " When NAT gateway is configured to subnets, all previous outbound configurations, such as Load balancer or instance-level public IPs (IL PIPs) are superseded and NAT gateway directs all outbound traffic to the internet. " So the correct answer is C: Ref: https://docs.microsoft.com/en-us/azure/virtual-network/nat-gateway/nat-gateway-resource#connect-to-the-internet-with-nat-gateway
upvoted 19 times
pear77777
1 year, 5 months ago
Another benefit of Instance-Level Public IP Address is that it is used as the Outgoing IP address of the VM when connecting to external endpoints. Since a PIP uniquely identifies a VM the receiver can easily whitelist or identify the source of the traffic. For scenarios requiring large number of outbound connections such as Web crawler, it is recommended that the VMs uses Instance-Level public IPs so that it has dedicated outbound IP for Source Network Address Translation (SNAT)
upvoted 1 times
...
...
...
Takloy
2 years, 8 months ago
This is the only explanation I need. Thanks!
upvoted 1 times
...
...
js_orozco
1 year, 3 months ago
That's right! From top to bottom preference: NAT Gateway Public IP > Backend Standard LB (with defined outbound rules) > Backed Basic Public LB > VM IL Public IP.
upvoted 2 times
...
...
northgaterebel
Highly Voted 2 years, 10 months ago
Selected Answer: C
https://docs.microsoft.com/en-us/azure/virtual-network/nat-gateway/nat-gateway-resource#nat-and-vm-with-instance-level-public-ip-and-public-load-balancer
upvoted 13 times
...
itmaster
Most Recent 1 week, 3 days ago
Selected Answer: C
A NAT gateway automatically connects outbound to the internet after being attached to a public IP address or prefix and a subnet. A NAT gateway takes priority over Azure Load Balancer with outbound rules, instance-level public IP addresses on virtual machines (VMs), and Azure Firewall for outbound connectivity. https://learn.microsoft.com/en-us/azure/nat-gateway/faq#how-can-i-use-a-nat-gateway-to-connect-outbound-in-a-setup-where-i-m-currently-using-a-different-service-for-outbound
upvoted 1 times
...
voldemort123
11 months, 4 weeks ago
https://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-design "In the presence of other outbound configurations within a virtual network, such as a load balancer or instance-level public IPs (IL PIPs), the NAT gateway takes precedence for outbound connectivity" IP3 is correct
upvoted 1 times
...
Az700crasher
1 year ago
According to Microsoft Learn, when a NAT gateway is attached to a subnet within a virtual network, the NAT gateway assumes the subnet’s default next hop type for all outbound traffic directed to the internet. No extra routing configurations are required. NAT Gateway doesn’t provide unsolicited inbound connections from the internet 12. NAT gateway takes precedence over other outbound connectivity methods, including Load balancer, instance-level public IP addresses, and Azure Firewall. When NAT gateway is configured to a virtual network where a different outbound connectivity method already exists, NAT gateway takes over all outbound traffic moving forward 1. I hope this helps!
upvoted 2 times
...
azure_dori
1 year, 1 month ago
Selected Answer: C
C is the correct answer. https://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-design#connect-to-the-internet-with-a-nat-gateway
upvoted 1 times
...
Lazylinux
1 year, 1 month ago
Selected Answer: C
I C As per MS guidelines for outbound connections NAT gateway takes precedence over other outbound connectivity methods, including Load balancer, instance-level public IP addresses, and Azure Firewall.
upvoted 2 times
...
Kipruto
1 year, 5 months ago
"In the presence of other outbound configurations within a virtual network, such as Load balancer or instance-level public IPs (IL PIPs), NAT gateway takes precedence for outbound connectivity. All new outbound initiated and return traffic starts using NAT gateway. There's no down time on outbound connectivity after adding NAT gateway to a subnet with existing outbound configurations." so correct answer is NAT Gateway (IP3)
upvoted 1 times
...
RockyAnil
1 year, 6 months ago
Selected Answer: C
NAT takes precedence
upvoted 1 times
...
AzureLearner01
1 year, 6 months ago
I think this question or scenario is not right. You can‘t add a NAT gateway to a subnet that have a load balancer with basic sku. Tried this in a lab and i needed to change the loadbalancer to standard sku with standard ip and not basic.
upvoted 1 times
...
GiorgioLDN
1 year, 6 months ago
Selected Answer: C
See the "NAT and VM with an instance-level public IP" section at: https://learn.microsoft.com/en-us/azure/virtual-network/nat-gateway/nat-gateway-resource#nat-and-vm-with-instance-level-public-ip
upvoted 1 times
...
JennyHuang36
1 year, 7 months ago
In exam Feb, 2023
upvoted 2 times
...
Rajan395
1 year, 7 months ago
correct answer
upvoted 1 times
...
TJ001
1 year, 8 months ago
IP3.. NAT gateway is priority
upvoted 1 times
...
zukako
1 year, 8 months ago
IP3 is correct. NAT Gateway is most prioritiesed.
upvoted 1 times
...
Nicolas_UY
1 year, 9 months ago
Selected Answer: C
https://learn.microsoft.com/en-us/azure/virtual-network/nat-gateway/nat-gateway-resource Any outbound configuration from a load-balancing rule or outbound rules is superseded by NAT gateway. The VM will also use NAT gateway for outbound. Inbound originated isn't affected. The question is for outbound, inbound will use ILPIP
upvoted 1 times
...
Nicolas_UY
1 year, 9 months ago
Selected Answer: A
When initiating outbound traffic from VM1, the instance-level public IP address (ILPIP) of VM1 would be used. This is because the ILPIP is the public IP address associated specifically with VM1, and would be used for outbound traffic originating from that virtual machine. The public IP address associated with the Basic Load Balancer and the NAT Gateway, as well as the public IP address associated with the virtual network gateway, would not be used for outbound traffic originating from VM1.
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 ...