A retail company wants to deploy a custom C# code block to calculate order discounts. The code must execute automatically in response to an API call, and the company wants to avoid managing or patching any underlying server infrastructure. Which Azure service should the company use?
- AAzure Logic Apps
- BAzure Virtual Machines
- Azure FunctionsAnswer
- DMicrosoft 365
Answer
Azure Functions
Azure Functions is the correct service because it is a serverless, code-first compute service that automatically runs custom code in response to events (such as an API call) without requiring the user to manage servers.
Step-by-Step Solution
Key Concept
Azure Serverless Compute (Functions)
Estimated Time:45s