D5: Technical Fundamentals: SDKs, REST & WebSockets
Claude Certified Developer – Foundations exam practice questions · 10 flashcards
Question
What do client SDKs do?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Technical Fundamentals: SDKs, REST & WebSockets practice questions and answers
- What do client SDKs do?Wrap the REST API with typed methods, auth, retries, streaming helpers and error classes.
- Which official SDKs exist?Python and TypeScript, plus others such as Java, Go, C#, Ruby and PHP.
- How does the SDK find your API key?Typically from the ANTHROPIC_API_KEY environment variable.
- Why prefer the SDK over raw HTTP?Less boilerplate, built-in retries, typed responses and streaming support.
- SSE vs WebSockets?SSE: one-way server-to-client over HTTP (used by Claude streaming). WebSockets: two-way persistent connection.
- When would you use WebSockets in a Claude app?To relay streamed output to a browser or support real-time two-way interaction.
- Why proxy Claude calls through your backend?To keep the API key secret and enforce auth, limits and logging.
- What are rate limits measured in?Requests per minute and input/output tokens per minute, per model and usage tier.
- How do you see rate-limit status?Response headers report limits, remaining amounts and reset times.
- What are workspaces in the Claude Console?Groupings of API keys with separate limits and usage, e.g. per environment or team.