codejump

Architecture Case Studies — Series 3

Preview — 3 of 10 questions

A collaborative editor stores durable document edits and transient cursor positions. Cursor updates arrive 30 times/s and expire after disconnect. Which split best fits the semantics?

ASend edits only through the ephemeral cursor channel.
BPersist every cursor move in the document's undo history.
CRebuild cursor positions by replaying all document edits on each connect.
DDurable edit history plus a separate ephemeral presence channel.

A hiking application must display a selected map area with no connectivity. The area has multiple zoom levels and versioned tiles. What should an offline download record?

AA success flag immediately after all tile requests have been queued.
BOnly the geographic center and the latest tile-server URL.
CA manifest of required tile versions with verified download completion.
DOnly the tiles touched by the user's most recent online pan gesture.

A file conversion service accepts jobs referencing uploaded objects. Users can overwrite the same object key before processing begins. What should the job reference to ensure it converts the submitted file?

AAn immutable object version or content-addressed identifier.
BOnly the mutable object key with a longer queue timeout.
CThe uploader's display name and the file extension.
DThe latest object at that key when a worker becomes available.

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.