Q21 — AWS SAA-C03 Ch.11
Question 21 of 100 | ← Chapter 11
Q721. A company's infrastructure consists of hundreds of Amazon EC2 instances that use Amazon Elastic Block Store (Amazon EBS) storage. A solutions architect must ensure that every EC2 instance can be recovered after a disaster.What should the solutions architect do to meet this requirement with the LEAST amount of effort?
- A. Take a snapshot of the EBS storage that is attached to each EC2 instance. Create an AWS CloudFormation template to launch new EC2 instances from the EBS storage.
- B. Take a snapshot of the EBS storage that is attached to each EC2 instance. Use AWS Elastic Beanstalk to set the environment based on the EC2 template and attach the EBS storage.
- C. Use AWS Backup to set up a backup plan for the entire group of EC2 instances. Use the AWS Backup API or the AWS CLI to speed up the restore process for multiple EC2 instances. ✓
- D. Create an AWS Lambda function to take a snapshot of the EBS storage that is attached to each EC2 instance and copy the Amazon Machine Images (AMIs). Create another Lambda function to perform the restores with the copied AMIs and attach the EBS storage.
Correct Answer: C. Use AWS Backup to set up a backup plan for the entire group of EC2 instances. Use the AWS Backup API or the AWS CLI to speed up the restore process for multiple EC2 instances.
Explanation
To ensure that every Amazon EC2 instance can be recovered after a disaster with the least amount of effort, the most suitable option is:C. Use AWS Backup to set up a backup plan for the entire group of EC2 instances. Use the AWS Backup API or the AWS CLI to speed up the restore process for multiple EC2 instances.Option C provides a solution that minimizes effort while ensuring the recoverability of EC2 instances after a disaster:- Use AWS Backup: AWS Backup is a fully managed backup service that simplifies the process of protecting data across AWS services. By setting up a backup plan for the entire group of EC2 instances, the solutions architect can automate and centralize the backup process.- Use the AWS Backup API or the AWS CLI: AWS Backup provides APIs and a command-line interface (CLI) that can be used to automate backup and restore operations. By leveraging these tools, the solutions architect can streamline the restore process for multiple EC2 instances, reducing manual effort and ensuring efficient recovery.Option A suggests taking a snapshot of the EBS storage attached to each EC2 instance and creating an AWS CloudFormation template to launch new EC2 instances from the EBS storage. While this approach can facilitate recovery, it requires manual snapshot creation and the management of CloudFormation templates for each instance, resulting in more effort and potential complexity.Option B suggests taking a snapshot of the EBS storage attached to each EC2 instance and using AWS Elastic Beanstalk to set up the environment based on the EC2 template and attach the EBS storage. However, Elastic Beanstalk is primarily used for deploying and managing applications, and it may introduce unnecessary complexity for the task of recovering EC2 instances.Option D suggests creating AWS Lambda functions to take snapshots of EBS storage and copy AMIs for backup and restore operations. While this approach offers automation, it also requires developing and managing custom Lambda functions, which may result in additional effort and complexity.Therefore, the option with the least amount of effort to ensure the recoverability of EC2 instances after a disaster is C: Use AWS Backup to set up a backup plan for the entire group of EC2 instances and use the AWS Backup API or the AWS CLI to speed up the restore process for multiple EC2 instances. This approach simplifies the backup and restore operations, providing a streamlined and efficient solution for disaster recovery.