You want to build a small app that runs code only when a user uploads a file. You want to pay only when the code runs and avoid managing servers.
Which Azure service model fits best?
Think about paying only when code runs and not managing servers.
Azure Functions is serverless, so it runs code only when triggered and charges per execution. This fits event-driven apps well.
You need to deploy a web app that requires installing custom OS software and full control over the environment.
Which Azure service model should you choose?
Think about needing full OS control and custom software installation.
Azure Virtual Machines provide full control over the OS and installed software, suitable for custom configurations.
You have a web app that runs 24/7 with moderate traffic. You want to minimize management overhead and optimize cost.
Which Azure service model is the best choice?
Consider a service that reduces management but supports continuous running.
Azure App Service is PaaS that manages infrastructure and supports continuous apps with moderate traffic, balancing cost and management.
Which Azure service model requires you to manage the most security responsibilities, including OS patching and network configuration?
Think about who manages OS and network security in each model.
In IaaS, you manage OS patching, network settings, and app security. PaaS and Serverless offload OS and infrastructure security to Azure.
You deploy an Azure Function with a consumption plan. What happens when many events trigger the function simultaneously?
Think about serverless scaling behavior on demand.
Azure Functions on a consumption plan automatically scale out by adding instances to handle many simultaneous events.