exam questions

Exam 1z0-908 All Questions

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

Exam 1z0-908 topic 1 question 58 discussion

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

Examine these statements and output:

Which statement is true?

  • A. The user is logged in with --user=accounting as an option.
  • B. The user is authenticated as the anonymous proxy user ‘’@’%’.
  • C. The user is authorized as the accounting@localhost user.
  • D. The user is authorized as the rsmith@localhost user.
  • E. The user failed to define a username and the connecting username defaulted to ‘’@’%’.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
xjllll
7 months, 3 weeks ago
Selected Answer: C
C is right
upvoted 1 times
...
marklv
11 months, 1 week ago
incorrect. You authenticate as your own account but are authorized as another. There B is not true, C is.
upvoted 2 times
...
FelipeK
1 year, 3 months ago
Selected Answer: B
Explanation: The first statement grant proxy on accounting@localhost to ''@'%' grants the permission to the anonymous proxy user ''@'%' to use the accounting@localhost user as a proxy. The second statement Select user(),current_user(), @@proxy_user returns the output with three columns: USER() returns the current user as rsmith@localhost. CURRENT_USER() returns the authenticated user as accounting@localhost, which is the user that was granted the proxy permission in the first statement. @@proxy_user returns the current anonymous proxy user as ''@'%'. Therefore, statement B is true, which states that the user is authenticated as the anonymous proxy user ''@'%'.
upvoted 2 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