Courseiva
Accelerate Workload Migration and ModernizationeasyMultiple ChoiceObjective-mapped

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

A company is migrating a legacy application to AWS. The application runs on a single Windows Server instance and uses a local MySQL database. The company wants to minimize changes to the application code. Which migration strategy should the company use?

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 with MySQL installed on the same instance

Rehost (lift-and-shift) migrates the application as-is to EC2, keeping MySQL on the same instance to minimize code changes. Option B (Retire) is not a migration strategy. Option C (Refactor) requires code changes to adapt to serverless and DynamoDB. Option D (Replatform) moves the database to RDS, which may require code changes due to different database configuration or features.

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 Amazon EC2 with MySQL installed on the same instance

    Why this is correct

    Rehosting moves the application without changes, minimizing risk.

  • Retire the application and replace it with a SaaS alternative

    Why it's wrong here

    Retiring is not appropriate as the company wants to migrate the application.

  • Refactor the application to use a serverless architecture with AWS Lambda and Amazon DynamoDB

    Why it's wrong here

    Refactoring requires significant code changes, increasing risk and effort.

  • Replatform the application by moving the database to Amazon RDS for MySQL

    Why it's wrong here

    Replatforming the database may require connection string changes and additional testing.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 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.