exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 330 discussion

A company has a web application with a database tier that consists of an Amazon EC2 instance that runs MySQL. A SysOps administrator needs to minimize potential data loss and the time that is required to recover in the event of a database failure.

What is the MOST operationally efficient solution that meets these requirements?

  • A. Create an Amazon CloudWatch alarm for the StatusCheckFailed_System metric to invoke an AWS Lambda function that stops and starts the EC2 instance.
  • B. Create an Amazon RDS for MySQL Multi-AZ DB instance. Use a MySQL native backup that is stored in Amazon S3 to restore the data to the new database. Update the connection string in the web application.
  • C. Create an Amazon RDS for MySQL Single-AZ DB instance with a read replica. Use a MySQL native backup that is stored in Amazon S3 to restore the data to the new database. Update the connection string in the web application
  • D. Use Amazon Data Lifecycle Manager (Amazon DLM) to take a snapshot of the Amazon Elastic Block Store (Amazon EBS) volume every hour. In the event of an EC2 instance failure, restore the EBS volume from a snapshot.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Gomer
Highly Voted 1 year, 10 months ago
Selected Answer: D
To me both B&D minimize potential data loss. However, the question is not specifying availability (Multi-AZ is B) Instead, the question is emphasizing quick recovery from backup (not active/active recovery) Therefore, I think only option D meets both criteria for minimizing potential data loss and quick recovery. - 1 Hour RPO (only D specifies hourly snapshots & hourly RPO) - Snapshots (D) have faster RTO than native backup restore from S3 (B) In the real world, I've used both backups (regularly/scheduled) and snapshots (prior to scheduled changes, etc.)
upvoted 15 times
auxwww
10 months ago
The key is operationally efficient - While minimizing data loss and recovery time. B - Operationally efficient - Multi - AZ failover - ensures no data loss of committed transactions, automated operation. D - Operationally - the Administrator has to restore the snapshot, use native tools to recover the database which is operationally inefficient. Consistent Backups of data plus database logs is simpler using RDS Hence - A
upvoted 1 times
auxwww
10 months ago
I meant 'B' sorry
upvoted 1 times
...
...
Gomer
1 year, 10 months ago
3rd point: - We are talkng about MySQL hosted on EBS volume on EC2 and native backups to S3 (not Aurora MySQL and AWS Backup)
upvoted 6 times
...
...
Debugs_Bunny
Highly Voted 1 year, 4 months ago
Selected Answer: B
D is incorrect why: While using Amazon DLM for EBS snapshots provides backups, it's not as comprehensive for database use as RDS. In the event of a failure, recovery time would be longer as you would have to manually restore the EBS volume from a snapshot and then attach it to a new EC2 instance.
upvoted 7 times
...
numark
Most Recent 5 months ago
Selected Answer: B
This is a strong solution because Amazon RDS for MySQL with a Multi-AZ deployment provides high availability by automatically replicating database instances across multiple Availability Zones (AZs). This means if one AZ has issues, RDS will automatically fail over to the standby in another AZ with minimal disruption and without manual intervention. Additionally, RDS handles backups automatically and stores them for a user-defined period, which can be restored as needed. Updating the application's connection string to the new RDS instance completes the migration process from EC2 to RDS. While snapshotting the EBS volume frequently does help to minimize data loss, this option does NOT provide a QUICK failover solution in case of a database failure. Recovery time would include the process of provisioning a new EC2 instance and attaching the restored EBS volume, which can be time-consuming and also may result in data loss since the last snapshot.
upvoted 1 times
...
acnaz
9 months ago
B by chatGpto4 Conclusion: Option B (RDS Multi-AZ): Using Amazon RDS for MySQL Multi-AZ DB instance offers the most operationally efficient and robust solution to minimize data loss and downtime. It ensures high availability, automated backups, and failover capabilities, making it ideal for production environments where database reliability a
upvoted 1 times
...
Student013657
11 months ago
Selected Answer: D
Sold by Gomer's answer
upvoted 1 times
...
tgv
1 year ago
Selected Answer: B
RDS Multi-AZ all the way!
upvoted 1 times
...
TareDHakim
1 year, 3 months ago
Selected Answer: B
MySQL recovery is very dependant on Transaction Logs. I don't think an EBS snapshot is a good backup\recovery solution for this scenario. Point 2, is that Multi-AZ and HA is one way to ensure instant recovery if primary instance fails with is the MOST Operationally Efficient. B it is.
upvoted 1 times
...
Hatem08
1 year, 4 months ago
Selected Answer: B
Def B as to minimize the Data loss, In case of D which is 1 hour Snapshot there would be a data lost during this 1 hour interval, while in B Multi-AZ there won't be any data loss
upvoted 4 times
...
DeaconStJohn
1 year, 5 months ago
Selected Answer: B
My first questions was: "why has this not already been migrated over to RDS Multi-AZ" I think it most operationally efficient to use a service that could be renamed "MySQL designed for failover events" data loss would be minutes. Data loss on EBS snapshots would be up to 60 mins. Being in this situation I would be quizzing my project manager on why in gods name are we storing this on EC2/EBS and aren't these backups slight overkill.
upvoted 4 times
...
Benly
1 year, 6 months ago
Selected Answer: B
B satisfy the "minimize potential data loss and the time that is required to recover in the event of a database failure and the MOST operationally efficient solution - doing one time and forget it.
upvoted 4 times
...
xile1021
1 year, 7 months ago
Selected Answer: C
C. It says DB failure and not AZ failure. Single AZ works. MySQL native backups that are stored in Amazon S3 ensures data durability and enables efficient restoration
upvoted 1 times
xile1021
1 year, 7 months ago
"operationally efficient solution" read replica = operationally efficient
upvoted 1 times
...
xile1021
1 year, 6 months ago
Nvm it's D
upvoted 1 times
xile1021
1 year, 6 months ago
Sigh, I meant to say B
upvoted 1 times
...
...
...
AShahine21
1 year, 9 months ago
Selected Answer: B
B "MOST operationally efficient solution" is to use Rds with multi az
upvoted 3 times
...
YHoro
1 year, 10 months ago
Selected Answer: D
nswer is D
upvoted 1 times
...
Hehehe21
1 year, 10 months ago
Answer is D
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago