Start learning →

Claude AI Claudeai Guardrails — practice questions

Explore 2 free Claudeai Guardrails questions in Claude AI Claudearchitect. Open each question or exercise to read its content, reference answers and available explanation.

Practise Claudeai Guardrails with Quill →

Claudeai Guardrails questions and exercises with answers

Showing questions 1–2 of 2.

Worked practice questions

Pre-filtering user input mainly protects against:

  1. High token cost
  2. Slow responses
  3. Prompt injection and leaked PII reaching Claude
  4. Cache misses
Show answer and solution

Correct answer: C. Prompt injection and leaked PII reaching Claude

Scrubbing input at the door stops injected instructions and sensitive data from ever reaching the model, the cheapest defence layer.

Open this question →

A classifier guardrail is essentially:

  1. A regex over the prompt
  2. A retry loop
  3. A larger context window
  4. A second model that judges Claude's answer for policy compliance
Show answer and solution

Correct answer: D. A second model that judges Claude's answer for policy compliance

Classifier guardrails use a separate model (often Haiku) to score Claude's output against policy, flagging or blocking off-policy lines before they reach the user.

Open this question →

How to practise

  1. Choose a Claudeai Guardrails question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

More Claudearchitect topics