Question 240
During a cloud security review, the operations team observes: A web app must call an internal database across a VNet, but only an App Service inbound access restriction is configured. Which recurring validation best protects against the observed problem?
Explanation
Correct Answer
This guardrail addresses app service vnet integration outbound path: App Service inbound access restrictions do not provide the outbound VNet integration needed for private backend connections. The prevention measure is: Validate App Service inbound and outbound network controls independently in deployment testing. A control in another subsystem would not prevent this specific recurrence.
Incorrect Answers
A private endpoint has not been configured or public network access has not been restricted for the resource. “Test both private-resolution success and public-path denial whenever a new Private Endpoint is added” would address that alternative cause, not the condition in this question: app Service inbound access restrictions do not provide the outbound VNet integration needed for private backend connections.
“Verify DNS zone links and forwarders for all VNets consuming a private service” responds to this separate finding: the private DNS zone or VNet link is missing so the canonical hostname does not resolve to the private endpoint address. This question instead needs “Validate App Service inbound and outbound network controls independently in deployment testing”, so the alternative does not meet the stated condition.
Private Endpoint network policies need appropriate supported subnet settings before NSG or UDR policies can apply as intended. “Check supported private endpoint network policy settings before relying on subnet inspection rules” applies to that separate problem. The observed case is a web app must call an internal database across a VNet, but only an App Service inbound access restriction is configured; choosing this alternative would address the wrong failure mode.