ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 153 - DBS-C01 discussion

Report
Export

A database specialist needs to configure an Amazon RDS for MySQL DB instance to close noninteractive connections that are inactive after 900 seconds.

What should the database specialist do to accomplish this task?

A.
Create a custom DB parameter group and set the wait_timeout parameter value to 900. Associate the DB instance with the custom parameter group.
Answers
A.
Create a custom DB parameter group and set the wait_timeout parameter value to 900. Associate the DB instance with the custom parameter group.
B.
Connect to the MySQL database and run the SET SESSION wait_timeout=900 command.
Answers
B.
Connect to the MySQL database and run the SET SESSION wait_timeout=900 command.
C.
Edit the my.cnf file and set the wait_timeout parameter value to 900. Restart the DB instance.
Answers
C.
Edit the my.cnf file and set the wait_timeout parameter value to 900. Restart the DB instance.
D.
Modify the default DB parameter group and set the wait_timeout parameter value to 900.
Answers
D.
Modify the default DB parameter group and set the wait_timeout parameter value to 900.
Suggested answer: A

Explanation:


https://aws.amazon.com/fr/blogs/database/best-practices-for-configuring-parameters-for-amazonrds-for-mysql-part-3-parameters-related-to-security-operational-manageability-and-connectivity-timeout/

"You can set parameters globally using a parameter group. Alternatively, you can set them for aparticular session using the SET command." https://aws.amazon.com/blogs/database/best-practicesfor-configuring-parameters-for-amazon-rds- for-mysql-part-1-parameters-related-to-performance/

asked 16/09/2024
Harold van den Meijdenberg
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first