Skip to Content

Amazon SAP-C02: Solution to meet requirements CloudFormation template

Question

A company has an application in the AWS Cloud. The application runs on a fleet of 20 Amazon EC2 instances. The EC2 instances are persistent and store data on multiple attached Amazon Elastic Block Store (Amazon EBS) volumes.

The company must maintain backups in a separate AWS Region. The company must be able to recover the EC2 instances and their configuration within 1 business day, with loss of no more than 1 day’s worth of data. The company has limited staff and needs a backup solution that optimizes operational efficiency and cost. The company already has created an AWS CloudFormation template that can deploy the required network configuration in a secondary Region.

Which solution will meet these requirements?

A. Create a second CloudFormation template that can recreate the EC2 instances in the secondary Region. Run daily multivolume snapshots by using AWS Systems Manager Automation runbooks. Copy the snapshots to the secondary Region. In the event of a failure launch the CloudFormation templates, restore the EBS volumes from snapshots, and transfer usage to the secondary Region.
B. Use Amazon Data Lifecycle Manager (Amazon DLM) to create daily multivolume snapshots of the EBS volumes. In the event of a failure, launch the CloudFormation template and use Amazon DLM to restore the EBS volumes and transfer usage to the secondary Region.
C. Use AWS Backup to create a scheduled daily backup plan for the EC2 instances. Configure the backup task to copy the backups to a vault in the secondary Region. In the event of a failure, launch the CloudFormation template, restore the instance volumes and configurations from the backup vault, and transfer usage to the secondary Region.
D. Deploy EC2 instances of the same size and configuration to the secondary Region. Configure AWS DataSync daily to copy data from the primary Region to the secondary Region. In the event of a failure, launch the CloudFormation template and transfer usage to the secondary Region.

Answer

C. Use AWS Backup to create a scheduled daily backup plan for the EC2 instances. Configure the backup task to copy the backups to a vault in the secondary Region. In the event of a failure, launch the CloudFormation template, restore the instance volumes and configurations from the backup vault, and transfer usage to the secondary Region.

Explanation

Based on the options given, I think the most likely answer to your question is C. Use AWS Backup to create a scheduled daily backup plan for the EC2 instances. Configure the backup task to copy the backups to a vault in the secondary Region. In the event of a failure, launch the CloudFormation template, restore the instance volumes and configurations from the backup vault, and transfer usage to the secondary Region. This is because AWS Backup is a service that simplifies backup management for your AWS resources by creating backup plans that automate backup scheduling, retention management, and lifecycle management. You can use AWS Backup to create a daily backup plan for your EC2 instances and their attached EBS volumes, and configure the backup task to copy the backups to a vault in another Region for cross-Region disaster recovery. In the event of a failure, you can launch the CloudFormation template in the secondary Region to create the network infrastructure, and then use AWS Backup to restore the instance volumes and configurations from the backup vault. This solution meets the requirements of maintaining backups in a separate Region, recovering within 1 business day with minimal data loss, and optimizing operational efficiency and cost.

The other statements are less likely because:

A. Create a second CloudFormation template that can recreate the EC2 instances in the secondary Region. Run daily multivolume snapshots by using AWS Systems Manager Automation runbooks. Copy the snapshots to the secondary Region. In the event of a failure launch the CloudFormation templates, restore the EBS volumes from snapshots, and transfer usage to the secondary Region.

This statement is less likely because creating a second CloudFormation template that can recreate the EC2 instances in the secondary Region would require more effort and maintenance than using AWS Backup. Also, running daily multivolume snapshots by using AWS Systems Manager Automation runbooks would require more manual steps and configuration than using AWS Backup. Moreover, copying snapshots to another Region would incur additional costs for data transfer and storage.

B. Use Amazon Data Lifecycle Manager (Amazon DLM) to create daily multivolume snapshots of the EBS volumes. In the event of a failure, launch the CloudFormation template and use Amazon DLM to restore the EBS volumes and transfer usage to the secondary Region.

This statement is less likely because Amazon DLM is a service that automates snapshot management for EBS volumes by creating policies that define when snapshots are created, how long they are retained, and how they are encrypted. However, Amazon DLM does not support copying snapshots to another Region or restoring snapshots to different EC2 instances. Therefore, this solution would not meet the requirements of maintaining backups in a separate Region or recovering within 1 business day.

D. Deploy EC2 instances of the same size and configuration to the secondary Region. Configure AWS DataSync daily to copy data from the primary Region to the secondary Region. In the event of a failure, launch the CloudFormation template and transfer usage to the secondary Region.

This statement is less likely because deploying EC2 instances of the same size and configuration to the secondary Region would incur additional costs for running idle instances that are not used until a failure occurs. Also, configuring AWS DataSync daily to copy data from the primary Region to the secondary Region would require more manual steps and configuration than using AWS Backup. Moreover, launching the CloudFormation template in case of a failure would be redundant since there are already EC2 instances deployed in the secondary Region.

Reference

Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Professional SAP-C02 exam and earn Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification.