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

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

Your control_device tool manages smart home devices through external APIs. When a device doesn’t respond within the timeout period, the tool returns an error. Production logs show that the agent simply tells users “the device is not responding” without offering helpful next steps. Which error response structure would…

Nội dung câu hỏi

Your control_device tool manages smart home devices through external APIs. When a device doesn’t respond within the timeout period, the tool returns an error. Production logs show that the agent simply tells users “the device is not responding” without offering helpful next steps. Which error response structure would best enable the agent to provide useful follow-up?

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. Set is_error: true with a structured technical error containing the device ID, timeout duration, and raw API response code for debugging purposes.
  2. B. Set is_error: true with a brief “Device offline” message and provide a separate tool the agent can call to retrieve context-specific troubleshooting suggestions.
  3. C. Set is_error: false with an optimistic message indicating the command was dispatched successfully but device acknowledgment is still pending.
  4. D. Set is_error: true with a message explaining the likely cause and suggesting troubleshooting steps the agent can offer the user. — đáp án hiện tại

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ề