CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 40: CCA-F: Claude Certified Architect - Foundations

Your agent uses three tools: get_property_details(property_id) returns data including street address, get_price_history(property_id) returns historical pricing, and get_neighborhood_info(address) returns area statistics. You observe that get_neighborhood_info always requires get_property_details first just to extract…

Nội dung câu hỏi

Your agent uses three tools: get_property_details(property_id) returns data including street address, get_price_history(property_id) returns historical pricing, and get_neighborhood_info(address) returns area statistics. You observe that get_neighborhood_info always requires get_property_details first just to extract the address, even when users specify the property by ID. This creates unnecessary latency and failure coupling – if the first call fails, the neighborhood request also fails. What tool design change best addresses this?

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.

  1. A. Create a lookup_address(property_id) helper tool for retrieving addresses.
  2. B. Add retry logic and timeout handling to get_property_details.
  3. C. Change get_neighborhood_info to accept property_id, resolving the address internally. — đáp án hiện tại
  4. D. Consolidate into a single get_property_with_neighborhood(property_id) tool returning both datasets.

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề