Courseiva

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

A company is migrating a .NET application from Windows Server to Linux on EC2. The application uses a proprietary COM+ component that cannot be recompiled. Which migration path should they take?

⚠ Common exam trap

SAP-C02 often tests the misconception that Wine or .NET Core can replace COM+ functionality, when in reality COM+ is Windows-specific and cannot be easily ported.

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

✓

Rehost the application on Windows Server EC2 instances

The application uses a proprietary COM+ component that cannot be recompiled, and COM+ is a Windows-specific technology. Therefore, the only viable migration path is to rehost the application on Windows Server EC2 instances, where COM+ is natively supported. Migrating to Linux would require recompilation or emulation, which is not feasible for a proprietary component.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Rehost the application on Linux EC2 using Wine

    Why it's wrong here

    Wine implements the Win32 API, not COM+ runtime services such as transactions and object pooling, so the component will not execute correctly; Wine suits simple Windows binaries, whereas a Windows EC2 instance is the correct host for unmodifiable COM+ components.

  • ✓

    Rehost the application on Windows Server EC2 instances

    Why this is correct

    COM+ relies on Windows-specific component services unavailable on Linux, so recompilation is impossible. Rehosting to Windows Server EC2 preserves the proprietary binary unchanged, satisfying the constraint that the component cannot be recompiled while still moving to AWS.

  • ✗

    Refactor the COM+ component to a REST API

    Why it's wrong here

    Refactoring requires rewriting the component's logic, which is impossible when the proprietary source cannot be recompiled; wrapping legacy COM+ behind a REST facade is the correct pattern when the binary must be preserved but its interface modernised.

  • ✗

    Replatform the application to .NET Core and run on Linux

    Why it's wrong here

    Replatforming to .NET Core cannot host the proprietary COM+ component, which relies on Windows-only COM+ runtime services unavailable on Linux. .NET Core targets cross-platform managed code, not unmanaged COM+ activation. It would be correct where dependencies are portable and source can be recompiled, but here the component cannot be recompiled.

About these practice questions

One of 984 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services 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 SAP-C02 exam.