exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 398 discussion

A company runs a legacy system on a single m4.2xlarge Amazon EC2 instance with Amazon EBS storage. The EC2 instance runs both the web server and a self- managed Oracle database. A snapshot is made of the EBS volume every 12 hours, and an AMI was created from the fully configured EC2 instance.
A recent event that terminated the EC2 instance led to several hours of downtime. The application was successfully launched from the AMI, but the age of the
EBS snapshot and the repair of the database resulted in the loss of 8 hours of data. The system was also down for 4 hours while the Systems Operators manually performed these processes.
What architectural changes will minimize downtime and reduce the chance of lost data?

  • A. Create an Amazon CloudWatch alarm to automatically recover the instance. Create a script that will check and repair the database upon reboot. Subscribe the Operations team to the Amazon SNS message generated by the CloudWatch alarm.
  • B. Run the application on m4.xlarge EC2 instances behind an Elastic Load Balancer/Application Load Balancer. Run the EC2 instances in an Auto Scaling group across multiple Availability Zones with a minimum instance count of two. Migrate the database to an Amazon RDS Oracle Multi-AZ DB instance.
  • C. Run the application on m4.2xlarge EC2 instances behind an Elastic Load Balancer/Application Load Balancer. Run the EC2 instances in an Auto Scaling group across multiple Availability Zones with a minimum instance count of one. Migrate the database to an Amazon RDS Oracle Multi-AZ DB instance.
  • D. Increase the web server instance count to two m4.xlarge instances and use Amazon Route 53 round-robin load balancing to spread the load. Enable Route 53 health checks on the web servers. Migrate the database to an Amazon RDS Oracle Multi-AZ DB instance.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html

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
LunchTime
Highly Voted 3 years, 7 months ago
B is correct. A: Does not address a loss of data since the last backup. B: Ensures that there are at least two EC instances, each of which is in a different AZ. It also ensures that the database spans multiple AZs. Hence this meets all the criteria. C: Having auto scaling set to a minimum instance count of one means that if there is just one instance and there is a problem, that instance will need to be restarted, meaning there would an outage during that restart time. As such, B is a better answer. D: Does not indicate that the two EC2 instances will be in different availability zones. If they are in the same AZ, that entire zone could theoretically have an outage. Given that, I would select B instead of D. Apart from that consideration D does the trick.
upvoted 32 times
Smart
3 years, 6 months ago
Completely agree. Also, others selecting m4.2xL becoz of legacy system, remember we are offloading DB from that instance - most likely, there is no need for 2xL size.
upvoted 9 times
...
...
donathon
Highly Voted 3 years, 7 months ago
B There are 2 problems here. Firstly, the EBS snapshot is too old and secondly, the outage resulted in DB issues and data loss. Using 2 instances installed with the web server and using Route 53 load balancing should help with the first problem and RDS Multi-AZ DB would help in the second. A: This will not reduce the chances of lost data and downtime could still be significant and risky. B\D: I chose this simply because of the LB\Auto Scaling. While Route 53 can do similar function, it does not auto heal the instance to bring it back to healthy state. C: There is only 1 active instance, there should be at least 2.
upvoted 16 times
JAWS1600
3 years, 6 months ago
B wont work for Legacy. How do you know taht application can run on a smaller instance, for a legacy system. Legacy system are typically lift shift models.
upvoted 4 times
...
...
jyrajan69
Most Recent 2 years, 9 months ago
Those who jumped on B are not considering the legacy app and the downtime, the app needs to be tested if you are downsizing the instance, yes its one instance, downtime will be the time it takes to respawn
upvoted 1 times
...
pal40sg
3 years, 1 month ago
Selected Answer: B
Ensures that there are at least two EC instances
upvoted 1 times
...
cldy
3 years, 3 months ago
B correct.
upvoted 1 times
...
uninit
3 years, 5 months ago
The choice is clearly between B & C. I choose C for the following reasons- - You cannot downsize the EC2 instance m4.2xlarge to m4.xlarge and assume the legacy application will run fine. What if the legacy application requires minimum 32GB of memory to run or need minimum of 8 cores to run? You might break the legacy application if you downsize. - Similarly, you cannot assume that legacy application would work fine in an AutoScaling group. What about authentication, sessions and host of other adjustments you would need to make? - The question asks architectural changes to minimize downtime and reduce the chance of lost data and C accomplishes both - - It reduces downtime because the manual system operator's process would be automated with an AutoScaling Group. It will not be eliminated but minimized for sure. - It reduces the chance of losing data because the database is migrated to RDS.
upvoted 5 times
mnsait
4 months, 2 weeks ago
Nice explanation. Thanks. Agree with the rationale.
upvoted 1 times
...
...
andylogan
3 years, 5 months ago
It's B
upvoted 1 times
...
NarendraNK
3 years, 5 months ago
Should be C. We need to minimize the downtime, not looking to provide HA capability. Autoscaling with 1 minimum will ensure, a new instance will be launched if something goes wrong.
upvoted 3 times
01037
3 years, 5 months ago
I think we are looking for the best solution to meet requirements of the question. So it should be B.
upvoted 2 times
...
tiffanny
3 years, 5 months ago
For C , it will takes time to spin up a new instance after the single instance is unhealthy. But for B, it only takes seconds for ALB to redirect to the other instance. Remember the goal of the questions is "minimize downtime"
upvoted 2 times
...
...
WhyIronMan
3 years, 5 months ago
I'll go with B
upvoted 4 times
...
wind
3 years, 5 months ago
I think B is correct.
upvoted 2 times
...
Kian1
3 years, 5 months ago
going with B
upvoted 3 times
...
Ebi
3 years, 5 months ago
I go with B, the question is about HA, with two instances in two different AZd behind ALB it is achieved
upvoted 3 times
...
Joaster
3 years, 5 months ago
I would say B.Ensures that there are at least two EC instances, each of which is in a different AZ. It also ensures that the database spans multiple AZs. Hence this meets all the criteria.
upvoted 2 times
...
vipgcp
3 years, 5 months ago
C looks better.. as option B and D are trying to run smaller instance for Legacy application. Legacy application doesnt support cluster because of session handling. SO C is not best option as it involve some downtime due to cooldown period but there will no data loss (which is the key) and this is best amongst given options.
upvoted 4 times
...
sarofi
3 years, 5 months ago
BBBBBBBBBBBBBBBBBBB
upvoted 2 times
...
MichaelHuang
3 years, 5 months ago
The answer should be B. The reasons are: 1) For minimum downtime -- Run the EC2 instances in an Auto Scaling group across multiple Availability Zones with a minimum instance count of two; 2) For avoiding loss of data -- Migrate the database to an Amazon RDS Oracle Multi-AZ DB instance.
upvoted 3 times
...
happpieee
3 years, 5 months ago
B. Data loss is addressed with Oracle Multi AZ RDZ. Downtime minimized with ALB+ ASG of MINIMUM 2. C is having minimum of 1. D is not having ASG and inability to respawn instances.
upvoted 2 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