演習 › 全問
問題 Q4-16
80 / 120分野4・コストとレイテンシの最適化
まだ解いていません。
社内のチャットボットの月額が、予算を超えた。集計を見ると、費用の大半は、毎回送る約8,000トークンの共通の指示で、同じ内容が、1日に数万回、送られている。キャッシュの読み出しは、ほぼ0である。最も適切な最適化はどれか。
正解は C
- A品質の下限を満たすかの確認なしに替えると、品質が下がるおそれがあります。費用の集中箇所も違います。
- B必要な指示を失い、品質の下限を割るおそれがあります。
- C正解です。同じ指示が、先頭で繰り返されるなら、キャッシュで大きく下がります。読み出しがほぼ0なので、構成が効いていません。
- D費用の大半は入力側なので、出力の制限では、効果が小さいです。
考え方:費用の大半が繰り返す入力なら、キャッシュが効く構成にする。
出典:Prompt caching
Conversational agents: Reduce cost and latency for extended conversations, especially those with long instructions or uploaded documents.https://platform.claude.com/docs/en/build-with-claude/prompt-caching.m…(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Analyzing cost and latency telemetry, including cache hit rates, to determine where spend or latency is concentrated, and specifying the optimization that reduces it without violating the stated quality floor.https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)