AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A solutions architect is managing a critical e-commerce application hosted on AWS. The application uses an Application Load Balancer, an Amazon EC2 Auto Scaling group for the web tier, and a multi-AZ Amazon RDS for PostgreSQL instance for the database tier. During periods of high traffic, customers report significant slowdowns in page load times. Initial investigation using Amazon CloudWatch metrics reveals that the RDS instance is consistently experiencing 95% CPU utilization, while the EC2 instances in the web tier remain below 40% CPU utilization. The architect needs to precisely identify the root cause of the database bottleneck. Which of the following actions is the MOST effective next step?
Enable Amazon RDS Performance Insights to analyze the database load and identify the top SQL queries.
Increase the instance size of the RDS for PostgreSQL instance to a larger class with more vCPUs.
Enable Enhanced Monitoring on the RDS instance and analyze the OS process list to find high-CPU processes.
Implement an Amazon ElastiCache for Redis cluster to cache common database query results.
The correct answer is to use Amazon RDS Performance Insights to analyze the database load and identify the specific SQL queries contributing to the high CPU utilization. Performance Insights is a specialized database performance tuning and monitoring feature designed to quickly assess the load on a database and determine what is causing it. It visualizes the database load, breaking it down by waits, SQL statements, hosts, or users, which directly helps in pinpointing inefficient or resource-intensive queries that are likely causing the high CPU.
Incorrect options are:
Scaling up the RDS instance to a larger instance class might provide temporary relief by offering more CPU and memory, but it does not diagnose the underlying problem. An inefficient query could easily consume the resources of a larger instance as well, making this a costly and potentially ineffective solution without first identifying the root cause.
Implementing Amazon ElastiCache is a valid strategy for improving database performance by offloading read queries. However, implementing a cache without first identifying which queries are causing the load and are suitable for caching is premature. The first step should be to diagnose the bottleneck, not to implement a potential solution blindly.
Enabling Enhanced Monitoring for the RDS instance provides detailed, real-time OS-level metrics such as CPU breakdown (system, user, idle), memory, and process lists. While this offers more granularity than standard CloudWatch metrics, it does not provide insight into the specific SQL statements causing the database load. Performance Insights is the superior tool for correlating database load directly to specific SQL queries.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Amazon RDS Performance Insights?
Open an interactive chat with Bash
How do Enhanced Monitoring and Performance Insights differ?
Open an interactive chat with Bash
When should you use Amazon ElastiCache to improve database performance?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access