The company has two Azure virtual machine scale sets hosted on different virtual networks.
The company plans to contract developers in India.
You need to recommend a solution provide the developers with the ability to connect to the virtual machines over SSL from the Azure portal. The solution must meet the following requirements:
• Prevent exposing the public IP addresses of the virtual machines.
• Provide the ability to connect without using a VPN.
• Minimize costs.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Show answerHide answer
Correct answer: A, D Deploy Azure Bastion to one virtual network. Create a hub and spoke network by using virtual network peering.
Explanation
Explanation:The solution must enable secure developer access from India to VMs in two different Azure virtual networks without public IP exposure, VPN, or excessive cost.
A. Deploy Azure Bastion to one virtual network:
Azure Bastion provides secure RDP/SSH connectivity directly through the Azure portal over SSL (port 443), eliminating the need for public IPs on VMs. Deploying it to one network minimizes costs while providing the core service.
D. Create a hub and spoke network using VNet peering:
This enables the single Bastion host in the "hub" VNet to connect to VMs in both "spoke" VNets. VNet peering creates private connections between networks, allowing Bastion to route traffic to all VMs while maintaining a single, cost-effective deployment.
Why This Works:
No Public IPs: Bastion connects privately via the Azure backbone
No VPN: Uses native Azure networking
Portal Access: Direct SSL connection via Azure portal
Cost Optimization: Single Bastion deployment serves multiple networks
Security: All traffic remains within Azure's trusted network
Why Other Options Fail:
B. Deploy Azure Bastion to each virtual network:
While functional, this violates the "minimize costs" requirement by duplicating Bastion services unnecessarily.
C. Enable just-in-time VM access:
JIT still requires opening RDP/SSH ports and typically uses public IPs. It doesn't provide the Azure portal-based SSL connection that Bastion offers.
E. Create NAT and network rules in Azure Firewall:
This introduces unnecessary complexity and cost. It would require public IPs on the firewall and doesn't provide the seamless Azure portal integration that Bastion delivers natively.
References:
Microsoft Learn - What is Azure Bastion:
Explains how Bastion provides secure VM connectivity without public IPs
Microsoft Learn - Virtual Network Peering:
Details how VNet peering enables cross-network connectivity
Microsoft Learn - Just-in-time VM Access:
Clarifies that JIT manages port access but doesn't eliminate need for public endpoints









