← Quiz: Design a Chat App: all 10 questions
Quiz: Design a Chat App · Question 5 of 10
How do chat apps avoid showing a resent message twice?
How do chat apps avoid showing a resent message twice?
- A.They don't resend
- B.Each message has a unique client-generated id, so duplicates are ignored (idempotency)
- C.They delete old messages
- D.They use 301 redirects
Answer & explanation
Correct answer: Each message has a unique client-generated id, so duplicates are ignored (idempotency)
Idempotent ids make retries safe.
Can you get the rest right without peeking?
Take the timed Quiz: Design a Chat App quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →