Question 250
An Azure Function uses a private endpoint to reach a database but fails after public network access is disabled. Which engineering change is the most direct response to the stated failure and constraint?
Explanation
Correct Answer
This remedy fits the observed case: An Azure Function uses a private endpoint to reach a database but fails after public network access is disabled. Configure supported VNet integration, routing and private DNS for the function hosting plan. The underlying issue is Network path or DNS is not configured for private database access. Direct acceptance evidence is The deployed function resolves and connects to the database private address.
Incorrect Answers
The alternative addresses: The deployment package's root directory is one level too deep. The reported constraint here is different: Network path or DNS is not configured for private database access. The case-specific choice is: Configure supported VNet integration, routing and private DNS for the function hosting plan.
This remedy fits the observed case: A Service Bus-triggered Function processes too many messages concurrently after a new host.json setting was rolled out. By contrast, the relevant technical condition here is: Network path or DNS is not configured for private database access. The appropriate selection is: Configure supported VNet integration, routing and private DNS for the function hosting plan.
The trigger's connection property does not match configured application settings. This is a separate requirement; the current case instead hinges on: Network path or DNS is not configured for private database access. The matching answer is: Configure supported VNet integration, routing and private DNS for the function hosting plan.