
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
Question: 16
You are designing a metaprompt for a generative AI application in Databricks that will handle sensitive customer information, such as phone numbers and addresses. Your primary objective is to minimize hallucinations and prevent the leakage of private data. Which two approaches should you include in your metaprompt to achieve this? (Select two)
A
Avoid specifying limitations in the metaprompt to allow for more flexible responses.
B
Clearly state in the metaprompt that any sensitive information, such as phone numbers or addresses, must not be generated or included in the response.
C
Instruct the model to repeat all the input data to ensure accuracy in its output.
D
Specify that the model should refrain from generating or referencing data that was not explicitly provided in the input.
E
Use a temperature setting of 1.5 to encourage more creative and diverse outputs from the model.
Explanation:
B. Clearly stating in the metaprompt that sensitive information like phone numbers or addresses should not be generated ensures that the model avoids outputting private data. This explicit instruction helps prevent data leakage by directly telling the model what types of information to exclude from responses.
D. Instructing the model to avoid generating or referencing data not explicitly provided helps minimize hallucinations and ensures the model only uses the provided input data. This approach reduces the risk of the model inventing or fabricating information that wasn't part of the original input.