QuestionQ52

Fundamentals of GenAI

Which situation illustrates a possible risk and limitation of prompt engineering when using a generative AI model?

  • A Prompt engineering does not ensure that the model always produces consistent and deterministic outputs, eliminating the need for validation.
  • B Prompt engineering could expose the model to vulnerabilities such as prompt injection attacks.
  • C Properly designed prompts reduce but do not eliminate the risk of data poisoning or model hijacking.
  • D Prompt engineering does not ensure that the model will consistently generate highly reliable outputs when working with real-world data.
Explanation

Prompt injection is a security vulnerability in which malicious instructions embedded in user-controlled or external content attempt to override intended model behavior. Prompt engineering alone cannot guarantee protection against these attacks.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!