ExercisesSolve 6 real-world memory architecture, privacy, and compaction scenarios.1. User B sees User A's preferred programming language in a shared web API. What was left out of MemoryConfig? Per-user user_id isolation (it was left on 'default') stream=True ChunkingStrategy.SENTENCESubmit AnswerShow AnswerTry Again2. A customer types their credit card password into chat. What must your memory layer do? Reject and never persist secrets/credentials into durable memory Store it in long-term memory for convenience Index it into shared RAG docsSubmit AnswerShow AnswerTry Again3. After 45 turns, your assistant forgets an architecture constraint stated in Turn 1 because old messages were dropped. What prevents this? Enable ExecutionConfig(context_compaction=True, pre_compaction_memory_flush=PreCompactionMemoryFlushConfig(enabled=True)) Disable memory completely Increase temperatureSubmit AnswerShow AnswerTry Again4. Where should a company's public 2026 holiday schedule live vs one employee's preferred time zone? Holiday schedule in RAG (shared note); employee time zone in per-user Memory Both in one shared password file Holiday schedule in short-term chat onlySubmit AnswerShow AnswerTry Again5. Before running a bulk migration script over a user's long-term memories, what safety step lets you undo mistakes instantly? Call mem.create_checkpoint('pre_migration') so you can restore_checkpoint() if needed Set retention_days=0 Delete base_path firstSubmit AnswerShow AnswerTry Again6. Why should LearnConfig specify retention_days (e.g., 90 days) and LearnScope.PRIVATE for user preferences? Prevents stale preference buildup and keeps personal insights isolated to that user Forces the model to use Rust Eliminates the need for an LLMSubmit AnswerShow AnswerTry AgainBack to the Memory tutorial