← Quiz: Unique ID Generator: all 15 questions
Quiz: Unique ID Generator · Question 10 of 15
Which option gives time-sorted IDs that are globally unique, at the cost of 128 bits?
Which option gives time-sorted IDs that are globally unique, at the cost of 128 bits?
- A.UUID v4
- B.UUID v7
- C.Auto-increment
- D.MAX(id) + 1
Answer & explanation
Correct answer: UUID v7
UUID v7 starts with a millisecond timestamp, so it sorts by creation time.
Can you get the rest right without peeking?
Take the timed Quiz: Unique ID Generator quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →