App development with AI

Adding AI features via LLM APIs

12 free questions here, all 60 in the app

Easy 20 8 of them here Medium 20 2 of them here Hard 20 2 of them here

Easy

8 of 20 questions

API basics

  1. Which roles do messages have in a typical chat call to an LLM API?
  2. What is the system prompt for?
  3. An app calls the API twice in a row. What does the model "know" about the first call during the second one?
  4. What is a token in language models?
  5. What does a low temperature do during text generation?
  6. What happens when the answer reaches the configured maximum number of output tokens?

Designing prompts

  1. Which prompt is likely to give the more useful result for a product description?
  2. What is few-shot prompting?

Practise all 20 Easy questions in the app →

Medium

2 of 20 questions

API basics

  1. What counts against the model's context window in a call?
  2. The code only reads the answer text and ignores the stop reason delivered with it (e.g. "stop_reason" / "finish_reason"). What problem can this cause?

Practise all 20 Medium questions in the app →

Hard

2 of 20 questions

API basics

  1. After about 40 messages, a support chat becomes slow and expensive and finally fails with a context-length error. Which measures make sense?
  2. An app generates reports as JSON. Sometimes parsing fails, and the stop reason then reports that the maximum length was reached. What is the right conclusion?

Practise all 20 Hard questions in the app →

Certifications & exams

Which exam comes next?

You can already practise for 60 exams, and 7 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications