QuestionQ29

Secure, monitor, troubleshoot Azure solutions

You are designing an Azure Function app that exposes a public API.

The solution must:

  • Validate incoming request data and return results immediately to the caller.
  • Support Microsoft Entra ID authentication.
  • Guarantee idempotent processing when the same request is retried.
  • Scale automatically under variable load.
  • Avoid duplicate processing.

You need to implement a trigger. Which trigger should you use?

  • A Service Bus topic
  • B HTTP
  • C Azure Event Grid
  • D Azure Queue storage
Explanation

An Azure Functions HTTP trigger is designed to build serverless APIs: it receives an HTTP request and can return an HTTP response immediately. Azure Functions authentication can protect that endpoint with Microsoft Entra ID. Automatic scaling is provided by the selected Functions hosting plan, while idempotency and duplicate prevention must be implemented in the API’s processing logic by recording and recognizing a stable request identifier.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!