This quiz tests your knowledge of MySQL users, privileges, and security best practices. It covers essential topics such as managing user accounts, assigning privileges, enforcing password policies, and securing access to your MySQL database. You’ll also encounter practical MySQL commands related to user creation, authentication, privilege management, and security enforcement. Use this quiz to assess your understanding of MySQL security and ensure you are following best practices for protecting your database.
1.
Which MySQL table stores user access information?
2.
Which MySQL privilege allows a user to create new databases?
3.
What is the purpose of the FLUSH PRIVILEGES; command?
4.
How do you create a new MySQL user with a specific password?
5.
What SQL command retrieves a list of user accounts in MySQL?
6.
What command removes an existing MySQL user?
7.
How do you grant a user permission to perform SELECT operations on a specific database?
8.
How can you rename a MySQL user?
9.
What privilege allows a user to delete records from a table?
10.
What happens when you press the up arrow in MySQL after executing a CREATE USER command?
11.
What wildcard character allows a user to connect from any host?
12.
What MySQL feature enforces strong password policies?
13.
How can you disable remote root access in MySQL?
14.
What is the purpose of the REVOKE command?
15.
Which statement correctly changes a user's password in MySQL?