exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 310 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 310
Topic #: 1
[All AWS Certified Database - Specialty Questions]

A company needs to troubleshoot its Amazon Aurora Serverless MySQL database. The company selected a db.t3, medium instance class for the database's initial deployment. The database experienced light usage, and performance was normal.

As the number of client connections increases, the application that is connected to the database is experiencing higher latency and occasional lost connections. A database specialist determines that the database needs to support a maximum of 2,000 simultaneous connections.

Which solution will meet these requirements MOST cost-effectively?

  • A. Modify the instance class to db.r3.xlarge. Apply the changes immediately.
  • B. Edit the default parameter group for the MySQL engine that the database uses. Change the max_connections value to 2,000. Reboot the DB instance to apply the new value.
  • C. Create a new parameter group for the MySQL engine that the database uses. Set the max_connections value to 2,000. Assign the parameter group to the DB instance. Apply the changes immediately.
  • D. Modify the instance class to db.t3.large. Apply the changes immediately.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TQM__9MD
Highly Voted 1 year, 10 months ago
Selected Answer: A
In Amazon Aurora Serverless, the performance of the database is controlled by the instance class. In the current situation, an increase in client connections is causing delays and potential connection loss in the database. To support a maximum of 2,000 concurrent connections, it is necessary to upgrade to a higher-performance instance class. The db.r3.xlarge instance class offers better performance compared to db.t3. Therefore, making this change will improve the performance of the database. By applying the changes immediately, you can resolve issues such as delays and connection losses. Hence, the most cost-effective solution that meets the requirements is to change the instance class to db.r3.xlarge and apply the changes immediately.
upvoted 6 times
koki2847
1 year, 1 month ago
I agree with you. Additionally, C is definitely incorrect because we have to reboot to apply the new max_connection values. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.max-connections
upvoted 1 times
...
r_a_y_p_r
1 year, 9 months ago
We recommend using the T DB instance classes only for development, test, or other nonproduction servers. For more detailed recommendations for the T instance classes
upvoted 1 times
...
...
MultiAZ
Most Recent 1 year, 4 months ago
Selected Answer: C
C First, the question is obviously wrong. In Serverless, you have no instance class or size. However, since most of the question and the answers talk about specific instance sizes, I will ignore the "Serverless" keyword. Therefore, "C" is the most cost-effective solution. It may not be the most performant or even stable, but it is cost-effective.
upvoted 1 times
...
Sathish_dbs
1 year, 7 months ago
the question is wrong? does aurora server less has instance type? it says its running on t3 medium
upvoted 1 times
...
roymunson
1 year, 7 months ago
Selected Answer: C
Defnitely C: The maximum number of connections allowed to an Aurora MySQL DB instance is determined by the max_connections parameter in the instance-level parameter group for the DB instance. The following table lists the resulting default value of max_connections for each DB instance class available to Aurora MySQL. 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. The db.t3.medium has a default value of 90. So setting the max_connections = 2000 (by creating a new parameter group) should fit the bill. Remember we are looking for a solution that keeps our costs as low as possible. Changing the instance class to db.r3.xlarge would also work but it will cost you more. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.Performance.html
upvoted 3 times
...
zanhsieh
1 year, 9 months ago
None of the answer fulfil the requirements. - Aurora Serverless db only support min ACUs to max ACUs. No db class available. - Change parameter group required reboot. In short, to meet requirements, we need to: 1. Change maxACUs to 16 2. Create new parameter group, change max_connection to 2000, apply, and reboot See: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.parameter-groups For legacy Aurora, we need to: 1. Change Aurora db server class to db.r3.xlarge 2. Create new parameter group, change max_connection to 2000, and apply https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.Performance.html Just keep in mind where to go in case AWS fix this questions during the real exam.
upvoted 1 times
...
Windy
1 year, 9 months ago
Selected Answer: C
I'm not sure if we can modify the instance class for Aurora Serverless. So I think A and D are not right. We can not edit the default parameter group. This only leaves C possible. So We will go with C.
upvoted 4 times
...
Windy
1 year, 10 months ago
Why not D?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago