exam questions

Exam 1z0-148 All Questions

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

Exam 1z0-148 topic 1 question 9 discussion

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

Examine this code executed as SYS:

Examine this code executed as SPIDER and the error message received upon execution:

What is the reason for this error?

  • A. The procedure needs to be granted the DYNAMIC_TABLE_ROLE role.
  • B. The EXECUTE IMMEDIATE clause is not supported with roles.
  • C. Privileges granted through roles are never in effect when running definer’s rights procedures.
  • D. The user SPIDER needs to be granted the CREATE TABLE privilege and the procedure needs to be granted the DYNAMIC_TABLE_ROLE.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Rakeshpro
2 years, 4 months ago
https://stackoverflow.com/questions/30461235/why-doesnt-pl-sql-respect-privileges-granted-by-roles
upvoted 1 times
Rakeshpro
2 years, 4 months ago
Answer is C
upvoted 1 times
...
...
Josephgreenson
3 years, 1 month ago
Selected Answer: C
C is correct.
upvoted 2 times
...
CosminCof
4 years, 2 months ago
B is the correct answer
upvoted 1 times
...
Adela_bg
4 years, 7 months ago
It's C
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago