Databricks Certified Generative AI Engineer Associate — Question 78

A Generative AI Engineer is developing an LLM application to interact with users to provide personalized movie recommendations.

Given the potential for malicious user inputs, which technique would be most effective in safeguarding the application?

Answer options

Correct answer: D

Explanation

The correct answer is D because implementing a safety filter is essential for identifying harmful inputs and ensuring the application remains secure. Options A and B do not directly address the issue of malicious inputs, while option C could potentially allow harmful content to be processed, which does not safeguard the application.