Q513. A retail company has a small ecommerce web application that uses an Amazon RDS for PostgreSQL DB instance. The DB instance is deployed with the Multi-AZ option turned on. Application usage recently increased exponentially and users experienced frequent HTTP 503 errors. Users reported the errors and the company's reputation suffered. The company could not identify a definitive root cause.The company wants to improve its operational readiness and receive alerts before users notice an incident The company also wants to collect enough information to determine the root cause of any future incident. Which solution will meet these requirements with the LEAST operational overhead?
A.Turn on Enhanced Monitoring for the DB instance. Modify the corresponding parameter group to turn on query logging for all the slow queries. Create Amazon CloudWatch alarms. Set the alarms to appropriate thresholds that are based on performance metrics in CloudWatch. B.Turn on Enhanced Monitoring and Performance Insights for the DB instance. Create Amazon CloudWatch alarms Set the alarms to appropriate thresholds that are based on performance metrics in CloudWatch. C.Turn on log exports to Amazon CloudWatch for the PostgreSQL logs on the DB instance. Analyze the logs by usingAmazon Elasticsearch Service (Amazon ES)and Kibana. Create a dashboard in Kibana Configure alerts that are basedon the metrics that are collected. D.Turn on Performance Insights for the DB instance Modify the corresponding parameter group to turn on query logging for all the slow queries. Create Amazon CloudWatch alarms. Set the alarms to appropriate thresholds that are based on performance metrics in CloudWatch.正确答案B