Online worksheet ยท 4 of 4

A retry should not duplicate the effect - Online practice 4

Read the information, then answer the questions. An adult may read the instructions aloud. Show your working where asked.

Read before answering

Invented submission service, initially empty. Request key K4 with body 'Answer 4' saves submission S4, but its response is lost. Retry the SAME key and body twice. Then send the same key with body 'Changed 4'. Policy: identical key/body returns the original result; key reuse with different body is a conflict, not an overwrite.

Worksheet preview

  1. After the original K4 request and two identical retries, how many submissions exist and which identity is returned?
  2. What should K4 with body 'Changed 4' do?
  3. Why does a timeout not justify blindly creating a new record?

This exercise is included in the free preview. Register free to complete it and download the preview PDFs. No payment is required.

Register free

Already registered? Sign in