Printable worksheet ยท 2 of 4

A retry should not duplicate the effect - Paper 2

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 K6 with body 'Answer 6' saves submission S6, but its response is lost. Retry the SAME key and body twice. Then send the same key with body 'Changed 6'. 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 K6 request and two identical retries, how many submissions exist and which identity is returned?
  2. What should K6 with body 'Changed 6' 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