SAP-C01 Exam QuestionsBrowse all questions from this exam

SAP-C01 Exam - Question 908


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?

Show Answer
Correct Answer: B

Turning on both Enhanced Monitoring and Performance Insights for the DB instance will provide comprehensive monitoring and diagnostic capabilities. Enhanced Monitoring provides real-time operational data, which can be used to set up CloudWatch alarms. Performance Insights offers deep insights into the database performance and can help identify issues like slow queries or resource bottlenecks. This combination ensures that detailed metrics and diagnostic information are readily available while keeping operational overhead low, as it leverages built-in AWS services without requiring extensive manual configuration.

Discussion

17 comments
Sign in to comment
caleOption: B
Sep 7, 2022

I think it is B because the cause of the issue is not known (i.e. it might not be slow queries) and RDS has SQL statistics in Performance Insight to investigate re: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/sql-statistics.html

cale
Sep 7, 2022

Additional reference to support: (1) https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Cloudwatch.html and (2) https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights_Counters.html.

AwsBRFanOption: D
Sep 7, 2022

Yeap really in doubt about A and D. 1- Yes, performance insight support RDS PostgresSQL: https://aws.amazon.com/rds/performance-insights/ 2- Performance insight will help on RCA

kaparaOption: D
Sep 19, 2022

D. Performance Insights will publish fewer metrics and will be less complex to set alarm policy too. since this question seems to blame the DB performance as the source for the issue, the Performance Insights metrics should be the metrics we need.

sb333
Oct 2, 2022

The answer is B - to enable both Enhanced Monitoring and Performance Insights. Enhanced Monitoring produces CloudWatch metrics, which can be the basis for CloudWatch alarms. Performance Insights is a great tool for troubleshooting, but it is a dashboard that does not allow data to be exported (to CloudWatch or otherwise). The answer cannot be D, because neither Performance Insights nor query logging (stored locally on DB server) can be enabled for CloudWatch alarms.

JohnPi
Oct 3, 2022

Performance Insights automatically publishes metrics to Amazon CloudWatch

Sathish1412
Sep 11, 2022

Option D

mrgreatness
Nov 11, 2022

B for me: https://aws.amazon.com/blogs/database/monitor-amazon-rds-for-postgresql-and-amazon-aurora-for-postgresql-database-log-errors-and-set-up-notifications-using-amazon-cloudwatch/

ArreRaja
Sep 7, 2022

cannot be D as Performance insight is not supported for RDS PostgresSQL. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Enabling.html

Biden
Sep 10, 2022

Perf Insights supported for Postgre; https://aws.amazon.com/rds/performance-insights/. Hence D

ArreRaja
Sep 14, 2022

my bad. Perf insight is supported for RDS Postgres

Guoxian
Sep 11, 2022

I would vote for D since it could be both. D covers both Postgres DB performance and slow query.

Blair77Option: B
Oct 26, 2022

-"The company also wants to collect enough information to determine the root cause of any future incident." Enhanced Monitoring plus Performance Insights will provide that... Go with BBB https://www.youtube.com/watch?v=iTDt4ZhD25U

28hangcanOption: A
Nov 4, 2022

A is the correct Answer

skywalkerOption: B
Oct 9, 2022

B is my choice.

psou7
Oct 16, 2022

i would go with D

joancarlesOption: B
Oct 17, 2022

I think it's B because the way to determine the root problem is to enable multiple mechanisms. Enhanced Monitoring, Performance Insights and metrics in CloudWatch: https://aws.amazon.com/premiumsupport/knowledge-center/rds-aurora-postgresql-performance-issues/?nc1=h_ls

ToanVN1988Option: D
Oct 27, 2022

Need to combine monitor and logging analytics. D is correct

aqiao
Oct 30, 2022

Why A is wrong?

aqiao
Oct 30, 2022

Got it, Enhanced log is for collecting and analyzing OS level metrics, such as CPU,memory, which can't get SQL running information

evargasbrzOption: B
Jan 4, 2023

I'll go with B

WhyIronManOption: B
Jul 15, 2024

B) Enhanced Monitoring plus Performance Insights will provide that + with the LEAST operational overhead and changing the parameter group can cause the RDS do enter in modifying state making it unavailable... and we are in production...