1Z0-1123-25 Question 59
Select 2Your company is migrating multiple workloads from AWS EC2 to Oracle Cloud Infrastructure (OCI). You need to minimize downtime and preserve existing configurations during this migration. Which two steps should you take to ensure a successful move of the Amazon Linux-based EC2 instances over to OCI?
- A
Use Oracle Cloud Migrations to automatically copy all AWS EC2 settings�including VPCs, security groups, and block storage�directly to OCI.
- B
Create an AMI from the AWS instance, export it as an OVA to Amazon S3, upload that OVA file to an OCI Object Storage bucket, and import it as a custom image in OCI.
- C
Keep the EC2 instance running throughout the export and import processes to ensure zero downtime for the application.
- D
Convert the AWS instance into an EBS snapshot and link it directly to an OCI Block Volume via the OCI Snapshot Import tool, bypassing the need for a custom image.
- E
Update operating system drivers and networking scripts (for example, cloud-init) to ensure compatibility with OCI hardware and infrastructure before launching the imported image.
Show answer and explanation
Correct answers: B, E
Explanation
To successfully migrate an EC2 instance to OCI, you typically export the AWS instance as an OVA (or a compatible image format), upload it to OCI Object Storage, and import it as a custom image. Additionally, ensuring the operating system drivers, cloud-init scripts, and network settings are configured for OCI is critical for a smooth transition. Refer to Oracle Cloud Infrastructure documentation on importing custom images (https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/importingcustomimages.htm) for complete steps and best practices.
- A. Incorrect.
Option 1 is incorrect. While Oracle Cloud Migrations can help with automation, it does not automatically copy all AWS resources (like VPCs or security groups) directly into the OCI environment. You still need to configure networking and security settings within OCI.
- B. Correct.
Option 2 is correct. Creating an AMI, exporting it to an OVA, uploading to OCI Object Storage, and then importing as a custom image is a valid, documented process for migrating Amazon Linux-based instances to OCI.
- C. Incorrect.
Option 3 is incorrect. The instance typically needs to be stopped during the export process to ensure data consistency and properly capture the OS image.
- D. Incorrect.
Option 4 is incorrect. There is no direct AWS EBS snapshot import tool in OCI that bypasses the need to create and import a custom image. You must export your instance or disk image in a supported format and then import it to OCI.
- E. Correct.
Option 5 is correct. Before launching the migrated instance in OCI, you should update OS drivers and cloud-init configurations to ensure compatibility with OCI� virtualization and network environment.