A manufacturing company is building a web-based dashboard to display real-time production metrics from sensors. The development team wants to deploy the application without managing the underlying infrastructure, including the web server and operating system. The application uses ASP.NET Core. Which Azure service should they use?
Azure App Service is a fully managed PaaS service that runs web applications, REST APIs, and mobile backends. It supports ASP.NET Core out of the box, handles patching of the OS and web server, and provides built-in scaling and load balancing, meeting the requirement of not managing infrastructure.
Why this answer
Azure App Service is the correct choice because it provides a fully managed platform for hosting web applications, including ASP.NET Core, without requiring the user to manage the underlying web server or operating system. It supports continuous deployment, auto-scaling, and built-in load balancing, making it ideal for a real-time dashboard that needs high availability and minimal operational overhead.
Exam trap
The trap here is that candidates often confuse Azure Functions with a general-purpose web host, but Functions is optimized for stateless, event-driven triggers and lacks the persistent HTTP session and WebSocket support needed for a real-time dashboard.
How to eliminate wrong answers
Option A is wrong because Azure Functions is a serverless compute service designed for event-driven, short-lived tasks (e.g., processing sensor data), not for hosting a persistent web-based dashboard with real-time updates. Option C is wrong because Azure Kubernetes Service (AKS) is a container orchestration platform that still requires management of the Kubernetes cluster and node infrastructure, contradicting the requirement to avoid managing underlying infrastructure. Option D is wrong because Azure Virtual Machines provide IaaS-level control, requiring the user to manage the OS, web server, and all patches, which directly violates the 'without managing the underlying infrastructure' requirement.