Question 480
A cloud developer must resolve: A Functions queue trigger authenticates with a connection string containing a namespace-wide shared access key. Which implementation step best meets the stated requirement?
Explanation
Correct Answer
Configure identity-based connection and grant only the necessary Service Bus data receiver permissions. The scenario specifically states: A Functions queue trigger authenticates with a connection string containing a namespace-wide shared access key. Supported Service Bus extensions can use managed identity connections with correctly scoped data-plane roles. This change targets the named service and constraints rather than a different workflow. Validate the result by checking The function processes the intended queue without a SAS connection string. The important remaining qualification is: Managed identity does not guarantee compatibility with outdated trigger extension versions.
Incorrect Answers
Service Bus auto-forwarding can transfer messages from a source entity to a destination in compatible namespace configurations. That addresses a different mechanism; this question turns on Configure identity-based connection and grant only the necessary Service.
Service Bus private endpoint connectivity requires supported SKU, private DNS and approved network path. In the present case the governing issue is Supported Service Bus extensions can use managed identity connections, which this does not resolve.
Event Grid namespace topics can support pull delivery patterns for eligible configurations. It does not verify the requested outcome; here the decisive check concerns Configure identity-based connection and grant only the necessary Service.