SAP-C02 · Question #361
A retail company runs a business-critical web service on an Amazon Elastic Container Service (Amazon ECS) cluster that runs on Amazon EC2 instances. The web service receives POST requests from end…
The correct answer is A. Run the web service on an ECS cluster that has a Fargate launch type. Use AWS CodePipeline C. Configure an Amazon Simple Queue Service (Amazon SQS) queue as an event source to F. Migrate the MySQL database to run on an Amazon RDS for MySQL Multi-AZ DB instance that. B is wrong: iOPS not cost-effectiveness D is wrong: canary will replace all tasks => could cause 502 err again E: SQS agent is not exist, you need use sdk to build procuder and consumer
Question
A retail company runs a business-critical web service on an Amazon Elastic Container Service (Amazon ECS) cluster that runs on Amazon EC2 instances. The web service receives POST requests from end users and writes data to a MySQL database that runs on a separate EC2 instance. The company needs to ensure that data loss does not occur. The current code deployment process includes manual updates of the ECS service. During a recent deployment, end users encountered intermittent 502 Bad Gateway errors in response to valid web requests. The company wants to implement a reliable solution to prevent this issue from recurring. The company also wants to automate code deployments. The solution must be highly available and must optimize cost-effectiveness. Which combination of steps will meet these requirements? (Choose three.)
Options
- ARun the web service on an ECS cluster that has a Fargate launch type. Use AWS CodePipeline
- BMigrate the MySQL database to run on an Amazon RDS for MySQL Multi-AZ DB instance that
- CConfigure an Amazon Simple Queue Service (Amazon SQS) queue as an event source to
- DRun the web service on an ECS cluster that has a Fargate launch type. Use AWS CodePipeline
- EConfigure an Amazon Simple Queue Service (Amazon SQS) queue. Install the SQS agent on the
- FMigrate the MySQL database to run on an Amazon RDS for MySQL Multi-AZ DB instance that
How the community answered
(38 responses)- A61% (23)
- B5% (2)
- D11% (4)
- E24% (9)
Explanation
B is wrong: iOPS not cost-effectiveness D is wrong: canary will replace all tasks => could cause 502 err again E: SQS agent is not exist, you need use sdk to build procuder and consumer
Community Discussion
No community discussion yet for this question.