All practice tasks

Knowledge Check

Lifespan decision

While reviewing fastapi testing operations, a connection pool must open once. Which action best addresses the problem?

Answer options

  • A. Fail readiness on storage loss
  • B. Send a request through the test client
  • C. Override the identity dependency
  • D. Create it in the lifespan context

What this task practices

Lifespan decision is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as medium difficulty. It focuses on Fastapi Testing Operations, Lifespan. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.