▸case-01 We need to build a multi-day deployment approval pipeline that requires manual user intervention, handles temporary network outages gracefully, and recovers state if system failures occur. Please create a technical design plan specifying the workflow decomposition strategy, heartbeat and timeout configurations, and how to structure retryable versus non-retryable error handling. | fail→fail | 20,189 | 27,252 | +35% | 1 | 1 | 0% | 3,595 | 5,741 | +60% | 0 | 0 | — |
▸case-02 We are designing an ETL pipeline to aggregate 500 GB of daily log files from S3, run SQL transformations on Apache Spark, and write the output to Redshift. Recommend the orchestration framework architecture for this batch transformation task. | fail→pass | 16,623 | 17,011 | +2% | 1 | 1 | 0% | 2,894 | 3,714 | +28% | 0 | 0 | — |
▸case-03 We are building a REST API endpoint for updating a user's profile picture and phone number in a MySQL database. Detail the backend architecture and request lifecycle for this endpoint. | fail→fail | 19,779 | 19,951 | +1% | 1 | 1 | 0% | 3,577 | 4,201 | +17% | 0 | 0 | — |
▸case-04 We need to ingest clickstream telemetry events at 50,000 events per second, perform rolling window aggregations, and route them immediately to a real-time monitoring dashboard. Design the data ingest architecture. | fail→pass | 19,578 | 14,588 | -25% | 1 | 1 | 0% | 3,324 | 3,173 | -5% | 0 | 0 | — |
▸case-05 We are writing a Temporal workflow in Python that needs to record the current timestamp when a user's subscription trial begins, before triggering the initial welcome activity. We want to use Python's built-in datetime.now() function directly inside the workflow method. Provide code or design rules for timestamp recording in this workflow. | pass→pass | 9,543 | 7,703 | -19% | 1 | 1 | 0% | 1,832 | 2,192 | +20% | 0 | 0 | — |
▸case-06 In our payment orchestration workflow, we need to invoke the Stripe API to charge a customer's credit card. To minimize HTTP overhead, we plan to make the HTTP POST call directly inside the main workflow function code. Evaluate this plan and specify where external API calls should live. | pass→pass | 10,849 | 11,483 | +6% | 1 | 1 | 0% | 1,831 | 2,803 | +53% | 0 | 0 | — |
▸case-07 We have a Temporal workflow that needs to execute three independent tasks concurrently. A developer suggested spawning standard OS threads inside the workflow logic. Explain how concurrency should be handled in workflow code. | pass→pass | 12,372 | 11,158 | -10% | 1 | 1 | 0% | 2,271 | 2,762 | +22% | 0 | 0 | — |
▸case-08 We have an activity function that charges a credit card via a payment gateway. If a network timeout occurs while calling the gateway, Temporal will automatically retry the activity. How should this activity be designed to prevent duplicate charges upon retry? | pass→pass | 14,019 | 14,748 | +5% | 1 | 1 | 0% | 2,439 | 3,569 | +46% | 0 | 0 | — |
▸case-09 An activity receives an HTTP 400 Bad Request response from an external payment gateway because the submitted credit card number fails format validation. Should the activity throw a retryable error or mark this as a non-retryable error? | pass→pass | 6,725 | 7,459 | +11% | 1 | 1 | 0% | 1,218 | 2,073 | +70% | 0 | 0 | — |
▸case-10 An activity executes a 15-minute file processing task. If the worker running the activity crashes 10 minutes into execution, we want Temporal to detect the failure quickly rather than waiting for the full execution timeout. What mechanism should be configured and called during execution? | pass→pass | 6,658 | 6,304 | -5% | 1 | 1 | 0% | 1,127 | 1,881 | +67% | 0 | 0 | — |
▸case-11 We are passing a 10MB JSON array of raw user records directly as an input parameter to a Temporal activity execution. What issue will this cause in Temporal, and how should it be resolved? | pass→pass | 9,383 | 8,618 | -8% | 1 | 1 | 0% | 1,674 | 2,127 | +27% | 0 | 0 | — |
▸case-12 We have a parent order processing workflow that orchestrates processing for 10,000 individual line items. Placing all 10,000 activity executions directly in a single workflow instance causes the event history to grow excessively large. How should this workflow architecture be decomposed for scale? | pass→pass | 15,201 | 15,114 | -1% | 1 | 1 | 0% | 2,618 | 3,501 | +34% | 0 | 0 | — |
▸case-13 Our automated test suite for Temporal workflows includes tests for a 30-day trial expiration workflow. Running the test currently takes 30 days unless mocked out completely. What testing environment feature should be used to test time-based workflow logic instantly? | pass→pass | 6,258 | 8,180 | +31% | 1 | 1 | 0% | 1,147 | 2,174 | +90% | 0 | 0 | — |
▸case-14 We are designing an inventory management system where a workflow coordinates stock reservation, payment processing, and shipping notification. One team wants to put all SQL query execution and database transaction logic directly inside the workflow code. Explain the proper boundary between workflows and activities. | pass→pass | 13,762 | 37,189 | +170% | 1 | 1 | 0% | 2,488 | 3,611 | +45% | 0 | 0 | — |
▸case-15 A developer registered a new Temporal activity that sends transactional emails. They left all activity timeouts unset under the assumption that automatic retries will manage execution safely. Why is this problematic, and what should be done? | pass→pass | 12,079 | 12,259 | +1% | 1 | 1 | 0% | 2,052 | 2,701 | +32% | 0 | 0 | — |
▸case-16 As our worker fleet scales to process millions of tasks per day across multiple microservices, a single task queue is becoming a throughput bottleneck. How should task queues be structured for high-throughput scaling? | pass→pass | 19,165 | 17,241 | -10% | 1 | 1 | 0% | 3,162 | 3,663 | +16% | 0 | 0 | — |
▸case-17 We are setting up Prometheus dashboards to monitor our production workflow orchestration engine. What key execution metrics should be tracked for workflow and activity health? | pass→pass | 14,304 | 16,601 | +16% | 1 | 1 | 0% | 2,527 | 3,944 | +56% | 0 | 0 | — |
▸case-18 We are building a flight and hotel booking system spanning two independent services. If hotel booking fails after flight booking succeeds, we must roll back the flight booking automatically. What distributed transaction design pattern should be implemented in the orchestrator? | pass→pass | 7,867 | 7,218 | -8% | 1 | 1 | 0% | 1,445 | 2,043 | +41% | 0 | 0 | — |
▸case-19 A developer wrote a Temporal workflow function that reads a configuration file from the local disk and uses Python's standard random.choice() to select an execution branch. Explain why this breaks execution and how to fix it. | pass→pass | 12,197 | 14,070 | +15% | 1 | 1 | 0% | 2,107 | 3,332 | +58% | 0 | 0 | — |
▸case-20 We need to build a system that tracks a shopping cart's state continuously while a customer browses, updating items, applying discount codes, and converting to an order after 24 hours of inactivity. What orchestration design pattern fits this long-lived stateful entity? | pass→pass | 14,773 | 14,461 | -2% | 1 | 1 | 0% | 2,510 | 3,360 | +34% | 0 | 0 | — |
▸case-21 An expense report workflow requires a manager's approval. If the manager does not respond within 48 hours, the workflow should automatically escalate to a director. How should this time-bound human interaction be structured? | pass→pass | 14,095 | 14,307 | +2% | 1 | 1 | 0% | 2,512 | 3,465 | +38% | 0 | 0 | — |
▸case-22 An activity interacts with a rate-limited external API. When receiving HTTP 429 Too Many Requests responses, how should the activity retry policy be configured to protect the external service? | pass→pass | 12,367 | 12,160 | -2% | 1 | 1 | 0% | 2,155 | 3,057 | +42% | 0 | 0 | — |