exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 13 question 2 discussion

Actual exam question from Microsoft's AZ-500
Question #: 2
Topic #: 13
[All AZ-500 Questions]

HOTSPOT -
You are evaluating the security of the network communication between the virtual machines in Sub2.
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:
Box 1: Yes. All traffic is allowed out to the Internet so you can ping the public IP.
NSG1, NSG2, NSG3, and NSG4 have the outbound security rules shown in the following table.

Box 2: Yes. VM3 is on Subnet12. There is no NSG attached to Subnet12 so the traffic will be allowed by default.


Box 3: No (because VM5 is in a separate VNet).
Note: Sub2 contains the virtual machines shown in the following table.

Comments

Chosen Answer:
This is a voting comment. You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nihao381
Highly Voted 4 years ago
1 -- No, as traffic would be sourced from internet since it is destined to the public IP address of VM2. 2 -- Yes, as VM3 has no NSGs interfering and traffic is contained within the same vnet. 3 -- No, as VM5 is in a separate vnet and there is no mention of any peering going on.
upvoted 100 times
jimmyjose
1 year, 3 months ago
Answer is No, Yes, No. Please note that "Network security groups are processed after Azure translates a public IP address to a private IP address for inbound traffic, and before Azure translates a private IP address to a public IP address for outbound traffic.". Here is the link for reference. https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview It means you need to use some other means to prevent traffic from reaching the public IP of VM2. NSGs will only come in action once the public-to-private IP address translation has taken place.
upvoted 1 times
...
...
benito_nepomuceno
Highly Voted 4 years, 1 month ago
1. [No] because VM1 is trying to reach VM2 with VM2's PUBLIC IP address which should be blocked by NSG1. 2. [Yes] because VM1 and VM3 are in the same VNET and you can reach each other with the private IP address. 3. [Yes] VM5 has NSG4 which allows internet traffic. VM1 can reach VM5 through internet using the public IP.
upvoted 20 times
ChinkSantana
3 years, 9 months ago
Question asked for Privet IP..and not Public IP of VM5
upvoted 5 times
...
longtech
3 years, 10 months ago
The ping to the private ip address of VM5 is No . Because, VM5 do not have application security group, it only true if VM5 configure that.
upvoted 2 times
...
NoMeHo
4 years ago
3. it states private IP, not public IP. Plus, VM5 is on a different network. 3 is No IMO.
upvoted 8 times
Pinto
4 years ago
good observation. The question does not tell anything about peering and routing between the 2 vnets. So, No for sure for 3rd box.
upvoted 5 times
...
...
waqas
3 years, 3 months ago
Option 3 can never be True/Yes, it must be NO...because they are talking abt Private IP not public one and secondly VM1 and VM5 are in different Vnets and also have no Peering between them.
upvoted 7 times
...
...
Sabr_
Most Recent 5 days, 11 hours ago
Exam question 6th April 2025
upvoted 1 times
...
saira23
8 months, 3 weeks ago
In Exam20/07/2024
upvoted 1 times
...
RemmyT
11 months, 1 week ago
Passed. Exam duration 100 min + 20. On the Microsoft site: https://learn.microsoft.com/en-us/credentials/certifications/azure-security-engineer/?practice-assessment-type=certification You will have 100 minutes to complete this assessment. Last Updated 04/30/2024 55 questions (46+9) contoso, 6 questions This question in exam (study case) My answer Y N Y New 3 or 4 questions VM1, SQL1, VNET1, AKS in Google Cloud. What items are protected by Microsoft Defender & default period scan.
upvoted 5 times
...
Ivan80
1 year, 2 months ago
In exam 1/28/24
upvoted 4 times
...
wardy1983
1 year, 4 months ago
Explanation: 1 -- No, as traffic would be sourced from internet since it is destined to the public IP address of VM2.2 -- Yes, as VM3 has no NSGs interfering and traffic is contained within the same vnet.3 -- No, as VM5 is in a separate vnet and there is no mention of any peering going on.
upvoted 3 times
...
Feraso
1 year, 5 months ago
Answer is N N N Box 1: No. All traffic is allowed out to the Internet as per the outbound rule. However, the inbound rules on the NSG1 does not have a rule to allow traffic from Internet and on NSG2 is set to allow traffic from the Internet on port TCP 80 only, hence, Ping will be denied. Box 2: No. VM3 is on Subnet12(same VNet). However, there is no NSG attached to Subnet12 so the traffic will be blocked. All network traffic is blocked through a subnet and network interface if they don't have a network security group associated to them. From <https://learn.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works#inbound-traffic> However, kindly note that if it was the opposite, ping from VM3 to VM1 then the outbound traffic from VM3 will be allowed as the default rule for the outbound traffic is to allow any. Box 3: No (because VM5 is in a separate VNet).
upvoted 1 times
anjanc
2 months, 4 weeks ago
For box 2, kindly note that they are in same vnet and if 2 vm's are in same vnet the default action is allow.
upvoted 1 times
...
...
TheProfessor
1 year, 6 months ago
Ans is N, Y, N. For 1st question, NSG2 only allows traffic from Internet on Port 80.
upvoted 1 times
...
zellck
1 year, 11 months ago
Gotten this in May 2023 exam.
upvoted 7 times
...
billo79152718
1 year, 11 months ago
No, Yes, No - Is correct. I have really looked it through.
upvoted 2 times
...
saturation97
2 years ago
This is like a sick Microsoft mind bending puzzle.
upvoted 3 times
...
majstor86
2 years, 1 month ago
NO YES NO
upvoted 5 times
...
lahl
2 years, 5 months ago
in exam oct. 31st
upvoted 2 times
...
Nick66
2 years, 5 months ago
Associate a public IP address to a virtual machine | Microsoft Learn Public IP addresses are associated to network interfaces attached to a VM Allow network traffic to the VM Before you can connect to the public IP address from the internet, ensure that you have the necessary ports open in any network security group that you might have associated to the network interface, the subnet of the network interface, or both. Though security groups filter traffic to the private IP address of the network interface, once inbound internet traffic arrives at the public IP address, Azure translates the public address to the private IP address, so if a network security group prevents the traffic flow, the communication with the public IP address fails.
upvoted 1 times
...
Muaamar_Alsayyad
2 years, 5 months ago
Answer is NO-YES-NO
upvoted 4 times
...
Diallo18
2 years, 5 months ago
In Exam 10/18/2022. One case study(6 ques), no lab.
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 ...
exam
Someone Bought Contributor Access for:
XK0-005
Mexico City, 1 minute ago