nerdexam
Microsoft

AZ-305 · Question #322

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…

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.

Submitted by thandi_sa· Mar 6, 2026Design infrastructure solutions

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

How the community answered

(69 responses)
  • A
    6% (4)
  • B
    77% (53)
  • C
    13% (9)
  • D
    4% (3)

Why each option

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.

AAzure Batch

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.

BAzure App ServiceCorrect

Azure App Service is a Platform-as-a-Service (PaaS) offering ideal for hosting interactive web applications like App1. It natively supports Java apps on Linux, provides automatic scaling of instances to manage fluctuating loads, and significantly minimizes administrative effort by handling the underlying infrastructure, thus meeting all specified requirements.

CAzure Kubernetes Service (AKS)

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.

DAzure Virtual Machine Scale Sets

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

Source: https://learn.microsoft.com/azure/app-service/overview

Topics

#Azure App Service#compute selection#auto-scaling#workload migration

Community Discussion

No community discussion yet for this question.

Full AZ-305 Practice