Courseiva

DVA-C02 Troubleshooting and Optimization Practice Question

A developer is troubleshooting a slow-running query in Amazon RDS for MySQL. The query is used by a reporting dashboard. Which AWS service should the developer use to identify the bottleneck?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Amazon RDS Performance Insights

Amazon RDS Performance Insights provides a detailed analysis of database performance, including wait events and SQL query performance, helping identify bottlenecks.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    AWS X-Ray

    Why it's wrong here

    AWS X-Ray is primarily designed for tracing requests across distributed applications, providing insights into latency and bottlenecks between different service components. While it can visualize calls to a database, it does not offer granular visibility into the internal execution details of specific database queries, such as wait events or execution plans within the database engine itself. Its focus is on application-level service interaction rather than deep database performance analysis.

  • ✗

    AWS CloudTrail

    Why it's wrong here

    AWS CloudTrail is a logging service that records API calls made to AWS services, providing an audit trail of management and data plane actions for security and compliance purposes. It tracks who performed which actions, when, and from where, but it does not capture detailed performance metrics or execution statistics for individual database queries running within an Amazon RDS instance. Therefore, it is unsuitable for diagnosing slow query performance.

  • ✓

    Amazon RDS Performance Insights

    Why this is correct

    Amazon RDS Performance Insights is a purpose-built monitoring tool that provides a visual dashboard to analyze database performance by focusing on active sessions and wait events. It aggregates and displays key metrics, allowing developers to quickly identify the top SQL queries, users, hosts, or wait types that are consuming database resources. This granular, real-time insight is specifically designed for troubleshooting and optimizing slow-running queries within Amazon RDS databases.

  • ✗

    Amazon CloudWatch Logs

    Why it's wrong here

    Amazon CloudWatch Logs is a centralized logging service that can store and monitor log data from various sources, including database engine logs from Amazon RDS. While it can store slow query logs, it primarily provides raw log storage and basic filtering capabilities. It lacks the advanced aggregation, visualization, and intelligent analysis of database-specific metrics that Amazon RDS Performance Insights offers, making it less efficient for direct database performance troubleshooting.

About these practice questions

This DVA-C02 question is part of Courseiva's 1,135-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DVA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DVA-C02 exam.