Questionário vinculado ao guia · Difícil Nível

O questionário de defesa sanduíche para prompts

Testa como o prompt sanduíche está estruturado, suas hipóteses, limites dependentes do modelo, escopo de benchmark e necessidade de controles independentes.

Caminhos de guia relacionadosDefesa Sanduíche
Pergunta 1 de 8

Onde a defesa sanduíche coloca a instrução de tarefa repetida?

Visualize cada pergunta8 perguntas

As respostas e explicações aparecem conforme você responde ao teste.

  1. Onde a defesa sanduíche coloca a instrução de tarefa repetida?
    • Before and after untrusted content
    • Only inside the retrieved document
    • After the model’s answer
    • Only in an evaluation report
  2. Como um lembrete de encerramento poderia ajudar nesse padrão?
    • It forces all models to obey the final sentence
    • It may refocus the model on the task after the untrusted text
    • It creates cryptographic authorization
    • It proves the page is safe
  3. O que o sanduíche muda no aplicativo?
    • The user’s authorization level
    • The retrieved document’s source
    • The prompt template’s text structure
    • The model’s trained weights
  4. Por que a defesa sanduíche não é um limite de segurança?
    • It does not use punctuation
    • It always hides the external document
    • It automatically blocks tool calls
    • The reminder and the hostile passage remain text in the same model context
  5. O que a pré-impressão de camuflagem de domínio citada avaliou?
    • Several prompt-level defenses across three model families and synthetic professional-document domains
    • Every commercial model and real enterprise document
    • Only a product’s password reset flow
    • Every possible prompt injection attack
  6. What does the preprint imply about effectiveness across models?
    • Model choice has no effect
    • It can vary by model and no tested prompt defense eliminated every threat in weaker models
    • The defense works identically on all models
    • Sandwiching guarantees zero attacks
  7. Which control addresses whether an agent is allowed to perform an external action?
    • A longer source document
    • A higher confidence statement
    • Application-side tool permission checks
    • A repeated closing sentence alone
  8. How should a team decide whether sandwiching helps its application?
    • Assume it works because it is easy to add
    • Measure only answer length
    • Skip task-quality checks
    • Test it against a baseline on the same representative benign and malicious inputs