Question 60
A Function needs to read Service Bus without storing an entity connection string in settings. Which engineering change is the most direct response to the stated failure and constraint?
Explanation
Correct Answer
This remedy fits the observed case: A Function needs to read Service Bus without storing an entity connection string in settings. Configure identity-based connection properties and grant the Function identity receiver authorization. The underlying issue is A shared-key setting is unavailable or violates the requirement to eliminate static credentials. Direct acceptance evidence is The trigger starts and receives a test message under managed identity.
Incorrect Answers
The handler has no configured storage binding or retrieval logic for the input object. This is a separate requirement; the current case instead hinges on: A shared-key setting is unavailable or violates the requirement to eliminate static credentials. The matching answer is: Configure identity-based connection properties and grant the Function identity receiver authorization.
The alternative addresses: Default or unconstrained trigger concurrency exceeds shared resource limits. The reported constraint here is different: A shared-key setting is unavailable or violates the requirement to eliminate static credentials. The case-specific choice is: Configure identity-based connection properties and grant the Function identity receiver authorization.
At-least-once triggers can replay work after host or network failure. By contrast, the relevant technical condition here is: A shared-key setting is unavailable or violates the requirement to eliminate static credentials. The appropriate selection is: Configure identity-based connection properties and grant the Function identity receiver authorization.