exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 3 question 31 discussion

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

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

Subnet1 and Subnet2 have a Microsoft.Storage service endpoint configured.
You have an Azure Storage account named storageacc1 that is configured as shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
The public IP of VM1 is allowed through the firewall.

Box 2: No -
The allowed virtual network list is empty so VM2 cannot access storageacc1 directly. The public IP address of VM2 is not in the allowed IP list so VM2 cannot access storageacc1 over the Internet.

Box 3: No -
The allowed virtual network list is empty so VM3 cannot access storageacc1 directly. VM3 does not have a public IP address so it cannot access storageacc1 over the Internet.
Reference:
https://docs.microsoft.com/en-gb/azure/storage/common/storage-network-security

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
sukhdeep
Highly Voted 4 years, 4 months ago
Given answer is correct because they did not select any private network for storage access and VM1 has access via Public IP address.
upvoted 63 times
kimalto452
4 years, 1 month ago
NO, NO , NO With service endpoints, the source IP addresses of the virtual machines in the subnet for service traffic switches from using public IPv4 addresses to using private IPv4 addresses. Existing Azure service firewall rules using Azure public IP addresses will stop working with this switch. Please ensure Azure service firewall rules allow for this switch before setting up service endpoints. You may also experience temporary interruption to service traffic from this subnet while configuring service endpoints.
upvoted 41 times
akp1000
3 years, 9 months ago
Wrong. The question is about service endpoints and not private endpoints
upvoted 9 times
mansc3wth1s
3 years, 5 months ago
"Service Endpoints enables private IP addresses in the VNet to reach the endpoint of an Azure service without needing a public IP address on the VNet." IF they were all in the same subnet. Then they all would be y,y,y buuuuut the answer is Y,N,N. Give answer in this question is correct. It's OLD question so be wary if you're new. It may be changed.
upvoted 7 times
mansc3wth1s
3 years, 5 months ago
I CANT EDIT! I MEANT TO SAY IF ON THE SAME VNET! IF THEYRE ON THE SAME VNET.
upvoted 3 times
...
...
...
vj77
3 years, 11 months ago
"Please ensure Azure service firewall rules allow for this switch"; is this condition not met by the firewall rule shown? and so that way the connection should still work?
upvoted 1 times
rawrkadia
3 years, 11 months ago
No, because of the service endpoints on both subnet. They just explained why it doesn't work.
upvoted 2 times
...
...
ChinkSantana
4 years, 1 month ago
Correct. NO, NO, NO
upvoted 12 times
...
...
Hot_156
4 months, 3 weeks ago
I DID LAB THIS!!!! Y - PaaS service and Network/FW configurations work differently then IaaS. If you set a VM to allow specific access within the subnet or no access, any other VM won't be able to access but with PaaS services like service enpoint, it is not the case. N N
upvoted 1 times
...
...
hang10z
Highly Voted 4 years, 4 months ago
In this case the answer would be NO NO NO since service endpoints are configured on the Subnets so traffic between the VM and the storage account is all internal (using private ip not public) Trusted Microsoft Services does not include Virtual Machines. Tricky question!
upvoted 34 times
sureshatt
4 years, 4 months ago
agree with your answer. Its NO, NO, NO. Enabling service endpoints turns all requests to use private IP address. "Today, Azure service traffic from a virtual network uses public IP addresses as source IP addresses. With service endpoints, service traffic switches to use virtual network private addresses as the source IP addresses when accessing the Azure service from a virtual network." https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#secure-azure-services-to-virtual-networks
upvoted 11 times
...
...
schpeter_091
Most Recent 8 months, 1 week ago
Y-N-N When I use service endpoints, it means that i restrict specific subnets inside the VNET to connect to that storage account. (only the selected ones are allowed) I can add a firewall rule, as the VM's public IP to connect to that storage account. Public IP can co-exist with service endpoints.
upvoted 1 times
...
pentium75
1 year ago
NO,NO,NO "With service endpoints, the source IP addresses of the virtual machines in the subnet for service traffic switches from using public IPv4 addresses to using private IPv4 addresses. Existing Azure service firewall rules using Azure public IP addresses will stop working with this switch." https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 1 times
...
saira23
1 year ago
In the exam 19/07/2024
upvoted 2 times
...
epomatti
1 year, 7 months ago
NO, NO, NO Tested and confirmed. I'm afraid the given answer in incorrect. "With service endpoints, the source IP addresses of the virtual machines in the subnet for service traffic switches from using public IPv4 addresses to using private IPv4 addresses. Existing Azure service firewall rules using Azure public IP addresses will stop working with this switch. Please ensure Azure service firewall rules allow for this switch before setting up service endpoints. You may also experience temporary interruption to service traffic from this subnet while configuring service endpoints." https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 3 times
...
morito
1 year, 7 months ago
After reviewing the current configuration setup, I believe the answer is indeed Y,N,N. Ticking "Allow Azure Services on the trusted services list to access this storage account" does not create service endpoints, but allows Azure Services like Azure Backup to access the storage account. A private endpoint that would link directly into the vnet is not configured, hence no service endpoint connection gets established. Check this link: https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal#trusted-access-for-resources-registered-in-your-subscription to see what counts as a trusted azure service.
upvoted 1 times
pentium75
1 year ago
"Ticking 'Allow Azure Services on the trusted services list to access this storage account' does not create service endpoints" - Yes, but the question specifically says that "Subnet1 and Subnet2 have a Microsoft.Storage service endpoint configured."
upvoted 1 times
...
...
bob_sez
1 year, 8 months ago
From my research on this: https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal#manage-exceptions By design, access to a storage account from trusted services takes the highest precedence over other network access restrictions. That said, Compute is not part of the trusted services that are allowed to access storage account based on that setting. Yes, with a virtual network with service endpoints the communication is over private IP, but those have to be listed in the exception. So, No for all from me.
upvoted 2 times
...
wardy1983
1 year, 9 months ago
Box 1: Yes - The public IP of VM1 is allowed through the firewall. Box 2: No - The allowed virtual network list is empty so VM2 cannot access storageacc1 directly. The public IP address of VM2 is not in the allowed IP list so VM2 cannot access storageacc1 over the Internet. Box 3: No - The allowed virtual network list is empty so VM3 cannot access storageacc1 directly. VM3 does not have a public IP address so it cannot access storageacc1 over the Internet.
upvoted 5 times
...
JunetGoyal
1 year, 9 months ago
Y,N,N Just want to talk about First one other 2 all are okey with N. Just think even service end point is enable not allowed, still public Ip is allowed. VM1 will behave like any laptop in this case outside of azure. Definitely you cannot use PRivate Ip, but public Ip will make it work for Blob
upvoted 1 times
JunetGoyal
1 year, 9 months ago
Also Service End point allow backbone Network to communicate through private Ip, does not mean It will block public ip access
upvoted 1 times
...
...
InnoMaf
1 year, 10 months ago
The correct answer is No, No, No. By enable service endpoint, the source IP for the VM becomes the private IP space from its VNET and not the public IP. The storage account the allows access of the allowed subnet. Ref https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 1 times
...
ESAJRR
1 year, 11 months ago
YES NO NO
upvoted 2 times
...
majstor86
2 years, 5 months ago
YES NO NO
upvoted 7 times
...
ligu
2 years, 5 months ago
Answers are correct
upvoted 1 times
...
fonte
2 years, 7 months ago
Replicated the scenario in lab and got No, No, No. "This request is not authorized to perform this operation. This storage account's 'Firewalls & virtual networks' settings may be blocking access to storage services. Try adding your client IP address to the firewall exceptions, or by allowing access from 'all networks' instead of 'selected networks'. " For #1 I then tested adding the private subnet and I was then able to access the storage. Removed the subnet and was blocked again. Definite answer: No, No, No.
upvoted 9 times
...
JohnBentass
2 years, 7 months ago
yes,no,no
upvoted 1 times
...
Amit3
2 years, 11 months ago
Answers are N,N,N Tested in lab env, for 1. VM uses private IP when service endpoint is configured in subnet, hence you get authorization error, even though public IP of VM is defined and whitelisted under Storage Firewall.
upvoted 9 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 ...