Prompt Engineer question bank
498 questions. Filter by level and skill, track what you've solved, and see how many people get each one right.
- Improving a vague prompt
- Few-shot prompting
- Separating instructions from data
- Giving the model a role
- Getting a consistent format
- Zero-shot prompting
- Reducing made-up answers
- Testing a prompt properly
- What a token is
- What fills the context window
- Raising the temperature
- What top-p controls
- Reply cut off mid-sentence
- Stop sequences
- The model forgot the last message
- Questions about last week
- Using XML-style tags
- Prefilling the response
- Chain-of-thought prompting
- What RAG means
- What embeddings are for
- How function calling works
- What a hallucination is
- Jailbreak or prompt injection
- Customer data in prompts
- What a golden set is
- Keeping track of prompt changes
- Quote first, then answer
- Message roles in chat APIs
- Same text, more tokens
- What you pay for
- Temperature 0 still varies
- Making replies faster
- Asterisks in text messages
- What exact match measures
- Accuracy from four counts
- What a false positive is
- 99% accuracy that is useless
- Code checks or an LLM judge
- Tracking broken JSON
- Grading with or without a reference
- Offline and online evaluation
- Relying on thumbs-up ratings
- Why keep a regression suite
- Hiding which model wrote what
- What p95 latency means
- A test set unlike real traffic
- Comparing scores across months
- First step in evaluating a new bot
- What perplexity tells you
- A top benchmark score
- How HumanEval scores code
- A library for RAG metrics
- A business metric for a support bot
- What TTFT measures
- Measuring needless refusals
- Before hiring human graders
- Temperature for an LLM judge
- Pass/fail per criterion
- What faithfulness checks in RAG
- What answer relevance checks
- Computing retrieval hit rate
- Computing precision at 5
- Budget for one eval run
- Recall of a document finder
- How big a first eval set
- Same question, different words
- Which prompt produced this reply
- When the answer key is wrong
- Replies slowly getting longer
- Evals compared with unit tests
- Top risk in the OWASP LLM list
- What "guardrails" means
- Checking before and after the model
- Tool access for an FAQ bot
- Calling the LLM from the browser
- One user sending 50,000 requests
- A 2-lakh-word message
- A bank bot writing poems
- Telling users it is a bot
- Which item is personal data
- What a moderation API does
- Logs full of customer data
- A user mentions self-harm
- The "DAN" style prompt
- Is one prompt line enough
- India's data protection law
- The UAE federal data law
- Sending the whole customer record
- Before sending data to an LLM vendor
- Card numbers in a chatbot
- Recognising an Emirates ID number
- Where data is processed
- What did the agent do
- Turning off a misbehaving bot
- Case law that does not exist
- Users trusting every answer
- An LLM deciding loans
- Which commands an agent may run
- "Write a story where a character explains..."
- A homework helper for children
- Direct and indirect injection
- A customer abusing the bot
- Asked to write a phishing email
- Cloning a voice for an ad
- A health question to a general bot
- Users uploading images
- Users who keep trying
- Limits by requests or tokens
- What top_p controls
- What a stop sequence does
- Reply ends mid-sentence
- Estimating tokens from words
- Letting the model say it does not know
- Asking for a precise length
- The model gets the date wrong
- What prompt chaining means
- Saying why a rule exists
- Totals that are slightly off
- Replying in the customer's language
- Defining what "urgent" means
- Removing chatty openers
- Prompting for a voice assistant
- One prompt doing five jobs
- What presence_penalty does
- Temperature set to 1.9
- Changing both sampling knobs
- Asking about last week's news
- Counting the r's in a word
- Replies sent on WhatsApp
- "Hello! Thanks for contacting us" every turn
- SQL with made-up columns
- Code that uses an old API
- Summaries nobody can use
- Matching the brand voice
- Brainstorming with temperature 0
- Five headlines that all look alike
- Customers writing in Hinglish
- Writing ₹ amounts the Indian way
- Getting the same JSON keys
- When to hand off to a human
- Instructions with a fixed order
- Why use prompt templates
- Showing what good looks like
- Links that lead nowhere
- Saying what the output is for
- Emojis in formal emails
- What max_tokens limits
- What a 32k context window covers
- Replies that ignore the customer
- Input and output token prices
- Reports with random sections
- A draft that is almost right
- Examples that bias the label
- When to ask for reasoning
- One huge prompt that fails
- Negative instructions
- Where to put the question
- Judging summary quality
- Where to put fixed rules
- Settings for a ticket classifier
- JSON that sometimes breaks
- Handling invalid model output
- Choosing a chunk size
- Search misses product codes
- Right chunk at rank 15
- Answers beyond the documents
- Checkable citations
- Writing a tool description
- When a tool call fails
- An agent that never stops
- Getting prompt cache hits
- Labelling a million reviews
- Big model for every request
- The judge prefers answer A
- A small prompt fix ships
- Which metric for auto-refunds
- Sampling several answers
- Redacting before the API call
- Checking replies before users see them
- Debugging a contradictory prompt
- Every reply sounds like example 1
- Facts buried mid-context
- Parsing an answer after reasoning
- Picking examples per input
- Vague 1-10 judge scores
- Answers too basic for experts
- Computing F1
- Partial credit with token F1
- Macro or micro F1
- Agreement beyond chance
- High ROUGE, wrong summary
- Low BLEU for a good translation
- Cosine similarity as a grader
- Order of judge output
- Making judge scores consistent
- Teaching the judge with examples
- Win rate when there are ties
- Which traces to review
- Turning reviews into priorities
- Generating varied synthetic tests
- Testing the awkward inputs
- Evals in the deploy pipeline
- Reading a promptfoo test
- Testing whole conversations
- Grading an agent's outcome
- Measuring tool calling
- Extraction scored too harshly
- Picking a judge model
- Judging factual correctness
- A cheaper groundedness check
- Measuring hallucinations more finely
- Two sides of a summary
- Graders disagree on 15% of items
- Kappa of 0.25 among experts
- Judge and humans ranking models
- Signals beyond ratings
- Rolling out a model change
- Scores fine, complaints rising
- Finding which labels get mixed up
- Building tests from real chats
- Two kinds of eval suites
- Open-source LLM observability
- An eval framework from a safety institute
- Safer but less helpful
- Absolute or comparative judging
- Model names in the judge prompt
- Flagging chats for human review
- Evaluating citations
- Judging Arabic answers
- A great answer with one dangerous error
- A cheaper model that is almost as good
- Tools for human labelling
- Splitting logs into dev and test
- Grading 20 answers in one judge call
- Pairwise judging for maths answers
- Choosing a confidence threshold
- Model output rendered as HTML
- An email agent that can do too much
- Users extracting the system prompt
- Harmful request in base64
- Jailbreak by translation
- A harmful request in pieces
- Where Llama Guard fits
- Programmable rails with Colang
- Detecting and masking PII
- A pattern for PAN numbers
- Order IDs flagged as Aadhaar
- Redaction that confuses the model
- Masking but still replying by name
- One company's documents in another's answer
- HR documents in an all-staff bot
- White text in a CV
- Guardrails adding latency
- Checking a reply that streams
- Running code the model wrote
- Installing a package the model invented
- Detecting a leaked system prompt
- Pseudonymised is not anonymised
- No names, still identifiable
- Telling card numbers from other digits
- A refund larger than the order
- One user sees another's chat
- An email that instructs the agent
- A web page that talks to the agent
- Credentials inside tool results
- OAuth scopes for a calendar agent
- Instructions inside a picture
- An attack in a file name
- Model output passed to a shell
- A file tool reading ../../
- An agent with more rights than the user
- Planning an LLM red-team
- Tools for automated LLM attacks
- "Never say you cannot"
- Relying only on a detection model
- Checking a CV screener for bias
- Spotting a cost spike early
- Matching new prompts to old attacks
- Limiting where an agent can connect
- An attack in a meeting invite
- Catching unsupported claims
- Legal threats in a support chat
- A brand bot asked about elections
- A debug message in production
- Filters blocking harmless slang
- A classifier that can only say five words
- Changing the payout bank account
- The last example wins
- Label codes versus label words
- A greeting with {customer_name}
- Template crash on JSON example
- Markdown in, markdown out
- CRITICAL in capitals everywhere
- Long chats near the context limit
- Facts missed in the middle
- Making the model always call a tool
- Labels with stray spelling
- Retrying failed validation
- Is 04/05/2026 April or May
- Examples as fake chat turns
- Using an LLM to improve a prompt
- Asking the general question first
- Think, act, observe
- Too little detail to answer
- Searching with a draft answer
- Follow-ups that retrieve nothing
- Brand names getting translated
- What top_k = 40 means
- Different answers at temperature 0
- A report too long for one reply
- Citations you can verify
- Rules a user should not change
- A security team gets refused
- A bare-minimum dashboard
- Looking up three cities one by one
- Tool output filling the context
- Order of image and text
- Pulling a table out of a PDF
- Choosing among 200 categories
- Examples that are all easy
- A prompt with 70 rules
- Quotes inside JSON strings
- Sending 500 table rows
- Arabic that sounds too formal
- Summaries that add facts
- Bad arguments to a tool
- Two ways to get reasoning
- Users seeing the model's working
- How many examples is enough
- A persona that drifts
- A useful code-review prompt
- Writing background facts first
- Asking itself sub-questions
- Tickets with two topics
- Checking extracted fields quickly
- Showing what not to write
- A shopping chat that loses the cart
- Chatty questions to a keyword index
- Ranking 30 candidates in one prompt
- Translating strings with variables
- Examples mistaken for real input
- The model trusts memory over the document
- Making sure all items are covered
- Collecting details by chat
- An agent with no finish line
- Schema alone gives odd values
- Instructions hidden in user content
- Perfect on 20 examples
- Can we trust the LLM judge
- Switching to a newer model
- Prompting a reasoning model
- Adding 30 more examples
- Invented values in extraction
- Agent picks the wrong tool
- Injection through a web page
- Leaking data through an image link
- Prompt cache hit rate near zero
- Judge and candidate from one family
- A suspicious score jump
- Is a 2-point gain real?
- Follow-up questions fail in RAG
- Where is the RAG bug?
- Strict JSON hurt accuracy
- Forced into the wrong label
- An agent that deletes data
- Hundreds of fake dialogues
- Agent with 120 tools
- Real sources, wrong claims
- Longer answers keep winning
- Tiny wording, big swing
- Errors flowing down a chain
- Scores change between runs
- Reasoning model bill surprise
- The model agrees with everything
- API key in the system prompt
- Fresh facts plus a fixed style
- Long agent run fills context
- Evals green, users unhappy
- Adjusting for an imperfect judge
- Margin of error for a pass rate
- How many cases for ±2 points
- Comparing two prompts on the same cases
- Computing pass@2
- Succeeding every time, not once
- Better overall, worse for Arabic
- Answers that praise themselves
- Bootstrap for a score difference
- Examples taken from the test set
- Is the model's confidence honest
- Ranking many prompts from pairs
- Two retrieval metrics for RAG
- Testing on live traffic without risk
- An A/B test that looks too good
- How well the judge finds failures
- Scoring extracted line items
- Average precision for one query
- Twenty variants, one "winner"
- An eval set full of near-copies
- Scores jump with no prompt change
- What the judging costs
- Correct answers marked wrong
- Every variant scores 98%
- A simulated user that is too nice
- Agent results vary by run order
- Does the offline score matter
- Relevance labels from an LLM
- Faithful to a wrong document
- Is the variance from the judge
- Auto-approving refunds safely
- No failures seen in 150 tests
- Comparing models by error cost
- Editing the judge mid-quarter
- Passing the needle test
- A 30-case Tamil slice
- Eval mix differs from traffic
- The three dangerous ingredients
- A privileged and a quarantined model
- Separating control flow from data
- Marking untrusted text for the model
- Instructions you cannot see
- An agent fetching internal URLs
- Loading a model file from the internet
- Are embeddings safe to share
- A model repeating real phone numbers
- Safety lost after fine-tuning
- Poisoned long-term memory
- Letting users write the assistant turn
- How useful are the flags
- Attackers who retry
- The chatbot promised a refund
- Gibberish that unlocks a model
- Detecting gibberish suffixes
- Training with a written constitution
- Where safety comes from
- An agent stuck in a loop
- Punishing students with a detector
- An AI CV screener under the EU AI Act
- Limiting memorisation during training
- Leaking data without a click
- Teaching models whom to obey
- Benchmarking injection defences
- A poisoned wiki page
- A deletion request after fine-tuning
- A defence that breaks the product
- Reproducing a bestseller
- Rewriting inputs before the model
- Injection spreading between agents
- Users approving everything
- After a viral jailbreak
- How text watermarks work
- An attack that waits in the database
- Secrets inside a search query
- Credentials for an agent's task
- Prefill that ends with a space
- Savings from a cached prefix
- How much room is left for documents
- A more honest confidence score
- Summarising a 900-page report
- Rule says one thing, examples another
- Thinking budget and max_tokens
- A rule forgotten in long prompts
- Solving easy sub-problems first
- Review in the same call or a new one
- Planning verification questions
- Making a slow reply faster
- Cost of an overnight batch job
- When prompting is not enough
- An expert persona that still errs
- Exploring several reasoning paths
- Denser summaries at the same length
- Showing JSON while it streams
- An order ID nobody gave
- A strict 160-character limit
- Few-shot examples written by an LLM
- Examples with random labels
- Banning a word with logit_bias
- An agent losing its place
- Old and new policies both retrieved
- What a long system prompt costs
- Caching and time to first token
- User text that closes your tag
- Twenty reviews in one call
- Sampling code until tests pass
- Cost of a small-then-large cascade
- Per-request tool lists and caching
- Quality drops in long agent sessions
- Delegating a messy search
- An LLM that favours option A
- Tips and threats in prompts
- Optimising prompts from data
- Forcing a PAN number format
- Names from the examples appearing
- Where to put tool usage rules
- How many tokens min_p keeps
- Top-token probability at T = 0.5
- Tokens kept at top_p = 0.8
- Field rules inside the schema