exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 130 discussion

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

Which three statements are true about sequences in a single instance Oracle database? (Choose three.)

  • A. A sequence’s unallocated cached values are lost if the instance shuts down.
  • B. A sequence number that was allocated can be rolled back if a transaction fails.
  • C. A sequence can only be dropped by a DBA.
  • D. A sequence can issue duplicate values.
  • E. Sequences can always have gaps.
  • F. Two or more tables cannot have keys generated from the same sequence.
Show Suggested Answer Hide Answer
Suggested Answer: ADE 🗳️

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
yaya32
6 months, 2 weeks ago
Selected Answer: ADE
ADE correct for me
upvoted 1 times
...
WingL
1 year ago
Selected Answer: ADE
Believe ADE
upvoted 2 times
...
ESZ
1 year, 4 months ago
Selected Answer: ADE
ADE are the correct answers
upvoted 1 times
...
Darnun
1 year, 4 months ago
Selected Answer: ADE
ADE are correct: A - TRUE; cash values are lost if instance shuts down B - FALSE; Transaction can be rolled back if not COMMITed yet, but sequence number was already used and cannot be reused C - FALSE; user can create sequence and therefore has all privileges to this object, including DROP D - TRUE; CYCLE parameter can be set and values can be looped E - TRUE; there is a list of activities that can influence the gaps generation, like failed INSERT or DELETE; COMMIT or INSERT; ROLLBACK etc. F - FALSE; from ORACLE documentation "Sequence numbers are generated independently of tables, so the same sequence can be used for one or for multiple tables"
upvoted 2 times
...
MorticiaAAddams
1 year, 6 months ago
Selected Answer: AEF
The whole idea of SEQUANCE is to provide unique keys so D cannot be correct. About F - why not?! This is something called in the code. But even as default value, there is no check for unique value accross all tables into the database.
upvoted 1 times
mavista
1 year, 1 month ago
If a CYCLE clause is added the values can be duplicated. Tested on Oracle 19c
upvoted 1 times
...
Rik92
1 year, 4 months ago
Apparently there are edge cases after using a rollback or incorrect usage of the sequence that can cause this. also the cycle setting will reuse sequence numbers, even though mose sequences are so large you most likely won't run into any problems. but most likely isn't a definitive no. It feel wrong, but if there is even a single edge case that can issue a duplicate, you should answer these questions as it being a possibility.
upvoted 1 times
...
...
dexdinh91
1 year, 6 months ago
Selected Answer: ADE
ADE are correct
upvoted 2 times
...
Viviana3184
1 year, 7 months ago
ADE ARE CORRECT
upvoted 1 times
...
leongkaon
1 year, 7 months ago
Selected Answer: ADE
Correct Answer: ADE
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