講座 › 分野3 統合
3.8 本番環境の信頼性制御
配点 2.4%Production Reliability Controls
本番のエラーの記録やスループットから、失敗の型を読み、レート制限の扱い、再試行と待ち、副作用のあるツールの冪等性、代替の経路のうち、二重の影響を出さない制御を選ぶ。
未読
エラーの種類を見分ける 読了

429は、レート制限などの超過を示します。待ち時間の指示がある場合は、その秒数を待ってから再試行します。月の上限に当たった429には、待ちの指示がなく、アクセスが再開するまで失敗し続けます。500番台の一時的な過負荷は、指数的に待ち時間を延ばす再試行で対応します。
出典:Claude API errors
Your organization has hit a rate limit, reached its usage tier’s monthly spend cap, or reached a spend limit on the Claude Code workspace.https://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23)
出典:Rate limits
When the response has a `retry-after` header, wait that many seconds before retrying.https://platform.claude.com/docs/en/api/rate-limits.md(取得 2026-11-23)
出典:Claude API errors
A tier spend-cap 429 has no `retry-after` header and keeps failing until access resumeshttps://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23)
出典:Claude API errors
A 529 error can occur when the API experiences high traffic across all users.https://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23)
出典:Claude API errors
Retry the request with exponential backoff; if the error persists, contact support with thehttps://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23)
副作用のあるツールの再試行は、冪等性が前提 読了

クライアント側が時間切れになっても、ツールはすでに実行済みの場合があります。この時に再試行すると、完了した処理が繰り返されます。冪等性のキーを付けて、同じ要求の再実行を、ツール側で見分けて重複させない設計にします。モデルへの指示で、事前の確認を頼む方法は、強制できる防止にはなりません。
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Analyzing the failure pattern in error traces or throughput data from a production integration, and specifying the reliability control (rate-limit handling, retry and backoff, idempotency for side-effecting tools, or fallback routing) that addresses it without introducing duplicate effects.https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
The side-effecting tool executed before the client observed a result, so every retry replays a completed action.https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
An idempotency key makes retry safe by letting the tool recognize and deduplicate the repeated request, which is the guard the objective calls for when retries meet side effects.https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
relies on model behavior rather than an enforceable guardhttps://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
バッチと長い要求 読了

バッチ処理にも、レート制限があります。バッチなら制限を受けない、という前提は成り立ちません。長く走る要求は、ストリーミングを使います。ストリーミングの途中でも、200の応答のあとに、エラーが起きることがあります。
出典:Batch processing
Rate limits apply to both Batches API HTTP requests and the number of requests within a batch waiting to be processed.https://platform.claude.com/docs/en/build-with-claude/batch-processing…(取得 2026-11-23)
出典:Claude API errors
For long-running Messages API requests, use thehttps://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23)
出典:Claude API errors
an error can occur after the API returns a 200 response.https://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23)
試験のポイント
- 429は、待ちの指示があればその秒数を待つ。月の上限の429は、待っても直らない。
出典:Claude API errors
A tier spend-cap 429 has no `retry-after` header and keeps failing until access resumes
https://platform.claude.com/docs/en/api/errors.md(取得 2026-11-23) - 副作用のあるツールの再試行は、冪等性のキーで重複を防ぐ。
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
An idempotency key makes retry safe by letting the tool recognize and deduplicate the repeated request, which is the guard the objective calls for when retries meet side effects.
https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23) - バッチ処理にも、レート制限がある。
出典:Batch processing
Rate limits apply to both Batches API HTTP requests and the number of requests within a batch waiting to be processed.
https://platform.claude.com/docs/en/build-with-claude/batch-processing…(取得 2026-11-23)