ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 328 - SOA-C02 discussion

Report
Export

A company is running production workloads that use a Multi-AZ deployment of an Amazon RDS for MySQL db.m6g.xlarge (general purpose) standard DB instance. Users report that they are frequently encountering a 'too many connections' error. A SysOps administrator observes that the number of connections on the database is high.

The SysOps administrator needs to resolve this issue while keeping code changes to a minimum.

Which solution will meet these requirements MOST cost-effectively?

A.
Modify the RDS for MySQL DB instance to a larger instance size.
Answers
A.
Modify the RDS for MySQL DB instance to a larger instance size.
B.
Migrate the RDS for MySQL DB instance to Amazon DynamoDB.
Answers
B.
Migrate the RDS for MySQL DB instance to Amazon DynamoDB.
C.
Configure RDS Proxy. Modify the application configuration file to use the RDS Proxy endpoint.
Answers
C.
Configure RDS Proxy. Modify the application configuration file to use the RDS Proxy endpoint.
D.
Modify the RDS for MySQL DB instance to a memory optimized DB instance.
Answers
D.
Modify the RDS for MySQL DB instance to a memory optimized DB instance.
Suggested answer: C

Explanation:

For the issue of 'too many connections' on a MySQL database, using RDS Proxy offers a streamlined solution:

RDS Proxy Setup: RDS Proxy sits between your application and the database. It pools and efficiently manages database connections, which reduces the number of direct connections to the database.

Connection Management: By handling connection pooling, RDS Proxy can help mitigate issues related to connection overhead and limits, such as the 'too many connections' error, by allowing the database to serve more requests from a smaller and more stable number of connections.

Minimal Code Changes: Integrating RDS Proxy requires changes only to the database connection settings in the application's configuration files to point to the RDS Proxy endpoint instead of directly to the database. This minimizes the amount of code change needed and leverages RDS Proxy to handle connection scaling and management more efficiently.

This approach enhances database performance and scalability by efficiently managing connections without the need for significant application changes or database resizing.

asked 16/09/2024
Gennadiy Volkov
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first