SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a monolithic .NET application to AWS. The application uses a SQL Server database with complex stored procedures and tightly coupled components. The migration team wants to minimize refactoring and reduce licensing costs. Which migration strategy should the team use?
⚠ Common exam trap
Test-takers frequently choose replatforming (Option D) thinking it reduces licensing costs, but they overlook the need to refactor SQL Server-specific stored procedures for PostgreSQL compatibility, which violates the 'minimize refactoring' requirement.
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 Amazon EC2 and the database on EC2 with SQL Server using Bring Your Own License (BYOL).
Rehosting (lift-and-shift) the monolithic .NET application on Amazon EC2 and the SQL Server database on EC2 with BYOL minimizes refactoring effort and reduces licensing costs by leveraging existing SQL Server licenses. This strategy avoids the complexity of rewriting stored procedures or decoupling tightly coupled components, which is critical for a migration focused on speed and cost reduction.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Refactor the application to .NET Core and use Amazon RDS for MySQL to eliminate Windows licensing.
Why it's wrong here
Refactoring is significant and MySQL may not support all stored procedures.
- ✓
Rehost the application on Amazon EC2 and the database on EC2 with SQL Server using Bring Your Own License (BYOL).
Why this is correct
This minimizes changes and leverages existing licenses.
- ✗
Rearchitect the application to microservices and use Amazon DynamoDB for the database.
Why it's wrong here
Rearchitecting is too disruptive for minimizing refactoring.
- ✗
Replatform the database to Amazon Aurora with PostgreSQL compatibility to reduce licensing costs.
Why it's wrong here
Aurora PostgreSQL would require rewriting stored procedures and may not be compatible.
Go deeper
Related to this question
About these practice questions
One of 1,660 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 →
Same concept, more angles
1 more way this is tested on SAP-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. 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?
medium- A.Rehost the application on Linux EC2 using Wine
- ✓ B.Rehost the application on Windows Server EC2 instances
- C.Refactor the COM+ component to a REST API
- D.Replatform the application to .NET Core and run on Linux
Why B: Since the COM+ component cannot be recompiled and is Windows-specific, the only viable option is to rehost the application on Windows Server EC2 instances (option B). Option A (using Wine on Linux) is not a supported or reliable solution for COM+ components. Option C (refactoring the component to a REST API) would require recompilation, which is not allowed. Option D (replatforming to .NET Core on Linux) would also require recompilation and does not support COM+.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.