Skip to main content

SY0-801 practice question · Threats, Vulnerabilities, and Attacks

An organization deploys an AI agent that browses web pages to research vendors and can send email on the user's behalf.

An organization deploys an AI agent that browses web pages to research vendors and can send email on the user's behalf. Testers show that a crafted web page can instruct the agent to email internal data to an outsider. Which control MOST reduces the impact of this risk?

  • AAdd a system prompt line telling the model to ignore page instructions
  • BEncrypt all traffic between the agent and the model provider
  • CFine-tune the model on a larger set of vendor web pages
  • DRequire user confirmation before the agent sends any email
Show the answer and explanation

Correct answer: D) Require user confirmation before the agent sends any email

Prompt injection cannot be fully prevented, so limit its impact: least privilege for agents and human approval for sensitive actions.

Why each option is right or wrong

  • A) Incorrect. Instruction-based defenses help a little but are routinely bypassed; the model still cannot reliably tell data from instructions.
  • B) Incorrect. TLS protects data in transit from eavesdroppers. The malicious instructions arrive through legitimate, encrypted content.
  • C) Incorrect. More training on web pages does not teach the model to resist instructions embedded in untrusted content.
  • D) Correct. A human approval step on sensitive actions limits what an injected instruction can achieve, even when the injection succeeds.
Exam domain
Threats, Vulnerabilities, and Attacks · 24% of SY0-801
Question type
Multiple choice (one answer)

Practise the full SY0-801 exam

This question is one of a small free sample from the CertRidge SY0-801 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with CompTIA; never copied from the real exam.

Worth reading: Security+ passing score (750/900), 750 on a 100–900 scale for SY0-701, SY0-801 and the retired SY0-601, and why it isn't 83%.