1. A company is designing an Azure Machine Learning workspace with a managed virtual network. The networking team requires that outbound traffic from the workspace's managed network to the internet be completely blocked, but the workspace must still be able to pull base Docker images from Microsoft Artifact Registry (mcr.microsoft.com) to build custom environments. Which managed network outbound rule type should be configured to allow this traffic?
- A. A service tag outbound rule allowing traffic to the 'MicrosoftContainerRegistry' service tag.
- B. An FQDN outbound rule allowing outbound traffic to the FQDN 'mcr.microsoft.com'.✓ Correct
- C. A private endpoint outbound rule to a private endpoint associated with Microsoft Artifact Registry.
- D. A user-defined route in the managed virtual network that directs traffic to mcr.microsoft.com through an Azure Firewall instance.
Explanation
Azure Machine Learning managed virtual networks support FQDN outbound rules, which allow outbound traffic to specific fully qualified domain names over HTTPS. Adding an FQDN rule for 'mcr.microsoft.com' is the correct and supported way to allow access to Microsoft Artifact Registry from a managed network with internet outbound blocked. Service tag outbound rules (option A) in managed networks are used for Azure service tags that represent Azure service IP ranges, not for container registry FQDN access; additionally, the 'MicrosoftContainerRegistry' service tag covers the data plane of Azure Container Registry, not MCR specifically. Private endpoint outbound rules (option C) are for private endpoints to your own Azure resources, not for public Microsoft endpoints. User-defined routes (option D) are not a concept within the Azure ML managed virtual network — UDRs apply to customer-managed VNets, not the managed network abstraction.