nerdexam
Amazon

DEA-C01 · Question #85

A company uses Amazon RDS for MySQL as the database for a critical application. The database workload is mostly writes, with a small number of reads. A data engineer notices that the CPU utilization…

The correct answer is A. Use the Performance Insights feature of Amazon RDS to identify queries that have high CPU D. Upgrade to a larger instance size. To reduce high CPU utilization on an Amazon RDS for MySQL instance, analyze query performance to identify bottlenecks and consider upgrading the instance size if resources are insufficient.

Data Store Management

Question

A company uses Amazon RDS for MySQL as the database for a critical application. The database workload is mostly writes, with a small number of reads. A data engineer notices that the CPU utilization of the DB instance is very high. The high CPU utilization is slowing down the application. The data engineer must reduce the CPU utilization of the DB Instance. Which actions should the data engineer take to meet this requirement? (Choose two.)

Options

  • AUse the Performance Insights feature of Amazon RDS to identify queries that have high CPU
  • BModify the database schema to include additional tables and indexes.
  • CReboot the RDS DB instance once each week.
  • DUpgrade to a larger instance size.
  • EImplement caching to reduce the database query load.

How the community answered

(47 responses)
  • A
    77% (36)
  • B
    13% (6)
  • C
    6% (3)
  • E
    4% (2)

Why each option

To reduce high CPU utilization on an Amazon RDS for MySQL instance, analyze query performance to identify bottlenecks and consider upgrading the instance size if resources are insufficient.

AUse the Performance Insights feature of Amazon RDS to identify queries that have high CPUCorrect

Amazon RDS Performance Insights helps identify the top SQL queries, wait events, and hosts contributing to high CPU utilization, allowing targeted optimization efforts to address the root cause of performance issues. By pinpointing inefficient queries, the data engineer can then optimize them to reduce CPU load.

BModify the database schema to include additional tables and indexes.

Modifying the database schema to include additional tables and indexes could potentially make the problem worse if not carefully planned or if inefficiently designed, as adding indexes consumes resources and tables increase complexity.

CReboot the RDS DB instance once each week.

Rebooting an RDS DB instance weekly provides only temporary relief and does not address the underlying cause of high CPU utilization, which will likely return as the workload continues.

DUpgrade to a larger instance size.Correct

Upgrading to a larger instance size, such as one with more vCPUs, provides additional processing capacity for the database, which can directly alleviate high CPU utilization caused by heavy workloads that exceed the current instance's capabilities. This provides immediate relief for CPU-bound instances.

EImplement caching to reduce the database query load.

Implementing caching primarily reduces read query load, but the problem states the workload is 'mostly writes,' so caching would not significantly address the high CPU utilization caused by write operations.

Concept tested: Amazon RDS CPU utilization troubleshooting

Source: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Performance_Insights.html

Topics

#RDS Performance Tuning#Database Scaling#Performance Monitoring#CPU Optimization

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice