ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 80 - DBS-C01 discussion

Report
Export

A company is building a new web platform where user requests trigger an AWS Lambda function that performs an insert into an Amazon Aurora MySQL DB cluster. Initial tests with less than 10 users on the new platform yielded successful execution and fast response times. However, upon more extensive tests with the actual target of 3,000 concurrent users, Lambda functions are unable to connect to the DB cluster and receive too many connections errors.

Which of the following will resolve this issue?

A.
Edit the my.cnf file for the DB cluster to increase max_connections
Answers
A.
Edit the my.cnf file for the DB cluster to increase max_connections
B.
Increase the instance size of the DB cluster
Answers
B.
Increase the instance size of the DB cluster
C.
Change the DB cluster to Multi-AZ
Answers
C.
Change the DB cluster to Multi-AZ
D.
Increase the number of Aurora Replicas
Answers
D.
Increase the number of Aurora Replicas
Suggested answer: B

Explanation:


Max_connection is a formula in RDS parameter group:

GREATEST({log(DBInstanceClassMemory/805306368)*45},{log(DBInstanceClassMemory/818728140 8)*1000})

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.Performance.html

You can increase the maximum number of connections to your Aurora MySQL DB instance by scaling the instance up to a DB instance class with more memory, or by setting a larger value for the max_connections parameter in the DB parameter group for your instance, up to 16,000. You must change a larger value for the max_connections parameter in the DB parameter group, not edit my.cnf, it is not physical server hosting MySQL.

asked 16/09/2024
Nito Nobel
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first