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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 1z0-071 topic 1 question 220 discussion

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

Evaluate these commands which execute successfully:



Which two statements are true about the ORD_ITEMS table and the ORD_SEQ sequence? (Choose two.)

  • A. Sequence ORD_SEQ is guaranteed not to generate duplicate numbers.
  • B. Sequence ORD_SEQ cycles back to 1 after every 5000 numbers and can cycle 20 times.
  • C. Column ORD_NO gets the next number from sequence and ORD_SEQ whenever a row is inserted into ORD_ITEMS and no explicit value is given for ORD_NO.
  • D. If sequence ORD_SEQ is dropped then the default value for column ORD_NO will be NULL for rows inserted into ORD_ITEMS.
  • E. Any user inserting rows into table ORD_ITEMS must have been granted access to sequence ORD_SEQ.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
yaya32
4 months, 1 week ago
C for sure, then I am unsure D or E
upvoted 1 times
...
zangado
5 months, 2 weeks ago
E is correct only if we assume that user doesn't insert ord_no explicitly. If he does than he doesn't need the select privilege on the sequence. In my oppinion only C is correct.
upvoted 1 times
ogi33
2 weeks, 3 days ago
• During table creation, the sequence must exist and you must have select privilege on it for it to be used as a column default. • The users performing inserts against the table must have select privilege on the sequence, as well as insert privilege on the table.
upvoted 1 times
...
...
jm9999
7 months, 3 weeks ago
Selected Answer: CE
Cannot be A because of 'cycle' specification.
upvoted 1 times
...
Shrimathi
10 months ago
would be A,E. we can insert ord_no explicitly.
upvoted 2 times
x33
7 months ago
A is wrong. in the sequence code there is cycle. it means once it has reach the maxvalue start all over from 1. i.e duplicate.
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 ...