Câu 21: AI-200: Developing AI Cloud Solutions on Azure
You are developing an AI search API that caches semantic search results in Redis. Search results must remain cached for 10 minutes. If the underlying data changes, cached entries must NOT be returned. You need to implement a cache-aside strategy to ensure data consistency. Which two actions should you perform? Each co…
Nội dung câu hỏi
You are developing an AI search API that caches semantic search results in Redis. Search results must remain cached for 10 minutes. If the underlying data changes, cached entries must NOT be returned. You need to implement a cache-aside strategy to ensure data consistency. Which two actions should you perform? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.
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. Configure a cache notification for key space events.
- B. Delete related cache keys when the source data changes. — đáp án hiện tại
- C. Implement sliding expiration based on key access.
- D. Configure a 10-minute Time to Live on each key. — đá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.