
Explanation:
Option A is the correct answer because implementing a safety filter provides proactive protection against malicious inputs. Here's why:
Why other options are less effective:
This approach aligns with best practices for LLM application security, ensuring user safety while maintaining the application's intended functionality for legitimate users.
Ultimate access to all questions.
Question: 29
A Generative AI Engineer is developing an LLM application that users can use to generate personalized birthday poems based on their names.
Which technique would be most effective in safeguarding the application, given the potential for malicious user inputs?
A
Implement a safety filter that detects any harmful inputs and ask the LLM to respond that it is unable to assist
B
Reduce the time that the users can interact with the LLM
C
Ask the LLM to remind the user that the input is malicious but continue the conversation with the user
D
Increase the amount of compute that powers the LLM to process input faster
No comments yet.