Question 7: CCDV-F: Claude Certified Developer - Foundations
The Anthropic API deprecated a request parameter that your Claude application uses in approximately 40 places across the codebase. The deprecation notice gives a six-month window before the parameter is removed and recommends a replacement parameter with slightly different semantics. You would respond to the deprecati…
Nội dung câu hỏi
The Anthropic API deprecated a request parameter that your Claude application uses in approximately 40 places across the codebase. The deprecation notice gives a six-month window before the parameter is removed and recommends a replacement parameter with slightly different semantics. You would respond to the deprecation by ...
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. swapping all 40 call sites in a single change right away to prevent drawn-out migration work that will delay ongoing functioning.
- B. migrating all 40 call sites in a single change near the removal date to ensure the deprecated parameter continues to work as long as possible.
- C. adding regression tests to cover the parameter’s behavior, then migrating call sites in batches that you validate against regression tests. — đáp án hiện tại
- D. keeping the deprecated parameter in place while writing a wrapper function around it to insulate the rest of the codebase from the eventual change.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.