Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam C2090-616 All Questions

View all questions & answers for the C2090-616 exam

Exam C2090-616 topic 1 question 5 discussion

Actual exam question from IBM's C2090-616
Question #: 5
Topic #: 1
[All C2090-616 Questions]

What happens when you run the following statement if MYUSER holds no privileges on table MYTABLE?
REVOKE SELECT ON TABLE mytable FROM USER myuser

  • A. An error is returned
  • B. An entry is mane in SYSCAT.TABAUTH
  • C. The REVOKE statement succeeds with no effect
  • D. All privileges are granted to user MYUSER on MYTABLE C
Show Suggested Answer Hide Answer
Suggested Answer: Explanation 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
maurosabi
3 years ago
answer A SQL0556N An attempt to revoke a privilege, security label, exemption, or role from authorization-ID was denied because authorization-ID does not hold this privilege, security label, exemption, or role. Explanation The privilege, security label, exemption, or role cannot be revoked because authorization-ID does not hold the privilege, security label, exemption, or role. The statement cannot be processed. User response Change the REVOKE statement to conform to the REVOKE rules and resubmit the statement. Ensure that when a REVOKE statement lists several privileges, security labels, exemptions, or roles to be revoked and a list of authorization IDs that each authorization ID possesses at least one of the specified privileges, security labels, exemptions, or roles. sqlcode: -556 sqlstate: 42504 sqlcode: -556 --> negative code means error for DB2
upvoted 1 times
...
pieknyjoe
4 years, 5 months ago
A is GOOD -> A. An error is returned
upvoted 2 times
...
db2tester
5 years, 1 month ago
The good answer is "A. An error is returned " You will get the following error : SQL0556N An attempt to revoke a privilege, security label, exemption, or oral from "MYUSER" was denied because "MYUSER" dos not hold this privilege, security label, exemption, or role.
upvoted 3 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 ...