Advanced Interview #temporal #workflow-engine #durable-execution #interview-prep

Temporal Workflow Engineer Interview Questions

5 exercises — covering the Temporal programming model, activities vs workflows, signals and queries, workflow versioning, and error handling patterns.

Structure for Temporal Workflow Engineer answers
  • Workflows vs Activities: workflows are deterministic, durable, and cannot perform I/O; activities do the actual work
  • Signals vs Queries: signals change workflow state (async); queries read workflow state (sync, no side effects)
  • Versioning: use GetVersion() / workflow.GetVersion() to safely change workflow logic without breaking in-flight runs
  • Error handling: activities retry automatically; workflows survive crashes; use compensating activities for saga pattern
0 / 5 completed
1 / 5
The interviewer asks: "Explain the difference between a Workflow and an Activity in Temporal. What rules must each follow?"
Which answer is most precise?