A DBA wishes to limit the number of simultaneous connections that a user account can make to 10 on a specific MySQL RDS Database.
What method should the DBA use to accomplish this task?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer: A.
Option A is CORRECT because DB parameter groups need to be used to modify RDS DB parameters.
To set a particular parameter, you must create a new DB parameter group and update the specific parameter (max_user_connections in this case).Then you must modify the RDS database instance to use the new DB Parameter group.
Option B is incorrect because you cannot modify the values of the default DB parameter group.
Option C is incorrect because option groups are not used for setting parameters.
Option groups are used to enable and configure additional features provided by some DB engines.
Option D is incorrect because AWS RDS does not allow modification of MySQL system variables directly using the SET statement.
Instead, DB parameter groups must be used.
Reference:
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.htmlThe correct answer is A. Create a new DB parameter group. Modify the max_user_connections parameter to 10. Update the RDS MySQL Database to use the new DB parameter group.
Explanation:
Amazon RDS (Relational Database Service) is a managed database service offered by AWS (Amazon Web Services) that allows you to run several relational database engines, including MySQL.
To limit the number of simultaneous connections that a user account can make to 10 on a specific MySQL RDS Database, you need to modify the max_user_connections parameter. This parameter controls the maximum number of simultaneous connections allowed for each user account.
To accomplish this task, you should follow these steps:
Step 1: Create a new DB parameter group The first step is to create a new DB parameter group, which is a collection of database engine parameter values that you can apply to one or more DB instances. You can create a new DB parameter group or copy an existing one and then modify the parameters as needed.
To create a new DB parameter group, follow these steps:
Step 2: Modify the max_user_connections parameter The next step is to modify the max_user_connections parameter in the new DB parameter group that you just created. You can do this by following these steps:
Step 3: Update the RDS MySQL Database to use the new DB parameter group Finally, you need to update the RDS MySQL Database to use the new DB parameter group that you just created and modified. You can do this by following these steps:
After completing these steps, the RDS MySQL Database will use the new DB parameter group with the modified max_user_connections parameter. This means that each user account will be limited to a maximum of 10 simultaneous connections.