Question 280
An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. After implementing the targeted fix, which observation is the strongest direct acceptance evidence?
Explanation
Correct Answer
This is a direct, observable acceptance check for the case: An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. The intended corrective action is Right-size memory and select eviction strategy appropriate for disposable versus critical keys. The specific verification is Cache hit ratio and eviction metrics remain within target under mixed load.
Incorrect Answers
Uncoordinated last-writer-wins cache updates allow older data to replace newer data. This is a separate requirement; the current case instead hinges on: This is a direct, observable acceptance check for the case: An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. The matching answer is: Cache hit ratio and eviction metrics remain within target under mixed load.
The alternative addresses: Simultaneous expiry sends many duplicate reads to the database. The reported constraint here is different: This is a direct, observable acceptance check for the case: An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. The case-specific choice is: Cache hit ratio and eviction metrics remain within target under mixed load.
Absent expirations retain stale sessions beyond approved validity. By contrast, the relevant technical condition here is: This is a direct, observable acceptance check for the case: An AI response cache evicts useful records unpredictably when embeddings compete for memory with sessions. The appropriate selection is: Cache hit ratio and eviction metrics remain within target under mixed load.