Exam AZ-305 All QuestionsBrowse all questions from this exam
Question 244

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?

    Correct Answer: B

    Azure App Service is the best choice for migrating App1 to Azure while minimizing administrative effort. It is a fully managed platform designed to host web applications, including those with HTTPS connections and varying load. Azure App Service supports running multiple instances and adjusts the number of instances automatically based on load. Unlike Azure Kubernetes Service, it does not require containerization, aligning with the requirement that App1 needs significant changes to run in a container. Compared to Virtual Machine Scale Sets and Azure Batch, Azure App Service offers a more streamlined and less administratively intensive solution.

Discussion
GeekyhunchbackOption: B

In order to minimize administrative effort, I believe Azure App Service is the right answer

sumajuOption: D

It is not a containerized application. So AKS is out of question. VMSS is the only solution considering the scaling requirements.

cesco1286

have you ever ever deployed an app service? Do you know that you can have auto-scaling based on many metrics?

pabsinazOption: B

Absolutely Azure App Service. "requires major changes to run in a container" so Azure Kubernetes Service discarded. No need for Azure Batch. Azure Virtual Machine Scale Sets is bigger a burden and setup.

pabsinaz

Also, Azure App Service has horizontal autoscaling to adjust the number of instances automatically based on thresholds.

LazylinuxOption: B

The competition between App service and VMSS as AKS is out due to major change to do so App service is PaaS and VMSS is IaaS but administrative effort to be minimized, also you can run Multiple apps per instance by using App Service plan, also Web hosting is builtin, application composition is predominantly Apps and Containers VMSS => Azure VMs can automatically scale by using virtual machine scale sets. This capability isn't strictly a PaaS, but it's the type of management feature found in PaaS.There's a tradeoff between control and ease of management. IaaS gives the most control, flexibility, and portability, but you have to provision, configure, and manage the VMs and network components you create hence is very administrative intense. Also application composition is AGNOSTIC hence more complex for this scenario So based on the above App services is winner (B)

[Removed]Option: B

If your application requires major changes to run in a container, and you want to minimize administrative effort, Azure App Service is likely the better choice. It abstracts away many infrastructure management tasks and provides a simpler deployment model for applications. Azure Virtual Machine Scale Sets might be more suitable when you need more control over the virtual machines, have specific configuration requirements, or if you need to run the application on a specific operating system.

ziggy1117Option: D

D. Azure Virtual Machine Scale Sets Administration effort must be minimized. Switching to Azure App service would require code modifications

NguyenDo

However, while VM Scale Sets do provide the ability to scale and run multiple instances, they typically require more administrative effort compared to Azure App Service. You would need to manage the VMs, including tasks like OS updates, security, and scaling configurations. As for Azure App Service, it's a fully managed platform, meaning it handles most of the infrastructure management tasks. While it's true that some code modifications might be needed when migrating an application to Azure App Service, the question states that App1 requires major changes to run in a container, not specifically for Azure App Service. In general, Azure App Service is designed to support a broad range of languages and frameworks, including Java, and it's often possible to migrate applications with minimal changes. The exact amount of modification required would depend on the specifics of the application.

ruminoOption: B

App Service app does not need to be containerized

alfaAzureOption: B

B. Echo what Geekyhunchback said.

TharassiyilOption: D

What is the correct answer please? Azure App service looks possible but answer is marked as Azure VM scale set. Anyone confirm?

23169fdOption: B

Azure App Service can run multiple instances of an app, and it can automatically scale the number of instances based on load, minimizing administrative effort. It supports Java applications and can handle HTTPS connections natively. App Service provides built-in load balancing and traffic management, which helps in managing the fluctuating number of connections.

arnitjoeOption: B

This is a tricky one because minimize admin effort is stated but not clearly defined. Is it minimize admin effort to migrate or maintain or both? If migrate or both I would lean towards VMSS. If maintain, then Azure App Service.

Hammer84Option: C

Azure Batch (Option A) is more suitable for high-performance computing workloads and batch processing rather than running interactive, stateful applications like App1. Azure App Service (Option B) is designed for hosting web applications, but it may not provide the same level of control and flexibility as AKS, especially for complex applications like App1. Azure Virtual Machine Scale Sets (Option D) can be used for scalable VM deployments, but it doesn't provide the same level of container orchestration and automatic scaling that AKS offers for containerized applications. So, for the given scenario and requirements, Azure Kubernetes Service (AKS) is the recommended solution.

sumaju

"App1 requires major changes to run in a container". AKS can run only containerized applications. So VMSS is the only option.