1Z0-1123-25 Question 58
Select 2Your organization plans to migrate an existing application running on an Amazon EC2 Linux instance to Oracle Cloud Infrastructure (OCI). They have decided to use the Custom Image Import method on OCI. Which two steps must be included in your migration plan to ensure the instance boots and operates correctly after being imported into OCI?
- A
A. Export the EC2 instance to an Amazon S3 bucket in a compatible image format (such as VMDK or OVA) before transferring it to OCI Object Storage.
- B
B. Directly copy the EC2 instance's root volume snapshots to OCI without creating a custom AMI image in AWS first.
- C
C. Convert the EC2 snapshot from raw format to a Docker image and import it into OCI Container Instances.
- D
D. Confirm that the source operating system is supported in OCI and has necessary drivers installed (for example, paravirtual drivers) before creating the export image.
- E
E. Use the instance's ephemeral storage directly in OCI by replicating all ephemeral volumes during the image export process.
Show answer and explanation
Correct answers: A, D
Explanation
When migrating an Amazon EC2 instance to OCI using the Custom Image Import method, it is critical to export the instance in a supported format (e.g., OVA, VMDK) and ensure the operating system and drivers are compatible with the OCI environment. Refer to Oracle documentation on Custom Image Import (https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/importingcustomimagelinux.htm) for supported operating systems, file formats, and configurations. Export from AWS to an S3 bucket, then upload to OCI Object Storage. Before you export, make sure your instance does not rely on ephemeral volumes and that you have the required drivers installed (for example, virtIO drivers) so that the imported instance boots properly in OCI.
- A. Correct.
A. CORRECT. Exporting your EC2 instance to an Amazon S3 bucket in a valid format (e.g., VMDK, OVA) is a required prerequisite for moving the image to OCI. Once in S3, you can transfer the file to OCI Object Storage and import a Custom Image in OCI.
- B. Incorrect.
B. INCORRECT. You generally cannot just copy raw EBS snapshots without first creating and exporting a custom AMI. OCI requires a properly formatted export file (e.g., VMDK, OVA) that it can process as a custom image.
- C. Incorrect.
C. INCORRECT. Converting your EC2 snapshot into a Docker image is not part of the standard VM import process and will not create a bootable OCI Compute instance. Docker images address container workloads, not full VM migrations.
- D. Correct.
D. CORRECT. Ensuring the source OS and drivers are compatible with OCI is critical. For example, Linux distributions must typically have paravirtual (virtIO) drivers installed to boot properly on OCI.
- E. Incorrect.
E. INCORRECT. Ephemeral storage on AWS is tied to the underlying hardware and does not transfer seamlessly to OCI. You should rely on EBS storage (root and data volumes) and recreate any ephemeral needs on OCI with local NVMe or Block Volumes if required.