Skip to course content
Free generative AI app course

Generative AI Application Development with Python

Module 03 Knowledge Check

5 questions. Pass mark 4 out of 5. Answer every question before checking the answer key below, then retry after reading the feedback.

1. Previous assistant messages are…

2. Reading only response.text discards…

3. A response truncated by the token limit…

4. The latency number users actually experience is…

5. A log line should always include…

---

Answer Key and Explanations

Check these only after attempting every question.

1. B - input on the next call, including anything wrong

There is nothing marking them as unverified, which is how a guess becomes a premise.

2. B - finish_reason, usage and the model version

Those are exactly what you need during an incident, and none is recoverable afterwards.

3. B - is valid text that stops mid-thought

It is also the most common cause of intermittent JSON parse failures, usually misdiagnosed as model quality.

4. B - time to first chunk

A change that halves total time while doubling time-to-first-chunk feels slower.

5. B - the prompt version and the model version

The prompt changes weekly and is rarely thought of as a deploy; without the version you cannot explain older runs.

Practical Check

Apply this module to your own work: complete the module activity for *Messages, Instructions and Response Handling*, then write one sentence naming what your result shows and one naming what it does not.

Strong Answer Pattern

A strong answer names the task, the evidence used, the check performed, and the remaining limitation. It avoids "proved", "guaranteed", or "always" unless the evidence genuinely supports it.