AZ-500 · Question #495
Hotspot Question 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…
The correct answer is VM1 can access cosmos1 over the internet. = Yes; VM2 can access cosmos1 over the internet. = No; VM3 can access cosmos1 over the internet. = Yes. Azure Cosmos DB firewall rules control which IP addresses or virtual networks can access the account over the internet. VM1 can access cosmos1 because its public IP or subnet is included in the allowed IP range/virtual network rules configured on cosmos1. VM2 is blocked because…
Question
Exhibits
Answer Area
- VM1 can access cosmos1 over the internet.Yes
- VM2 can access cosmos1 over the internet.No
- VM3 can access cosmos1 over the internet.Yes
Explanation
Azure Cosmos DB firewall rules control which IP addresses or virtual networks can access the account over the internet. VM1 can access cosmos1 because its public IP or subnet is included in the allowed IP range/virtual network rules configured on cosmos1. VM2 is blocked because its IP/subnet is not in the allowlist, meaning the Cosmos DB firewall denies its internet-based requests. VM3 can access cosmos1 because even though it may be in a different region or VNet, its IP or network is explicitly permitted in the firewall configuration.
Topics
Community Discussion
No community discussion yet for this question.



