AWS Certified AI Practitioner (AIF-C01) — Question 162

Which scenario describes a potential risk and limitation of prompt engineering in the context of a generative AI model?

Answer options

Correct answer: B

Explanation

The correct answer is B because prompt engineering can introduce security risks, such as prompt injection attacks, which exploit the way prompts are processed. Other options discuss limitations in consistency, reliability, and risk reduction, but they do not specifically highlight the security vulnerabilities that prompt engineering may introduce.