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
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.
More Cloud Concepts questions
- An enterprise preparing for cloud migration wants to align workforce skills, update organizational roles, and manage…
- A SaaS provider wants to deploy its application close to customers in Tokyo, Frankfurt, and São Paulo within minutes…
- An architect replaces a direct synchronous call between an order service and an invoicing service with an Amazon SQS…
- A retail startup wants to launch an e-commerce site without buying physical servers upfront and wants to pay only for…
- An online ticketing platform automatically adds twenty Amazon EC2 instances during a concert on-sale spike and…
- A company designs its production database and application tier across multiple Availability Zones so that if one data…
- An engineering team automates infrastructure changes using version-controlled templates, makes frequent small…
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.