exam questions

Exam 1z0-908 All Questions

View all questions & answers for the 1z0-908 exam

Exam 1z0-908 topic 1 question 34 discussion

Actual exam question from Oracle's 1z0-908
Question #: 34
Topic #: 1
[All 1z0-908 Questions]

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;
  • E. ALTER USER baduser@hostname DEFAULT ROLE NONE;
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
marklv
2 months, 3 weeks ago
A is no such thing. B and E do no stop connecting. C and D are it.
upvoted 1 times
...
FelipeK
2 months, 4 weeks ago
Selected Answer: CD
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
...
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