SIMULATION Task 7 You need to prepare a network security group (NSG) named az400 38443478 nsgl to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet
Allow outbound TCP 443 to AzureDevOps service tag, everything else denied. This matches what I saw in a practice exam and aligns with least privilege for pipeline agents. Pretty sure that's the most secure config, unless AzureDevOps tag isn't available.
Allow outbound TCP 443, restrict to AzureDevOps service tag if you want minimum access (default is Internet, but that's broader). Inbound deny is covered by default. I think using the service tag is tighter security here-agree?