AWS Cloud Practitioner · Cloud Concepts · medium

During a data-center exit, a company moves an on-premises virtual machine image directly to Amazon EC2 without modifying the application architecture or code. Which migration strategy from the 7 Rs is being used?

Published · Last updated · checked before publication — how we verify questions

Options

  • ARefactoring the application into event-driven microservices on AWS Lambda
  • BRepurchasing the workload by switching to a commercial SaaS subscription
  • CRehosting the workload on Amazon EC2 using a lift-and-shift approachCorrect answer
  • DRetaining the workload inside the on-premises facility indefinitely

Answer: C. Rehosting the workload on Amazon EC2 using a lift-and-shift approach

The keyed answer is correct because the company moves the virtual machine image to Amazon EC2 as is, with no change to the application's architecture or code. That is the definition of Rehosting, commonly called lift and shift, the simplest and fastest of the 7 Rs of migration (Retire, Retain, Rehost, Relocate, Repurchase, Replatform, Refactor). The key clue in the stem is 'without modifying the application architecture or code.' Rehosting is often chosen during data-center exits with tight deadlines, and it can be followed later by optimization once the workload is running in AWS. The most common trap is confusing Rehost with Replatform or Refactor. Replatform makes small optimizations, such as moving a database to a managed service like Amazon RDS, while Refactor redesigns the application to be cloud-native. Another trap is Relocate, which moves workloads such as VMware to the cloud without changes to hypervisor-level tooling, but it is not an EC2 VM image move.

Why the other options are wrong

  • A. Refactoring the application into event-driven microservices on AWS Lambda — This describes Refactoring (re-architecting), where the application is redesigned into cloud-native pieces such as event-driven microservices on Lambda. The question states that no architecture or code changes are made, so this does not fit.
  • B. Repurchasing the workload by switching to a commercial SaaS subscription — This describes Repurchasing, sometimes called drop and shop, where the existing application is replaced by a commercial SaaS product. The company here keeps its own VM image and runs it on EC2, so nothing is being replaced by a subscription.
  • D. Retaining the workload inside the on-premises facility indefinitely — This describes Retaining, where a workload stays on premises, for example because of compliance or latency needs. The scenario says the VM is moved to EC2 as part of a data-center exit, so the workload is being migrated, not kept.

All Cloud Concepts questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.