InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

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

Showing 109–120 of 3610 questions

AI Application EngineeringBeginner1 min read

What is a token in an LLM?

A token is a unit of text or other input representation processed by a model; it may be a word, word fragment, punctuation mark, or special token.

AI Application EngineeringBeginner1 min read

How should API keys be managed?

Store provider API keys in a secrets manager or protected server-side environment configuration, rotate them, and scope access to the minimum required.

AI Application EngineeringBeginner1 min read

What is chain-of-thought prompting?

Chain-of-thought prompting asks a model to reason through a task, but applications should not depend on hidden reasoning being complete or faithful.

AI Application EngineeringBeginner1 min read

What is prompt injection?

Prompt injection is an attempt to make a model ignore intended instructions by placing adversarial directions in user input or retrieved content.