Skip to main content

Quiz for LangGraph and Agentic AI module

No.Training UnitLectureTraining contentQuestionLevelMarkAnswerAnswer Option AAnswer Option BAnswer Option CAnswer Option D
1Unit 5: Human-in-the-Loop & PersistenceLec5HITLWhat is a primary use case for "Human-in-the-Loop" (HITL) mechanisms?Easy1AApproval of high-stakes actions (e.g., money transfers, data deletion).Increasing the speed of the agent's responses.Reducing the number of tokens used by the LLM.Replacing the LLM for simple tasks.
2Unit 5: Human-in-the-Loop & PersistenceLec5InterruptsIn LangGraph, where can you set an "Interrupt" to pause execution?Medium1BInside the LLM's system prompt.In the workflow.compile() method using interrupt_before or interrupt_after.Only at the very beginning of the graph.In the database configuration.
3Unit 5: Human-in-the-Loop & PersistenceLec5PersistenceWhat is the role of a "Checkpointer" in a LangGraph application?Easy1CTo check the code for syntax errors.To maintain a list of active users.To automatically persist and restore the graph state between executions.To limit the rate of API calls.
4Unit 5: Human-in-the-Loop & PersistenceLec5IsolationHow does LangGraph isolate different user conversations when using persistence?Medium1BBy using different Python scripts for each user.By using a unique thread_id in the configuration.By creating a new database for every single turn.By clearing the memory after every message.
5Unit 5: Human-in-the-Loop & PersistenceLec5ResumingHow do you resume a graph execution after it has been paused for human approval?Medium1CRestarting the script from the beginning.Calling a manual .resume() method on the graph object.Invoking the graph again with the same thread_id and the human's input (or None).The graph resumes automatically after a timeout.
6Unit 5: Human-in-the-Loop & PersistenceLec5State UpdatesWhich method allows an administrator to manually modify the state of a paused graph?Hard1Aapp.update_state(config, values)app.set_state(values)app.modify_history(config)app.write_state(values)
7Unit 5: Human-in-the-Loop & PersistenceLec5Time TravelWhat does "Time Travel" refer to in LangGraph checkpointers?Medium1BRunning the model with future data.Inspecting or replaying the graph state from a specific past checkpoint ID.Accelerating the LLM inference speed.predicting the next 10 user messages.
8Unit 5: Human-in-the-Loop & PersistenceLec5MemorySaverWhat is the primary limitation of the MemorySaver checkpointer?Easy1AAll state data is lost when the process or server is restarted.It is too slow for use in development labs.It requires a complex PostgreSQL setup.It can only store one thread at a time.
9Unit 5: Human-in-the-Loop & PersistenceLec5SaversWhich checkpointer is recommended for production environments requiring high availability and scalability?Medium1DMemorySaverJsonSaverFileSaverPostgresSaver
10Unit 5: Human-in-the-Loop & PersistenceLec5State UpdatesWhat is the specific purpose of the as_node parameter in the update_state method?Hard1BTo rename a node in the graph.To simulate that the state update was generated by a specific node (e.g., for routing).To delete a node from the workflow.To create a temporary branch in the graph.
11Unit 5: Human-in-the-Loop & PersistenceLec5HITLWhy is HITL required for financial transfers?Easy1CGrammar check.System speed.Oversight for irreversible actions.Model training.
12Unit 5: Human-in-the-Loop & PersistenceLec5Interruptsinterrupt_after pauses execution...Medium1DBefore the first node.After the LLM thinks.When the API fails.After a specific node finishes.
13Unit 5: Human-in-the-Loop & PersistenceLec5InterruptsWhat happens at an interrupt point?Hard1AExecution stops and returns to caller.The program crashes.Waits for keyboard input.History is deleted.
14Unit 5: Human-in-the-Loop & PersistenceLec5SaversBenefit of SQLiteSaver over MemorySaver?Medium1BDistributed clusters.Persistence via local file.Native prompt execution.Zero disk space.
15Unit 5: Human-in-the-Loop & PersistenceLec5IsolationEvery thread in a checkpointer is unique by...Medium1CUser IP.System prompt.thread_id.Timestamp.
16Unit 5: Human-in-the-Loop & PersistenceLec5State UpdatesManual state updates can...Hard1DCrash the graph.Only be done by humans.Change LLM weights.Skip nodes or fix stuck workflows.
17Unit 5: Human-in-the-Loop & PersistenceLec5Time TravelTo replay from a checkpoint, you need the...Hard1Athread_id and checkpoint_id.Admin password.Graph source code.Python version.
18Unit 5: Human-in-the-Loop & PersistenceLec5PersistenceA checkpoint contains state values and...Hard1BPrompt templates.The next node to execute.User emails.API keys.
19Unit 5: Human-in-the-Loop & PersistenceLec5PersistenceLong-term memory is often stored in...Medium1CThe checkpointer.System prompts.External Vector Databases.Python dictionaries.
20Unit 5: Human-in-the-Loop & PersistenceLec5SaversHigh availability systems use...Easy1DMemorySaver.FileSaver.thread_id only.PostgresSaver with pooling.