SAP-C02 Exam QuestionsBrowse all questions from this exam

SAP-C02 Exam - Question 204


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?

Show Answer
Correct Answer: C

AWS Backup is a comprehensive and centralized service that can manage backups across multiple AWS services, including EC2 instances and EBS volumes. By creating a scheduled daily backup plan, AWS Backup ensures that both the instances and the data volumes are regularly backed up. The backups can be configured to be stored in a vault in a secondary AWS region, which meets the requirement of maintaining backups in a separate region. In case of a failure, the combination of AWS Backup and the CloudFormation template allows for the quick restoration of both instance configurations and data, ensuring minimal downtime and data loss. This solution optimizes operational efficiency and cost, aligning with the company's needs. Other options do not fully address the requirement to restore both instance configurations and data volumes efficiently while maintaining backups in a separate region.

Discussion

17 comments
Sign in to comment
andreituguiOption: C
May 30, 2023

Correct is C. For those voting with B, you missed the Instance configuration part. DLM will only backup the EBS volume not the instance settings also. AWS backup will backup ebs & instance settings. Option C, using AWS Backup, provides a centralized and cost-effective solution for managing backups across multiple services, including EC2 instances. By creating a scheduled daily backup plan for the EC2 instances, AWS Backup ensures regular backups are taken. The backups can be configured to be stored in a vault in the secondary Region, fulfilling the requirement of maintaining backups in a separate Region. The EC2 instance volumes and configurations can then be restored from the backup vault using AWS Backup's restore capabilities. This allows for the recovery of EC2 instances and their configurations within the required timeframe of 1 business day, with a maximum data loss of 1 day's worth.

Roontha
Jun 4, 2023

Answer is B. https://aws.amazon.com/ebs/data-lifecycle-manager/ It has aws sponsored video which stated clearly can take EBS backed AMIs with AWS DLM

Just_Ninja
Jul 20, 2023

B is Wrong! Why? They must!! So that means Compliance is important. AWS Backup is a service for Compliance and Goverment Targets. C Match

Roontha
May 26, 2023

Answer : C https://aws.amazon.com/getting-started/hands-on/amazon-ec2-backup-and-restore-using-aws-backup/ https://docs.aws.amazon.com/aws-backup/latest/devguide/integrate-cloudformation-with-aws-backup.html

deegadaze1
May 28, 2023

B would be best bet. C may involve additional overhead for managing backup plans for EC2 instances. It focuses on backing up entire instances rather than specifically optimising EBS snapshots. if the goal is to optimise operational efficiency and cost for backup management of EBS volumes, leveraging Amazon Data Lifecycle Manager (Amazon DLM) to create daily multivolume snapshots is recommended. It provides automation, policy management, and cost optimisation features specifically tailored for EBS snapshots. The answer is B

Roontha
May 28, 2023

@deegadaze1: Agreed with answer B https://aws.amazon.com/blogs/storage/automating-amazon-ebs-snapshot-and-ami-management-using-amazon-dlm/ In this blog post, we examine how you can use Amazon Data Lifecycle Manager (Amazon DLM) lifecycle policies to automate the creation, retention, and deletion of Amazon EBS snapshots. With Amazon DLM, the need for complicated and custom scripts to manage EBS snapshots is eliminated. Amazon DLM enables you to create, manage, and delete EBS snapshots in a simple, automated way based on resource tags for EBS volumes or Amazon EC2 instances. This reduces the operational complexity of managing EBS snapshots, thereby saving time and money. Also, let’s not forget the best part: Amazon DLM is free to use and is available in all AWS Regions.

clownfishman
Jun 10, 2023

Why not A?

deegadaze1
May 28, 2023

The answer is B

deegadaze1
May 28, 2023

https://aws.amazon.com/blogs/storage/automating-amazon-ebs-snapshots-management-using-data-lifecycle-manager/

rbm2023Option: C
May 31, 2023

AWS Backup is more cost effective so I would chose C as well. The DLM option B, does not contemplate the back up in another region as far as I could see.

Jesuisleon
Jun 3, 2023

DLM can copy snapshots to another region, see https://aws.amazon.com/about-aws/whats-new/2019/12/amazon-data-lifecycle-manager-enables-automation-snapshot-copy-via-policies/

JesuisleonOption: B
Jun 3, 2023

I prefer B to C as this sentence "The EC2 instances are persistent and store data on multiple attached Amazon Elastic Block Store (Amazon EBS) volumes", in this question, there is no database mentioned, I assume all persistent data is in EBS, so no need to backup ec2 instances, you can directly startup ec2 instance by cloudformation and load backuped ebs.

Maria2023Option: C
Jun 24, 2023

B says "Use Amazon DLM to restore the EBS volumes and transfer usage to the secondary Region" - just tested it and could not find any option for DLM to restore volumes, think the snapshots are managed the usual way.

NikkyDickyOption: C
Jul 6, 2023

C B would be ok, if DLM supported restore. it doesn't

career360guruOption: C
Nov 23, 2023

Option C

F_EldinOption: B
May 30, 2023

AWS Backup is a latter service which tries to simplify the challenge of administering a backup in each service individually. However AWS Lifecycle Manager originally only made EBS snapshots but has been expanded to create AMIs. I don't believe AWS Backup can trigger AMI creation.

andreitugui
May 31, 2023

But B mentions only EBS snapshots (Use Amazon Data Lifecycle Manager (Amazon DLM) to create daily multivolume snapshots of the EBS volumes)! Does not say anything about AMI's. So IMO the answer is C

JonalbOption: B
Jun 12, 2023

Its B!!!!!!!!!!!!!!!!

easytoo
Jun 21, 2023

c-c-c-c-c-c-c-c-c-c

javitech83Option: C
Jun 29, 2023

I think correct is C. AWS Backup is easier and perfectly fits the scenario

SK_TyagiOption: B
Aug 20, 2023

B The explanation here fits the use-case https://aws.amazon.com/blogs/storage/automating-amazon-ebs-snapshot-and-ami-management-using-amazon-dlm/

severlightOption: C
Nov 18, 2023

Because AWS Back ups supports restore and DLM doesn't

saggy4
Feb 4, 2024

Correct Answer is C. Why not B, DLM can only take backup on restore. The options says using DLM restore the volumes.

saggy4
Feb 4, 2024

I meant DLM cannot restore so the option B is wrong.

gfhbox0083Option: C
Jul 13, 2024

C, for sure. Use AWS Backup. DLM itself does not directly support restore operations.