All practice tasks

Knowledge Check

Profile decision

While reviewing spring dependency injection configuration, tests need an in-memory adapter. Which action best addresses the problem?

Answer options

  • A. Declare it as a managed bean
  • B. Inject it through the constructor
  • C. Bind one validated property class
  • D. Activate a test profile configuration

What this task practices

Profile 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 Spring Di Configuration, Profile. 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.