810-110 practice questions, page 3 of 4, with answer review and explanations.
Question 11
A developer provides AI with three examples of a log entry mapped to a specific error category before asking AI to categorize a new log entry. Which technique is being used?
zero-shot prompting
chain-of-thought
few-shot prompting
metaprompting
Question 12
Why is defining a persona considered a best practice for technical prompt engineering?
It provides instructions for desired action.
It reduces the total token usage.
It provides a pattern to emulate.
It guides the tone and vocabulary.
Question 13
A practitioner is solving a complex architectural problem by breaking it into four sequential prompts. Each prompt's output is fed as input into the next prompt in the sequence. Which prompt engineering technique is being used?
few-shot prompting
meta-prompting
prompt chaining
chain-of-thought prompting
Question 14
Which strategy should be used to mitigate hallucinations when asking an AI to summarize a specific technical document?
requesting citations for the summary
using a short system prompt
increasing the model creativity
removing negative constraints
Question 15
A practitioner uses self-consistency by running the same prompt three times and comparing the results. What is the goal of this strategy?