Build durable workflows with activities, signals, queries, workflow versioning, and understand how workers poll task queues for fault-tolerant orchestration.
0 / 5 completed
1 / 5
What is a Temporal workflow and what property makes it fault-tolerant?
Temporal workflow: the Temporal server persists every event (activity scheduled, completed, timer fired, signal received) to the event history. On recovery, the workflow code replays deterministically — the same code path executes, but activity results come from history instead of re-executing. This makes long-running workflows (hours, days, months) resilient to worker restarts and infrastructure failures.
2 / 5
What is a Temporal activity and how does it differ from workflow code?
Activities: workflows are replayed and must be deterministic — no random numbers, no system time calls, no direct I/O. All side effects go into activities. Activities can be retried independently (RetryPolicy), run on specialised workers (GPU, specific region), and report progress via heartbeats. A failed activity is retried without re-running the entire workflow.
3 / 5
What is a Temporal signal and how does it differ from a query?
Signal vs query: a workflow waiting for human approval blocks on a channel until a signal arrives: approvalCh.Receive(ctx, &data). The approval UI sends a signal when the manager clicks "Approve." A query (workflow.SetQueryHandler("getStatus", func() string { return status })) lets dashboards read current state without affecting execution. Both work even if the worker handling the workflow is temporarily unavailable.
4 / 5
What is workflow versioning in Temporal and why is it necessary?
Workflow versioning: because workflows replay their event history deterministically, changing the code path would cause replay failures for in-flight workflows. GetVersion inserts a versioned branch point into the event history — old executions replay through DefaultVersion logic, new executions through version 1 logic. Old workflow definitions can be removed once all old executions complete.
5 / 5
What does a Temporal worker do and how does it relate to task queues?
Temporal worker:worker.New(client, "my-task-queue", worker.Options{}) registers workflow and activity implementations. The Temporal server dispatches tasks to any worker polling the matching task queue. Scaling is as simple as adding more worker processes. Specialised task queues route GPU-intensive activities to GPU workers, while general workflows run on standard workers.
What does the "Temporal Workflow Engine" vocabulary exercise cover?
This exercise tests real IT vocabulary related to temporal workflow engine through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — browse the full vocabulary exercises hub to find related modules covering adjacent IT topics and roles.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.