All practice tasks

Knowledge Check

Decorator evidence

While reviewing fastify plugins encapsulation, handlers assign an undeclared database property. Which action fixes it, and which check proves it worked?

Answer options

  • A. Register the plugin with a prefix
  • B. Declare it through a decorator
  • C. Verify it exists before route registration
  • D. Declare the plugin dependency

What this task practices

Decorator evidence 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 hard difficulty. It focuses on Fastify Plugins Encapsulation, Decorator. 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.