Your team is working on a plant recognition application.
After users upload photos of plants, the application can provide their names and properties.
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer A, B.
About how to back up the instance store volume, refer to the document in.
https://aws.amazon.com/premiumsupport/knowledge-center/back-up-instance-store-ebs/.You can back up data stored on an instance store volume in one of the two ways mentioned in options A &
B.Option A is CORRECT: Because it is useful to back up the database filestore to S3.
Option B is CORRECT: This is recommended as the above link.
For example, tools such as sync for Linux or robocopy for Windows can be used to backup data.
Option C is incorrect: There is no way to create an AMI from instance store volume using the console.
To do so, you must use AMI Tools from the command line.
Option D is incorrect: Snapshots cannot create, for instance, store volumes.
Only EBS volumes can.
Among the given answers, option B seems to be the most appropriate for backing up the MySQL database for the plant recognition application.
Option A, backing up the database file store to S3, may not be sufficient for a MySQL database, as a MySQL database consists of multiple files and directories, and requires a consistent backup to maintain data integrity.
Option C, creating an image of the EC2 instance, is not an ideal solution for backing up a MySQL database. This is because creating an image of the EC2 instance captures the state of the instance at a specific point in time, including the operating system and application software. However, it does not guarantee the consistency of the database at the time of the image creation.
Option D, creating snapshots of the instance store volume, is a possible solution for backing up the MySQL database, but it may not be ideal in terms of performance and reliability. Instance store volumes are ephemeral and are not designed for long-term data storage. Furthermore, creating snapshots can affect the performance of the instance, as it requires copying the data from the instance store to Amazon S3.
Option B, creating a new EBS volume and attaching it to EC2, and then exporting the MySQL database to the EBS volume using a migration tool, is a recommended solution for backing up the MySQL database. This method allows for consistent backups of the database, as well as the ability to restore the database to a different EC2 instance or region. EBS volumes are designed for durability and high availability, and can be easily backed up using EBS snapshots. Moreover, EBS volumes provide better performance compared to instance store volumes, as they are designed for frequent and random I/O operations.
In summary, option B, creating a new EBS volume and attaching it to EC2, and then exporting the MySQL database to the EBS volume using a migration tool, is the most appropriate solution for backing up the MySQL database for the plant recognition application.