InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 181–192 of 3610 questions

AI Application EngineeringAdvanced1 min read

How do you defend against prompt injection?

Use layered defenses: separate instructions from untrusted content, minimize tool permissions, validate arguments, enforce policy in deterministic code, and require approval for sensitive actions.

AI Application EngineeringIntermediate1 min read

What is an LLM evaluation dataset?

An evaluation dataset contains representative inputs, expected outcomes or grading criteria, and metadata needed to measure application behavior.

AI Application EngineeringIntermediate1 min read

What is a golden test set?

A golden test set is a curated set of inputs and expected answers or rubric judgments used to detect regressions.

AI Application EngineeringIntermediate1 min read

What is pairwise evaluation?

Pairwise evaluation compares two candidate outputs for the same input and asks a human or judge model which better satisfies a rubric.