Courseiva
Develop Azure compute solutionsmediumMultiple ChoiceObjective-mapped

AZ-204 Develop Azure compute solutions Practice Question

You are migrating an on-premises .NET Framework app to Azure. The app uses Windows authentication and requires persistent storage. You want to minimize rework. Which Azure compute service should you choose?

⚠ Common exam trap

Test-takers frequently choose Azure Functions or Container Instances for their 'modern' appeal, overlooking the specific requirement for Windows authentication and minimal rework, which Azure App Service on Windows uniquely satisfies without forcing a rewrite or containerization.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Azure App Service on Windows

Azure App Service on Windows (D) supports Windows authentication natively via its built-in integration with Azure Active Directory and on-premises Active Directory through Azure AD Domain Services or hybrid identity setups. It also provides persistent storage options like Azure Files or blob storage attached to the web app, minimizing rework by allowing the existing .NET Framework app to run with minimal code changes in a Platform-as-a-Service (PaaS) environment.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Azure Spring Apps

    Why it's wrong here

    Azure Spring Apps is a managed service specifically engineered for deploying and scaling Spring Boot applications, which are written in Java. A .NET Framework application, being built on Microsoft's proprietary framework, is fundamentally incompatible with the Java runtime environment and architectural patterns that Azure Spring Apps provides. Therefore, it cannot host a .NET Framework workload.

  • Azure Functions

    Why it's wrong here

    Azure Functions is a serverless compute service optimized for event-driven, short-lived, and stateless execution. While it supports .NET, traditional .NET Framework applications often require a long-running process, maintain in-memory state, or depend on a specific application lifecycle that is not well-suited for the ephemeral nature of Functions. Migrating a typical stateful .NET Framework application directly to Azure Functions would necessitate significant architectural refactoring, making it an unsuitable lift-and-shift target.

  • Azure Container Instances

    Why it's wrong here

    Azure Container Instances (ACI) provides a way to run individual Docker containers without managing underlying infrastructure. However, migrating a legacy .NET Framework application often involves complex dependencies on the Windows operating system, such as COM components, GAC assemblies, or specific IIS configurations, which make containerization into a Windows container image challenging and resource-intensive. While technically feasible with Windows containers, ACI itself is not a full application platform and doesn't simplify the inherent complexities of containerizing older .NET Framework apps, making it less ideal for a direct migration.

  • Azure App Service on Windows

    Why this is correct

    Azure App Service on Windows is an ideal platform for migrating existing .NET Framework web applications, offering a fully managed environment that natively supports IIS and the full .NET Framework runtime. It provides seamless integration with services like Azure Files for persistent storage, allowing applications to retain their file system dependencies without significant code changes. Furthermore, App Service on Windows inherently supports Windows authentication, which is crucial for many enterprise .NET Framework applications, making it a direct and efficient lift-and-shift target.

About these practice questions

This AZ-204 question is part of Courseiva's 881-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.