exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 7 question 6 discussion

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

HOTSPOT
-

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



You have an Azure Cosmos DB account named cosmos1 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.

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
Alexbz
Highly Voted 1 year, 8 months ago
N,Y,Y Service endpoint is enabled for VNet1/Subnet1 so VM1 connects thou MS backbone to Cosmos DB instead of using Internet. Service endpoint is disabled for VNet1/Subnet2 so VM2 using its public IP address to connect to the Cosmos DB. There is no service endpoint for VNet2 then VM3 using its public IP address to connect to the Cosmos DB.
upvoted 33 times
[Removed]
6 months, 3 weeks ago
Alexbz is correct, service endpoint enabled will disable the Public IP rule https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#:~:text=.%20Existing%20Azure%20service%20firewall%20rules%20using%20Azure%20public%20IP%20addresses%20will%20stop%20working%20with%20this%20switch.
upvoted 1 times
...
Anarchira
1 year, 7 months ago
Sorry Alex, maybe I'm making a mistake, but the question does not specify that the service endpoint is enabled, only the security of the database, based on this the answer should be YES,NO,YES. where is the service endpoint specified?
upvoted 2 times
[Removed]
1 year, 7 months ago
In the screenshot endpoint status subnet1 enabled subnet2 disable
upvoted 3 times
...
...
adminpack
1 year, 5 months ago
ChatGPT: If the VM is in a Virtual Network (VNet) and you've enabled service endpoints for Azure database services (like Azure SQL Database or Azure Cosmos DB), then the VM will access the database service over the Azure backbone network, and not over the public internet. This provides a secure and optimized route to access the database services.
upvoted 2 times
dc864d4
9 months ago
Use Copilot. It's made by Microsoft and is retrieving from a much more up to date repository that is especially mature in Azure. ChatGPT is yesterdays news. Also AWS has an offering coming down the pipe. Big dogs coming in to steal it and make it better. /shrug
upvoted 1 times
...
...
...
Ario
Highly Voted 1 year, 7 months ago
for all of them YES, since VM1 has a public IP and the Cosmos DB firewall allows internet access, VM1 can access Cosmos DB over the internet. The fact that vnet1/subnet1 has a service endpoint for Cosmos DB does not restrict access from the public internet. the same for the rest
upvoted 8 times
epomatti
1 year, 1 month ago
N,Y,Y When Service Endpoint is enabled, it will always use the private IP only for that service. Public IP rules will fail.
upvoted 3 times
[Removed]
6 months, 3 weeks ago
Believe epomatti is correct. Refer > https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#:~:text=.%20Existing%20Azure%20service%20firewall%20rules%20using%20Azure%20public%20IP%20addresses%20will%20stop%20working%20with%20this%20switch.
upvoted 1 times
...
...
...
Nhadipour
Most Recent 6 days, 23 hours ago
NO, YES, YES VM1 cant access Cosmos DB over the internet cause its subnet is forced to use the private endpoint VM2 and VM3 can access Cosmos DB over the internet cause their Public IPs are in the allowed range specified in the firewall.
upvoted 1 times
...
fastline112003
7 months ago
In the documentation https://learn.microsoft.com/en-us/azure/private-link/tutorial-private-endpoint-sql-portal?source=recommendations After prodecude how to configure a private endpoint, there is additional step to disable public access to Azure SQL server. Assuming this was not done by administrator, I would answer YYY
upvoted 3 times
JackGelder
3 months, 1 week ago
Here we are asked about SERVICE endpoints. Not private ones.
upvoted 1 times
...
...
davidecaria
7 months, 2 weeks ago
I assume that the correct answer depends on the interpretation of CAN. My ans would be: N,Y,Y If a service endpoint is enabled that the traffic would be routed through the Microsoft backbone. This mean that when VM1 will try to connect to the cosmos with the MSFT network and not with its public IP address. It is still technically possible for the VM1 to use its pubic ip address but the fact that the service endpoint is in place would make the traffic follow the backbone direction. Using the public ip is possible if the service endpoint is removed, this would change the question and I guess that it is not supposed to. VM2 has no service endpoint enabled and the public ip is in the correct range, so YES. VM2 has no service endpoint and the public ip is in the correct range, so YES.
upvoted 1 times
...
Pamban
9 months, 3 weeks ago
In first question, it says, VM1 "CAN" access via internet. since its public ip range has been whitelisted, it CAN be accessed via internet even if subnet1 is removed from selected networks in 2nd question, public ip is whitelisted in selected networks, hence it is accessible via internet in 3rd Question, public IP is whitelisted hence db is accessible via intetnet. Answer is YYY
upvoted 1 times
...
aks_exam
1 year, 1 month ago
That's a tough question. VM1 "can" access the Internet, because it's not prohibited, but with this policy VM1 accesses with a private IP address...
upvoted 1 times
...
depp
1 year, 3 months ago
"Once you enable service endpoints in your virtual network, you can add a virtual network rule to secure the Azure service resources to your virtual network. The rule addition provides improved security by fully removing public internet access to resources and allowing traffic only from your virtual network." https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 1 times
...
_punky_
1 year, 4 months ago
YYY, the FW was whitelisted and the you can access to the resource (CosmosDB) via internet.
upvoted 3 times
...
heatfan900
1 year, 6 months ago
ALL PUBLIC IPs of the VMs will have access to the COSMOS DB via the INTERNET, based on FIREWALL POLICY, the VIRTUAL NETWORK FILTERING shows VNET/SUBNET1 has an SERVICE ENDPOINT which means it will route via the MICROSOFT BACKBONE and not the INTERNET. VNET1/SUBNET2 does not so it will route via the INTERNET and VNET2/SUBNET is not listed at all so it will also route via the INTERNET. n, y, y
upvoted 1 times
...
Self_Study
1 year, 6 months ago
All of them CAN. Even VM1 CAN but it won't
upvoted 3 times
Pamban
9 months, 4 weeks ago
Agree!! VM1 CAN but it won't
upvoted 1 times
...
jimmyjose
1 year, 2 months ago
The CAN part (should have been WILL) is incorrectly worded as VM1 will access the service endpoint using its private IP because the endpoint status for subnet1 is enabled. If it was not enabled, then VM1 would have used its public IP to access the Cosmos DB.
upvoted 1 times
...
...
billo79152718
1 year, 9 months ago
Yes, No, Yes is correct
upvoted 4 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