exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 491 discussion

A company has hired a solutions architect to design a reliable architecture for its application. The application consists of one Amazon RDS DB instance and two manually provisioned Amazon EC2 instances that run web servers. The EC2 instances are located in a single Availability Zone.
An employee recently deleted the DB instance, and the application was unavailable for 24 hours as a result. The company is concerned with the overall reliability of its environment.
What should the solutions architect do to maximize reliability of the application's infrastructure?

  • A. Delete one EC2 instance and enable termination protection on the other EC2 instance. Update the DB instance to be Multi-AZ, and enable deletion protection.
  • B. Update the DB instance to be Multi-AZ, and enable deletion protection. Place the EC2 instances behind an Application Load Balancer, and run them in an EC2 Auto Scaling group across multiple Availability Zones.
  • C. Create an additional DB instance along with an Amazon API Gateway and an AWS Lambda function. Configure the application to invoke the Lambda function through API Gateway. Have the Lambda function write the data to the two DB instances.
  • D. Place the EC2 instances in an EC2 Auto Scaling group that has multiple subnets located in multiple Availability Zones. Use Spot Instances instead of On- Demand Instances. Set up Amazon CloudWatch alarms to monitor the health of the instances. Update the DB instance to be Multi-AZ, and enable deletion protection.
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
patriktre
Highly Voted 3 years, 8 months ago
B is correct. HA ensured by DB in Mutli-AZ and EC2 in AG in multople AZ
upvoted 32 times
Linuslin
2 years, 9 months ago
AG what is?
upvoted 1 times
...
...
swadeey
Highly Voted 3 years, 7 months ago
Yes B is correct
upvoted 6 times
...
slcheng
Most Recent 2 years, 10 months ago
Selected Answer: B
Agreed with B
upvoted 1 times
...
Iliyan_Azure
2 years, 10 months ago
Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the AWS cloud. Spot Instances are available at up to a 90% discount compared to On-Demand prices. You can use Spot Instances for various stateless, fault-tolerant, or flexible applications such as big data, containerized workloads, CI/CD, web servers, high-performance computing (HPC), and test & development workloads. Because Spot Instances are tightly integrated with AWS services such as Auto Scaling, EMR, ECS, CloudFormation, Data Pipeline and AWS Batch, you can choose how to launch and maintain your applications running on Spot Instances. https://aws.amazon.com/ec2/spot/
upvoted 1 times
...
cutecolt
3 years, 1 month ago
Selected Answer: B
Multi AZ with DB and auto scaling group.
upvoted 2 times
...
rvnz45
3 years, 2 months ago
Selected Answer: D
Applications can minimize the impact of a Spot Instance interruption. To do so, an application catches the two-minute interruption notification (available in the instance’s metadata), and instructs itself to stop fetching jobs from the queue. If there’s an image still being processed when the two minutes expire and the instance is terminated, the application does not delete the message from the queue after finishing the process. Instead, the message simply becomes visible again for another instance to pick up and process after the Amazon SQS visibility timeout expires.
upvoted 1 times
...
osel
3 years, 4 months ago
Why answer D still need to setup a CloudWatch Alarm for EC2 healthcheck? Does the ASG already perform EC2 healthcheck by default? I will go for Answer B bcos DB in Multi-AZ addresses reliability when Pri DB is removed will auto failover to standby replica, and ASG across AZ that performs auto-scale will address the HA for the WebSvrs.
upvoted 1 times
...
jinyjiny40
3 years, 5 months ago
Why not D?
upvoted 1 times
Alcpt
3 years, 5 months ago
“The firm is concerned with the environment's general dependability.“ = HA Spot Instances = “can only be launched immediately if the Spot Instance request is active and capacity is available.” This is not HA. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html
upvoted 4 times
...
...
gondohwe
3 years, 6 months ago
B provides availability
upvoted 1 times
...
jnxtx
3 years, 6 months ago
Selected Answer: B
Spot instances are not dependable.
upvoted 5 times
...
Jamati
3 years, 7 months ago
BBBBBB
upvoted 4 times
Jamshif01
3 years, 7 months ago
you better explain why u choose this variant instead of typing letters
upvoted 4 times
...
...
rininto
3 years, 7 months ago
I think b is correct
upvoted 6 times
...
quangquydw
3 years, 7 months ago
B is best option
upvoted 6 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 ...