User account baduser@hostname on your MySQL instance has been compromised. Which two commands stop any new connections using the compromised account? (Choose two.)
A.
ALTER USER baduser@hostname PASSWORD DISABLED;
B.
ALTER USER baduser@hostname MAX_USER_CONNECTIONS 0;
C.
ALTER USER baduser@hostname ACCOUNT LOCK;
D.
ALTER USER baduser@hostname IDENTIFIED WITH mysql_no_login;
C. ALTER USER baduser@hostname ACCOUNT LOCK;
This command locks the user account, preventing any new connections.
D. ALTER USER baduser@hostname IDENTIFIED WITH mysql_no_login;
This command changes the user's authentication method to one that doesn't allow login, effectively blocking new connections.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
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.
marklv
2 months, 3 weeks agoFelipeK
2 months, 4 weeks ago