AZ-305 · Question #322
AZ-305 Question #322: Real Exam Question with Answer & Explanation
The correct answer is B: Azure App Service. Azure App Service is the recommended solution because it offers a fully managed platform for hosting web applications with built-in auto-scaling and minimal administrative overhead, perfectly meeting all specified requirements for the interactive Java app.
Question
Your on-premises datacenter contains a server that runs Linux and hosts a Java app named App1. App1 has the following characteristics: - App1 is an interactive app that users access by using HTTPS connections. - The number of connections to App1 changes significantly throughout the day. - App1 runs multiple concurrent instances. - App1 requires major changes to run in a container. You plan to migrate App1 to Azure. You need to recommend a compute solution for App1. The solution must meet the following requirements: - The solution must run multiple instances of App1. - The number of instances must be managed automatically depending on the load. - Administrative effort must be minimized. What should you include in the recommendation?
Options
- AAzure Batch
- BAzure App Service
- CAzure Kubernetes Service (AKS)
- DAzure Virtual Machine Scale Sets
Explanation
Azure App Service is the recommended solution because it offers a fully managed platform for hosting web applications with built-in auto-scaling and minimal administrative overhead, perfectly meeting all specified requirements for the interactive Java app.
Common mistakes.
- A. Azure Batch is designed for running large-scale parallel batch jobs and is not suitable for hosting interactive web applications that require continuous availability and response.
- C. Azure Kubernetes Service (AKS) manages containerized applications, but the question states App1 requires major changes to run in a container, and AKS typically involves higher administrative overhead compared to App Service for application management.
- D. Azure Virtual Machine Scale Sets (VMSS) provide IaaS-level scaling for VMs, which requires more administrative effort for operating system, runtime, and application management compared to a PaaS solution like App Service.
Concept tested. Choosing Azure compute services for web applications
Reference. https://learn.microsoft.com/azure/app-service/overview
Community Discussion
No community discussion yet for this question.