exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 6 question 27 discussion

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

HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.

NSG1 is configured as shown in the following exhibit.

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:

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
JayLearn2022
Highly Voted 2 years ago
I see people saying the question is incomplete but the point of the question is to see if you are paying attention enough to know what you think is missing. Note: NSG1 Applies to Subnet1 only. Yes - VM1 can access the Storage account because there is nothing blocking it the on the virtual network. There is a rule that actually allows outbound access to storage. Yes- VM2 is on the Same VNET there is nothing blocking access to it from VM1 on the Virtual network. The Deny rule for HTTPS_VM1_Deny is for inbound connections from the internet. No- You have a Inbound deny rule for VM1 from the the internet with a destination of the 10.3.0.15 which is in Subnet1. This proves the NSG is associated to Subnet1 and only subnet one because the image shows it is connected to only 1 subnet. VM2 is on Subnet2 which you can determined by its IP address. This means that NSG1 does not apply to VM2.
upvoted 71 times
Rams_84zO6n
1 year, 11 months ago
You explained everything. Thank you.
upvoted 4 times
...
...
qwerty100
Highly Voted 2 years, 6 months ago
I think is : Yes Yes No
upvoted 71 times
metafaim
2 years, 5 months ago
I'm assuming that the NSG is applied to Subnet1. Y. Outbound rules have 145 priority for allow storage1 access Y. Inbound rules has default Vnet to Vnet allow so VM2 can access VM1. The deny rule 110 is for Internet traffic coming in. N. We can see the NSG is associated to 1 subnet from the image.
upvoted 44 times
RVivek
3 months, 1 week ago
Thank You
upvoted 1 times
...
klexams
2 years, 4 months ago
yep seems incomplete. it says it applies to 1 subnet but did not say which subnet.
upvoted 8 times
VivekBishnoi1982
1 year, 8 months ago
We can infer from Inbound rule HTTPS_VM1_Deny that is applied on VM 1 - IP 10..3.0.15 means VM1 is in Subnet1
upvoted 3 times
...
...
yellowdot
1 year, 11 months ago
Yes No - since it's saying it's using the HTTPS protocol "HTTPS ports are dedicated network ports that allow internet users to transmit data via a secure connection encrypted using an SSL/TLS certificate. The most common examples are ports 443 and 8443." No
upvoted 2 times
chair123
1 year, 5 months ago
The rule block communication on port 443 from internet to VM1 But communication between internal networks should be allowed
upvoted 2 times
chair123
1 year, 5 months ago
Forget the answer is Y,Y,N Agree with Metafaim
upvoted 1 times
MentalTree
1 year, 2 months ago
Allow VnetInbound only applies to the VNETS that NSG1 is applied to, NSG1 is only applied to Subnet1 on VNET 1, so only traffic from VNET1 is allowed in. HTTPS_VM1_Deny has no effect on https from VM2 as VM2 is not on the internet. But... DenyAllInbound blocks VM2 because VM is not on VNET1.
upvoted 1 times
...
...
...
...
...
...
AADAZURE
Most Recent 5 days, 16 hours ago
Yes No (VMs are on 2 different VNETs that are not peered) No
upvoted 1 times
...
Dankho
4 months, 2 weeks ago
I'm going to first assume that the NSG is related to one subnet and that is subnet1. Clues that help me conclude that: "Associated with: 1 subnet" and Inbound rule #1 has a destination of VM1 which is in Subnet1. 1 - Y, Outbound rule 1 has a storage destination from VNet of VM1 with Allow 2 - Y, Inbound rule HTTPS_VM1_Deny doesn't apply since VM2 is not on the Internet. AllowVnetInBound rule does apply 3 - N, because of the main clue in the top right "Associated with: 1 subnets". If it applied to any virtual machine on VNet1 than you would see associated with 2 subnets.
upvoted 3 times
...
[Removed]
5 months ago
WRONG Yes Yes No
upvoted 3 times
...
PhiloUK
8 months ago
I want to become an Azure admin not Azure detective ffs
upvoted 7 times
...
23169fd
9 months ago
It is Y Y N. Yes: There are no outbound restrictions preventing this traffic. Yes: Since VM2 is in subnet2, the rule that denies access from the Internet does not apply to internal traffic between subnets. The default allow rules for Virtual Network should permit traffic between VMs in different subnets within the same VNET. No: NSG1 is associated with subnet1 in VNET1, so the security rules apply only to the VMs in subnet1, not to all VMs in VNET1.
upvoted 1 times
...
ManfredAppleWhite
10 months, 2 weeks ago
Y, N, N Y'all give me heartburn lmfao
upvoted 4 times
Josh219
3 months ago
CORRECT IS YES YES NO
upvoted 1 times
...
...
LovelyGroovey
10 months, 3 weeks ago
NO NO YES
upvoted 1 times
SarahMed
10 months, 3 weeks ago
Hello, please when you will pass the exam?
upvoted 1 times
...
...
bobothewiseman
11 months, 1 week ago
correct answer: YYN NSG is assigned to Subnet 1. 1st box: outbound rule has allow rule for storage 2nd box: Priority 110 does not apply, this rule is for internet (outside) connection Priority 65000 will apply for vnet-vnet which is allowed 3rd box. NSG rule applies to Subnet 1
upvoted 2 times
...
Amir1909
11 months, 2 weeks ago
Yes Yes No
upvoted 1 times
...
FatFatSam
1 year, 1 month ago
Hi All, I have a question. How VM1 can access storage1 with an outbound rule that block any internet access and there isn't any private endpoint and service endpoint mentioned in the question.
upvoted 1 times
FlaShhh
1 year ago
there is an outbound rule named Storage_Access that has higher priority than the Block_Internet rule
upvoted 1 times
...
...
MentalTree
1 year, 2 months ago
YNN 1. Allowed by outbound rule 2. Blocked by DenyAllInbound, explanation: -Allow VnetInbound will allow all traffic between peered VNETs, it will not allow traffic from all sources on VNETs to reach all destinations on VNETs. --The destination of the rule is VirtualNetwork, so traffic can come into the virtual network, but there is no rule that allows HTTPS traffic from the virtual network into the VM. 3. Only applied to VMs one Subnet.
upvoted 2 times
Indy429
1 year, 2 months ago
You're wrong on 2. There's also a policy on AllowVnetOutbound so answer should be YES for box 2.
upvoted 1 times
Indy429
1 year, 2 months ago
Also AllowVnetOutbound and AllowVnetInbound both have a higher ranking in priority than the policy you are claiming. The answer to 2 should def be Yes.
upvoted 1 times
...
...
...
SgtDumitru
1 year, 3 months ago
1) Yes - Rule `Storage_Access` is allowing access to storage accounts; 2) Yes - Rule `Deny_VM1` is only for Internet Inbound, not for VirtualNetwork, so VM2 can access VM1 via HTTPS; 3) NO - NGS is associated only to Subnet1.
upvoted 1 times
...
marioZuo
1 year, 7 months ago
We assume that storage account allow VM1 to connect. Otherwise not what the NSG rule is, VM1 can't connect to storage account!
upvoted 1 times
...
Josete1106
1 year, 7 months ago
Yes Yes No This is correct!
upvoted 2 times
...
[Removed]
1 year, 8 months ago
please find my understanding below: Yes -> VM1 can access storage1 -> because 443 is allowed. Yes -> VM2 can access VM1 by using the HTTPS protocol -> because HTTPS outbound is allowed Yes -> The security rules for NSG1 apply to any virtual machine on VNET1 -> becasue there is no restrictions
upvoted 1 times
sawanti
1 year, 7 months ago
NSG is only associated with the subnet, not whole VNET, so the third one is NO
upvoted 3 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:
SY0-701
London, 1 minute ago