Français
Applied AI · Advanced 🔴 · Session 1
❓ Interactive quiz
← Return to program 📄 Source .md

Quiz — Advanced Level, Session 1

“Claude API: Deep Dive”

Program : Applied AI — Yann Isola Format: 10 MCQs (MCQ = Multiple Choice Questionnaire), certification level Claude Certified Architect Duration : 20 minutes — only one correct answer per question unless otherwise stated Threshold : 7/10

⚠ Numerical values ​​(rates, limits, TTL) reflect the documentation at the time of writing and are volatile.


Q1 — Mandatory fields

Which fields are strictly obligatory in a query POST /v1/messages ?

Q2 — stop_reason and HTTP code

A JSON extraction returns a document truncated halfway. The HTTP code was 200. What is the most likely explanation and where should it be detected?

Q3 — Prefilling

You complete the painting messages by {"role": "assistant", "content": "{"}. Which statements are accurate? (two answers)

Q4 — System prompt

Why is the system prompt called a “privileged channel” rather than a “first message”?

Q5 — Context window and costs

An assistant conversation accumulates on average 40,000 history tokens returned each round, over 25 rounds. Which architect's statement is correct?

Q6 — Prompt caching: economy

With prompt caching: which pair (write cost, read cost) is correct, as a percentage of the normal entry price? ⚠

Q7 — Prompt caching: invalidation

What change does NOT invalidate the cache of a prefix placed on the system prompt via cache_control ?

Q8 — Token counting

Which statement about token counting is correct?

Q9 — SSE Streaming

In an SSE flow (SSE = Server-Sent Events), in which event does the client find the stop_reason final and final count of exit tokens?

Q10 — API Batches

For non-urgent classification of 80,000 documents, what combination (discount, SLA, limit, correlation) correctly describes the Batches API? ⚠