Multiple choice technology databases

If youngest event in the queue has to be discarded ,a queue should have a limit policy of

  1. Discard none

  2. Discard last

  3. Discard new

  4. Discrd first

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

When a queue reaches capacity and a new event arrives, the 'discard new' policy means the newest (youngest) event is discarded while keeping existing events. 'Discard last' and 'discard first' refer to removing the oldest or newest event respectively, while 'discard none' means the queue grows unbounded. The typo in option D ('Discrd') doesn't change its meaning.