All practice tasks

Knowledge Check

CSRF protection evidence

While reviewing flask validation security, a cookie-authenticated form can be forged cross-site. Which action fixes it, and which check proves it worked?

Answer options

  • A. Keep automatic escaping enabled
  • B. Require a valid CSRF token
  • C. Verify forged submissions fail
  • D. Set secure HttpOnly cookie policy

What this task practices

CSRF protection 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 Flask Validation Security, Csrf Protection. 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.