Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
What is an intelligent agent in the context of software bots?
Not quite. Try another option.
Answer: An autonomous entity that perceives its environment and takes actions to achieve specific goals
An intelligent agent is a system that observes its environment and autonomously takes actions to accomplish defined objectives.
Question 2 of 60 · Agent fundamentals · Easy
Through what mechanism does an intelligent agent typically interact with its environment?
Not quite. Try another option.
Answer: Through sensors to perceive and actuators (or APIs) to act
Agents interact with environments by 'sensing' (receiving input/data) and 'acting' (using APIs or actuators to change the environment).
Question 3 of 60 · Agent types as assistive, augmented · Easy
What is the primary role of an 'assistive' AI agent?
Not quite. Try another option.
Answer: To help a human user perform tasks by providing support or information
Assistive agents are designed to aid and collaborate with humans, making tasks easier by providing necessary help and information.
Question 4 of 60 · Agent types as assistive, augmented · Easy
Augmented agents are primarily designed to:
Not quite. Try another option.
Answer: Enhance human capabilities and improve decision-making
Augmented agents act as an extension of human abilities, enhancing our capacity to process information and make complex decisions.
Question 5 of 60 · Agent characteristics such as autonomy, reactivity, goal-oriented behaviour · Easy
Which characteristic describes an agent's ability to operate and make decisions without direct human intervention?
Not quite. Try another option.
Answer: Autonomy
Autonomy refers to an agent's ability to operate independently, making its own choices to achieve a goal without a human controlling every step.
Question 6 of 60 · Agent characteristics such as autonomy, reactivity, goal-oriented behaviour · Easy
When an agent responds in a timely manner to changes occurring in its environment, it is demonstrating:
Not quite. Try another option.
Answer: Reactivity
Reactivity is the characteristic of an agent to perceive changes in its environment and respond appropriately and quickly.
Question 7 of 60 · Agent characteristics such as autonomy, reactivity, goal-oriented behaviour · Easy
An agent that continuously takes actions calculated to move it closer to a specific desired outcome is exhibiting:
Not quite. Try another option.
Answer: Goal-oriented behaviour
Goal-oriented (or pro-active) behavior means the agent does not just react to the environment, but actively pursues specific objectives.
Question 8 of 60 · AI Agent node architecture · Easy
In an AI Agent node architecture, what typically acts as the 'brain' that processes inputs and decides on the next action?
Not quite. Try another option.
Answer: The Large Language Model (LLM) or core decision engine
The LLM or decision engine acts as the central processor or 'brain' in the node architecture, interpreting inputs and deciding what to do next.
Question 9 of 60 · Perception-action loops · Easy
What is the first step in an agent's perception-action loop?
Not quite. Try another option.
Answer: Perceiving data or observing the environment
The perception-action loop begins with 'perception'—gathering input and observing the current state of the environment.
Question 10 of 60 · Perception-action loops · Easy
In the perception-action loop, after an agent processes perceived information and decides what to do, what is the final step?
Not quite. Try another option.
Answer: Taking an action in the environment
After perceiving and thinking (processing), the loop concludes with 'action'—executing a step that affects the environment.
Question 11 of 60 · Function calling · Easy
In the context of AI agents, what does 'function calling' allow the agent to do?
Not quite. Try another option.
Answer: Request the execution of specific predefined programming functions or APIs
Function calling gives agents the ability to output structured data that tells an application to execute a specific API or code function.
Question 12 of 60 · Tool integration fundamentals · Easy
Why do intelligent agents integrate with external tools (like calculators, web browsers, or databases)?
Not quite. Try another option.
Answer: To expand their capabilities beyond their base training data
Tools allow agents to perform actions they cannot do alone, such as looking up real-time information, performing exact math, or accessing private data.
Question 13 of 60 · Memory systems as short-term context, conversation history · Easy
What is the primary purpose of maintaining 'conversation history' in an agent's memory?
Not quite. Try another option.
Answer: To remember what was discussed recently and maintain context during an interaction
Conversation history acts as short-term memory, allowing the agent to understand current prompts in the context of previous messages.
Question 14 of 60 · Memory systems as short-term context, conversation history · Easy
Short-term context in an agent's memory system is primarily used to:
Not quite. Try another option.
Answer: Keep track of the current ongoing task or conversation session
Short-term context holds the immediate, temporary information needed to successfully complete the current task or interaction.
Question 15 of 60 · Task-specific agents as research agents, customer support agents · Easy
What is the primary function of a customer support agent?
Not quite. Try another option.
Answer: To answer user queries, troubleshoot issues, and provide assistance
Customer support agents are task-specific bots designed specifically to interact with customers to resolve their problems and answer questions.
Question 16 of 60 · Task-specific agents as research agents, customer support agents · Easy
A research agent is specifically optimized to:
Not quite. Try another option.
Answer: Gather, analyze, and summarize information on specific topics
Research agents are tailored for tasks involving searching across documents or the web, extracting relevant data, and synthesizing reports.
Question 17 of 60 · Agent vs workflow comparison · Easy
What is a key difference between an autonomous agent and a traditional workflow?
Not quite. Try another option.
Answer: Agents dynamically decide their path based on goals, whereas workflows follow a strict, predefined set of rules
Traditional workflows are deterministic (if X then Y), while agents use AI models to dynamically determine the best next step to reach a goal.
Which of the following is a common agent workflow design pattern where a primary agent decides which specialized sub-agent should handle a specific task?
Not quite. Try another option.
Answer: Routing
Routing is a pattern where an initial agent or process evaluates an input and directs (routes) it to the most appropriate specialized agent.
Question 19 of 60 · Agent error management · Easy
If an agent attempts to use a web search tool and the tool fails, what is a standard error management strategy?
Not quite. Try another option.
Answer: Logging the error, informing the user, or retrying with a fallback method
Good error management involves handling failures gracefully, such as retrying the action, using a backup tool (fallback), or alerting the user.
Question 20 of 60 · Agent error management · Easy
'Graceful degradation' in agent error management refers to:
Not quite. Try another option.
Answer: The agent continuing to operate with reduced functionality rather than completely crashing
Graceful degradation ensures that if one part of a system fails, the agent can still provide partial services instead of experiencing a total system failure.
Question 21 of 60 · Agent fundamentals · Medium
A software agent is deployed to monitor network traffic and flag unusual spikes. Which of the following best describes why this system is classified as an 'agent' rather than a standard script?
Not quite. Try another option.
Answer: It operates continuously and interacts with its environment to achieve a specific objective.
An agent is defined by its ability to perceive its environment, operate continuously (often autonomously), and take actions to achieve specific objectives, unlike standard scripts that run only when explicitly executed and follow strictly rigid paths.
Question 22 of 60 · Agent types as assistive, augmented · Medium
A coding agent suggests auto-completions as a developer types, but relies entirely on the developer to accept or reject the code. Meanwhile, another agent autonomously refactors entire codebases and submits pull requests. How are these two agents classified respectively?
Not quite. Try another option.
Answer: Assistive; Augmented
Assistive agents help users perform tasks by providing suggestions or partial completions (keeping the user in the loop), while augmented agents take on broader, more autonomous roles that expand the system's independent capabilities, like autonomously submitting pull requests.
Question 23 of 60 · Agent characteristics such as autonomy, reactivity, goal-oriented behaviour · Medium
A trading bot is programmed to maximize profit by the end of the day. Suddenly, the stock market crashes, and the bot immediately halts all purchases to prevent losses before recalculating its strategy. Which two agent characteristics are primarily demonstrated here?
Not quite. Try another option.
Answer: Reactivity and goal-oriented behaviour
The bot shows reactivity by immediately responding to sudden changes in the environment (the crash), and goal-oriented behavior by maintaining its overarching objective to maximize profit (preventing further losses).
Question 24 of 60 · Agent characteristics such as autonomy, reactivity, goal-oriented behaviour · Medium
Which of the following scenarios best illustrates the 'autonomy' characteristic of an intelligent agent?
Not quite. Try another option.
Answer: A chatbot resolving a customer complaint by independently generating a refund sequence without human approval.
Autonomy refers to an agent's ability to make decisions and execute complex sequences of actions without requiring human intervention at every step.
Question 25 of 60 · AI Agent node architecture · Medium
In an AI Agent node architecture, what is the primary role of the 'Reasoning Engine' or 'Controller' node?
Not quite. Try another option.
Answer: To process inputs, determine the next best action, and orchestrate the agent's tools.
The Reasoning Engine (often powered by an LLM) acts as the brain of the agent node architecture. It evaluates the current state, decides which tools to invoke, and plans the sequence of actions.
Question 26 of 60 · Perception-action loops · Medium
During a perception-action loop, an agent parses an email, decides it is spam, and moves it to the junk folder. If the 'perception' phase is parsing the email, what constitutes the 'action' phase in this specific loop?
Not quite. Try another option.
Answer: Moving the email to the junk folder.
The perception-action loop consists of sensing the environment (parsing), processing/decision-making (classifying as spam), and acting on the environment (moving the email to the junk folder).
Question 27 of 60 · Perception-action loops · Medium
Why is the concept of a 'loop' critical in agent design rather than a simple linear execution path?
Not quite. Try another option.
Answer: Because agents must continuously re-evaluate the environment to handle dynamic changes after taking an action.
Environments are dynamic. An action changes the environment, and the agent must perceive these new changes to decide its subsequent actions, making a continuous loop essential for intelligent behavior.
Question 28 of 60 · Function calling · Medium
When designing an LLM-based agent that utilizes function calling to check weather data, what exactly does the LLM generate to trigger the function?
Not quite. Try another option.
Answer: It generates a structured JSON object containing the function name and the required arguments.
In function calling, the LLM does not execute the code itself. Instead, it generates a structured data payload (usually JSON) that specifies the function to be called and the arguments to pass, which the application then executes.
Question 29 of 60 · Function calling · Medium
An agent is equipped with a get_stock_price function. The user asks, 'What is the weather in Tokyo?' How should a properly configured function-calling agent respond?
Not quite. Try another option.
Answer: It should recognize no relevant tools are available and respond using its base knowledge or state its limitation.
A well-designed function-calling mechanism allows the model to determine whether a tool is necessary. If the user's prompt is unrelated to the available tools, the model should bypass tool invocation and respond naturally.
Question 30 of 60 · Tool integration fundamentals · Medium
When integrating an external calculator tool into an agent, what is the most crucial information the developer must provide to the agent to ensure accurate tool usage?
Not quite. Try another option.
Answer: A clear description of what the tool does and the exact schema of its inputs.
For an agent to effectively integrate and use a tool, it relies heavily on the tool's metadata—specifically, a natural language description of its purpose and a strict schema defining the expected input parameters.
Question 31 of 60 · Tool integration fundamentals · Medium
An agent needs to access a secure database via a tool. Where should the API keys and authentication logic reside?
Not quite. Try another option.
Answer: In the application code that executes the tool, hidden from the LLM's context.
For security and architectural separation, credentials should be handled by the application code executing the tool. The LLM only needs to know what the tool does and what arguments to generate, not the underlying authentication secrets.
Question 32 of 60 · Memory systems as short-term context, conversation history · Medium
Which of the following is a direct consequence of an agent relying solely on a rolling window of conversation history for its short-term context?
Not quite. Try another option.
Answer: The agent may 'forget' important instructions given at the beginning of a very long session.
A rolling window memory system works by dropping the oldest messages to fit within the LLM's context limit. Consequently, crucial information from early in the conversation may be lost if it is pushed out of the window.
Question 33 of 60 · Memory systems as short-term context, conversation history · Medium
To manage context limits in a conversational agent, a developer implements a summarization technique. At what stage should this summarization typically occur?
Not quite. Try another option.
Answer: When the conversation history approaches the maximum token limit of the model's context window.
Summarization is a memory management technique used to condense past interactions into a smaller token footprint, and is typically triggered when the conversation history grows near the model's maximum context limit to prevent overflow.
Question 34 of 60 · Task-specific agents as research agents, customer support agents · Medium
A task-specific research agent is designed to compile a report on recent AI advancements. Which combination of tools is most vital for this specific agent?
Not quite. Try another option.
Answer: A web search tool, a document scraper, and a summarization tool.
A research agent's primary task involves finding, extracting, and synthesizing information. Therefore, web search, document scraping, and summarization tools are the most aligned with its specific task requirements.
Question 35 of 60 · Task-specific agents as research agents, customer support agents · Medium
Unlike a general-purpose conversational agent, a customer support agent is highly task-specific. Which design constraint is most appropriate for a customer support agent?
Not quite. Try another option.
Answer: It should be strictly bounded by policy guidelines and restrict off-topic conversations.
Customer support agents are task-specific and represent a business. They must operate within strict guardrails, adhering to company policies and steering users back to the task, avoiding off-topic or hallucinated responses.
Question 36 of 60 · Agent vs workflow comparison · Medium
When designing an automated pipeline for processing payroll, a developer chooses a standard workflow over an autonomous agent. What is the most likely reason for this choice?
Not quite. Try another option.
Answer: Workflows offer highly deterministic, predictable, and strictly sequenced execution.
Standard workflows are deterministic and follow explicit rules, making them ideal for high-risk, rule-bound tasks like payroll where predictability is required and autonomous decision-making is undesirable.
Question 37 of 60 · Agent workflow design patterns · Medium
In the 'Evaluator-Optimizer' agent design pattern, how do the two components interact?
Not quite. Try another option.
Answer: The Optimizer generates an output, and the Evaluator reviews it to provide feedback for the Optimizer to improve it in a loop.
The Evaluator-Optimizer pattern utilizes an iterative refinement loop where one part generates the work (optimizer/generator) and another critiques it (evaluator), passing feedback back to refine the output until it meets a certain standard.
Question 38 of 60 · Agent workflow design patterns · Medium
An enterprise employs a 'Router' design pattern for its AI system. A user asks for technical troubleshooting. What is the primary function of the routing agent?
Not quite. Try another option.
Answer: To classify the query and forward it to a specialized technical support sub-agent.
The Router pattern involves an initial agent (or node) whose sole responsibility is to classify the intent of the incoming query and direct it to the appropriate downstream specialist agent or workflow.
Question 39 of 60 · Agent error management · Medium
An agent attempts to call an external API, but the API returns a '429 Too Many Requests' error. What is the most robust error management strategy the agent's architecture should employ?
Not quite. Try another option.
Answer: Implement an automatic retry mechanism with exponential backoff and feed the error state back to the agent.
Robust agent error management involves handling temporary failures gracefully, often using retry logic (like exponential backoff) and providing the agent with context about the failure so it can decide whether to wait, try a different tool, or inform the user.
Question 40 of 60 · Agent error management · Medium
To mitigate the risk of an agent repeatedly failing in a continuous loop when a tool is broken, which mechanism is best introduced into the perception-action loop?
Not quite. Try another option.
Answer: A maximum iteration limit (Max Steps) that halts the agent after a set number of actions.
Agents can sometimes get stuck in an infinite loop if an action repeatedly fails or produces unexpected results. Implementing a 'Max Steps' limit forces the loop to terminate, returning an error to the user rather than consuming infinite resources.
Question 41 of 60 · Agent characteristics such as autonomy, reactivity, goal-oriented behaviour · Hard
In an algorithmic trading agent, a sudden market crash triggers a hard-coded stop-loss protocol, overriding the agent's long-term portfolio optimization objective. Which conflict in agent characteristics does this scenario most accurately illustrate, and how is it typically resolved in architecture?
Not quite. Try another option.
Answer: Reactivity superseding goal-oriented behavior, resolved via subsumption architecture.
The sudden crash requires an immediate response (reactivity), which interrupts the long-term plan (goal-oriented behavior). A subsumption architecture resolves this by allowing lower-level reflexive behaviors to temporarily override higher-level cognitive planning.
Question 42 of 60 · AI Agent node architecture · Hard
When designing an AI Agent node architecture to process high-throughput, asynchronous events, which component combination best prevents blocking the central LLM orchestration node while maintaining state consistency?
Not quite. Try another option.
Answer: A message broker queue coupled with an event-sourced state machine node.
Asynchronous event handling requires decoupling the slow LLM processing from rapid event ingestion. A message broker manages the throughput, while an event-sourced state machine ensures the agent's internal state remains consistent without blocking.
Question 43 of 60 · Perception-action loops · Hard
An agent operating in a partially observable environment enters an infinite perception-action loop because its sensory input does not reflect the changes caused by its actions. Which of the following introduces the most robust architectural fix for this specific failure mode?
Not quite. Try another option.
Answer: Implementing an episodic memory check that penalizes cyclical state-action pairs using a decay factor.
Infinite loops in perception-action cycles often occur when the environment state appears unchanged. An episodic memory check allows the agent to recognize cyclical behavior (repeating the same action in what appears to be the same state) and break the loop by penalizing or altering the action.
Question 44 of 60 · Function calling · Hard
An LLM-based agent uses function calling to interact with a database. It repeatedly hallucinates required parameters that do not exist in the JSON Schema provided in the system prompt. What is the most effective programmatic intervention to correct this at runtime without retraining the model?
Not quite. Try another option.
Answer: Catching the schema validation error, returning the exact error string as a simulated tool observation, and forcing the LLM to regenerate the call.
The standard approach to handling hallucinated function arguments is a self-correction loop: the system catches the schema validation error and feeds it back to the agent as a tool response, allowing the LLM's internal reasoning to fix the payload.
Question 45 of 60 · Tool integration fundamentals · Hard
When integrating a stateful external tool (such as a headless browser) with a stateless LLM agent, a critical challenge is maintaining the session context across multiple tool invocations. Which design pattern effectively bridges this gap while minimizing the context window overhead?
Not quite. Try another option.
Answer: Storing the tool's session state externally and only passing a specialized, condensed summary or pointer (e.g., an element bounding box map) back to the agent.
Passing massive state (like a full DOM) exhausts the context window. The best pattern is maintaining the heavy state in the tool's execution environment and returning only an abstraction or condensed representation to the LLM.
Question 46 of 60 · Memory systems as short-term context, conversation history · Hard
In an agentic system utilizing a sliding window for short-term context, crucial initial instructions are being pushed out of the context window during long conversations. Which architectural pattern best resolves this while maintaining strict context size limits?
Not quite. Try another option.
Answer: A dual-memory architecture combining a static system prompt pinned to the top of the context with a dynamic sliding window for recent conversation history.
Pinning crucial instructions (static memory) while using a sliding window for recent turns ensures that fundamental rules are never forgotten, even when the dialogue history exceeds the context window limits.
Question 47 of 60 · Agent vs workflow comparison · Hard
A financial institution needs a system to process loan applications. The process involves strict regulatory compliance checks, deterministic math calculations, and fixed approval routing. Why is a standard workflow engine vastly superior to an autonomous AI agent for this specific use case?
Not quite. Try another option.
Answer: Workflows guarantee deterministic execution paths and absolute auditability, whereas autonomous agents introduce probabilistic routing and non-deterministic reasoning that pose regulatory risks.
Standard workflows are deterministic, meaning they execute exactly as programmed, which is critical for regulatory compliance and auditability. Agents use probabilistic models to make routing decisions, which introduces unacceptable risk in strictly regulated, linear processes.
Question 48 of 60 · Agent workflow design patterns · Hard
The ReAct (Reasoning and Acting) design pattern is highly effective but can suffer from cascading failures if a single tool returns an ambiguous error. How does the Plan-and-Solve (Plan-and-Execute) pattern structurally mitigate this specific vulnerability?
Not quite. Try another option.
Answer: By decoupling the high-level task decomposition from the low-level execution, allowing the agent to evaluate the entire sequence of steps before committing to individual tool calls.
ReAct interleaves reasoning and acting step-by-step, meaning an error mid-stream derails the whole thought process. Plan-and-Solve separates planning from execution, creating a complete roadmap first. If a step fails, the executor can refer back to the overarching plan to replan or contextualize the failure.
Question 49 of 60 · Agent error management · Hard
An agent encounters an API rate limit (HTTP 429) during a multi-step data extraction process. To prevent systemic failure and context bloat, what is the most optimal error management strategy implemented at the agent orchestration layer?
Not quite. Try another option.
Answer: Intercepting the 429 error at the tool execution layer, implementing an exponential backoff retry mechanism automatically, and only returning to the LLM if the maximum retries fail.
Exposing transient network errors (like rate limits) to the LLM wastes tokens, adds latency, and clutters the reasoning context. The optimal approach abstracts this away by handling retries and exponential backoff at the execution/tool layer, only bothering the LLM if it's an unrecoverable failure.
Question 50 of 60 · Agent types as assistive, augmented · Hard
An augmented agent is deployed alongside a human software engineer. Unlike a purely assistive agent (e.g., a standard chat copilot), the augmented agent autonomously monitors background CI/CD pipelines, identifies build failures, and drafts pull requests to fix them, pausing only for human approval. What defines the critical boundary between assistive and augmented in this scenario?
Not quite. Try another option.
Answer: The augmented agent possesses the autonomy to initiate tasks and modify the environment asynchronously, whereas the assistive agent operates strictly via synchronous user prompts.
Assistive agents typically wait for user input (synchronous, prompt-response). Augmented agents enhance human capability by operating proactively and asynchronously in the background, initiating tasks and presenting solutions for review.
Question 51 of 60 · Task-specific agents as research agents, customer support agents · Hard
A task-specific research agent is designed to synthesize academic papers. When confronted with two highly cited papers presenting contradictory empirical results, what mechanism ensures the agent avoids generating a confidently incorrect, one-sided summary (hallucination bias)?
Not quite. Try another option.
Answer: Implementing a multi-perspective synthesis prompt that forces the agent to extract and contrast the distinct methodologies and boundary conditions of both sources explicitly.
Resolving contradictory research requires nuanced synthesis, not arbitrary filtering or mathematical averaging. Forcing the agent to explicitly contrast methodologies ensures it acknowledges the discrepancy and provides a balanced, comprehensive review, mitigating bias.
Question 52 of 60 · Memory systems as short-term context, conversation history · Hard
In a conversational memory system, as the dialogue history grows, relying solely on exact token truncation leads to a loss of core entity context. Which strategy leverages vector databases to provide the LLM with relevant historical context without violating short-term token limits?
Not quite. Try another option.
Answer: Using Retrieval-Augmented Generation (RAG) to dynamically fetch historically similar conversation turns based on the semantic embedding of the current user query.
When context limits are reached, semantic search (RAG) over past conversation turns allows the system to pull only the historically relevant exchanges into the current short-term context window, preserving important details without bloat.
Question 53 of 60 · Agent fundamentals · Hard
The concept of 'bounded rationality' in intelligent agents suggests that an agent's decision-making is limited by computational power, time, and available information. In the context of LLM agents, which of the following is a direct manifestation of bounded rationality?
Not quite. Try another option.
Answer: The agent failing to find the optimal path in a massive state space due to context window limitations and token generation constraints.
Bounded rationality means decisions are made within the limits of the agent's cognitive and systemic constraints. For an LLM agent, these constraints manifest physically as context window limits, token generation caps, and finite reasoning capabilities.
Question 54 of 60 · Function calling · Hard
Consider an LLM instructed to call a function transfer_funds(source, destination, amount). The user says, 'Send $50 to Alice.' The LLM triggers the function but leaves the source parameter null because the user didn't specify it. What is the most robust architectural approach to handle this missing slot?
Not quite. Try another option.
Answer: Implementing a middleware validation layer that intercepts the null parameter and programmatically returns a prompt instructing the LLM to ask the user for the missing source account.
Missing critical arguments (slot filling) requires clarification. The best approach is a validation layer that detects the missing required parameter and shifts the agent back into a conversational state to explicitly prompt the user for the missing data.
Question 55 of 60 · AI Agent node architecture · Hard
In a graph-based AI Agent node architecture, what is the primary computational advantage of structuring the agent's reasoning process as a Directed Cyclic Graph (DCG) rather than a linear chain?
Not quite. Try another option.
Answer: It enables state-dependent, conditional looping, allowing the agent to repeatedly evaluate and refine its output (e.g., self-correction) until a specific termination criteria is met.
Cyclic graphs allow edges to return to previous nodes. This is crucial for agents because it permits loops, which represent continuous perception-action cycles, self-reflection, and iterative refinement until a goal is achieved. Linear chains cannot loop.
Question 56 of 60 · Tool integration fundamentals · Hard
When integrating arbitrary code execution tools (e.g., Python REPL) into an agent, security is a paramount concern. Which of the following isolation strategies provides the strongest security guarantee while still allowing the agent to perform data analysis tasks?
Not quite. Try another option.
Answer: Executing the agent-generated code inside an ephemeral, network-isolated Docker container (sandbox) with strictly mounted, read-only data volumes.
LLMs can generate unpredictable or malicious code. Sandboxing (using ephemeral, isolated containers like Docker) is the only robust way to prevent the code from affecting the host machine or accessing the network, while still allowing complex execution.
Question 57 of 60 · Agent workflow design patterns · Hard
In a multi-agent workflow utilizing the 'Supervisor' design pattern, what is the specific role of the Supervisor node when resolving a complex, multi-domain user query?
Not quite. Try another option.
Answer: It decomposes the query, routes sub-tasks to specialized worker agents, evaluates their returned outputs, and synthesizes the final response.
The Supervisor pattern involves a central orchestrator (the supervisor) that does not solve tasks directly, but instead breaks down the problem, delegates to specialized agents (e.g., a math agent, a search agent), and aggregates their results to solve the overall query.
Question 58 of 60 · Task-specific agents as research agents, customer support agents · Hard
A customer support agent is handling a return request when the user suddenly asks, 'By the way, do you sell hiking boots?' and then says, 'Anyway, back to my return.' How should the agent's architecture handle this sudden intent switch without losing the state of the return process?
Not quite. Try another option.
Answer: By utilizing a hierarchical state machine (or sub-graphs) where the product inquiry is treated as a nested, temporary execution branch that resolves before popping back to the retained return context.
Context switching is a major challenge in support agents. Handling it requires maintaining the state of the primary task (the return) while spinning off a temporary task (the inquiry). Hierarchical state machines manage this gracefully by pushing and popping contexts.
Question 59 of 60 · Agent vs workflow comparison · Hard
You are tasked with building a system to perform Exploratory Data Analysis (EDA) on newly acquired datasets where the schema, data types, and required statistical tests are unknown beforehand. Why is an autonomous agent architecture more suitable than a traditional workflow architecture for this scenario?
Not quite. Try another option.
Answer: Agents can dynamically generate and execute code, observe the outputs, and iteratively decide on the next analytical steps, whereas workflows require predefined paths for every possible data variation.
EDA is open-ended and requires dynamic decision-making based on intermediate results. Agents handle this dynamic routing and iterative observation natively, while workflows require hard-coded logic for every branch, making them unsuitable for unknown data structures.
Question 60 of 60 · Perception-action loops · Hard
In a heavily delayed perception-action loop, an agent executes an action (e.g., launching an advertising campaign) but only receives environmental feedback (e.g., conversion metrics) hours later. Which mechanism is essential to prevent the agent from thrashing (rapidly executing contradictory actions) during the delay period?
Not quite. Try another option.
Answer: Implementing an asynchronous observation buffer coupled with a 'wait-and-monitor' internal state that blocks further related actions until the expected feedback arrives.
Delayed feedback environments cause agents to assume their actions failed or had no effect, leading to thrashing. Implementing a state that explicitly waits for and monitors asynchronous feedback prevents the agent from making premature decisions based on incomplete environmental data.
That's unit 5
Answer a few questions and your score shows up here.
Nearly through. Did unit 5 of INT347 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 5 of INT347 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.