Unit 5 - Practice Quiz

INT347 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is an intelligent agent in the context of software bots?

Agent fundamentals Easy
A. An autonomous entity that perceives its environment and takes actions to achieve specific goals
B. A physical hardware component of a computer's motherboard
C. A database used to store large amounts of unstructured text
D. A static, unchanging script that cannot make decisions

2 Through what mechanism does an intelligent agent typically interact with its environment?

Agent fundamentals Easy
A. Through static database queries only
B. Through sensors to perceive and actuators (or APIs) to act
C. By designing new hardware interfaces
D. By randomly compiling new source code

3 What is the primary role of an 'assistive' AI agent?

Agent types as assistive, augmented Easy
A. To completely replace human workers in manufacturing plants
B. To function entirely offline without any human interaction
C. To help a human user perform tasks by providing support or information
D. To shut down computer networks when idle

4 Augmented agents are primarily designed to:

Agent types as assistive, augmented Easy
A. Perform tasks with zero human oversight forever
B. Decrease human productivity by creating bottlenecks
C. Format the user's hard drive automatically
D. Enhance human capabilities and improve decision-making

5 Which characteristic describes an agent's ability to operate and make decisions without direct human intervention?

Agent characteristics such as autonomy, reactivity, goal-oriented behaviour Easy
A. Redundancy
B. Transparency
C. Reactivity
D. Autonomy

6 When an agent responds in a timely manner to changes occurring in its environment, it is demonstrating:

Agent characteristics such as autonomy, reactivity, goal-oriented behaviour Easy
A. Rigidity
B. Latency
C. Reactivity
D. Stubbornness

7 An agent that continuously takes actions calculated to move it closer to a specific desired outcome is exhibiting:

Agent characteristics such as autonomy, reactivity, goal-oriented behaviour Easy
A. Goal-oriented behaviour
B. Reactive failure
C. Idle processing
D. Random execution

8 In an AI Agent node architecture, what typically acts as the 'brain' that processes inputs and decides on the next action?

AI Agent node architecture Easy
A. The Large Language Model (LLM) or core decision engine
B. The graphical user interface
C. The long-term database storage
D. The external network cable

9 What is the first step in an agent's perception-action loop?

Perception-action loops Easy
A. Formatting its own memory
B. Executing a final action
C. Shutting down the operating system
D. Perceiving data or observing the environment

10 In the perception-action loop, after an agent processes perceived information and decides what to do, what is the final step?

Perception-action loops Easy
A. Going into a sleep state
B. Asking the user for a new password
C. Deleting its short-term memory
D. Taking an action in the environment

11 In the context of AI agents, what does 'function calling' allow the agent to do?

Function calling Easy
A. Write and compile its own operating system from scratch
B. Physically click buttons on a user's mouse
C. Call a human operator on a physical telephone
D. Request the execution of specific predefined programming functions or APIs

12 Why do intelligent agents integrate with external tools (like calculators, web browsers, or databases)?

Tool integration fundamentals Easy
A. To make the user interface more colorful
B. To increase their internal file size on the hard drive
C. To slow down their processing speed intentionally
D. To expand their capabilities beyond their base training data

13 What is the primary purpose of maintaining 'conversation history' in an agent's memory?

Memory systems as short-term context, conversation history Easy
A. To remember what was discussed recently and maintain context during an interaction
B. To track the physical temperature of the computer hardware
C. To automatically delete old files on the host machine
D. To permanently store a copy of the entire internet

14 Short-term context in an agent's memory system is primarily used to:

Memory systems as short-term context, conversation history Easy
A. Archive system logs from ten years ago
B. Store the agent's fundamental source code
C. Keep track of the current ongoing task or conversation session
D. Generate random encryption passwords

15 What is the primary function of a customer support agent?

Task-specific agents as research agents, customer support agents Easy
A. To design physical hardware microchips
B. To compile and deploy software applications
C. To answer user queries, troubleshoot issues, and provide assistance
D. To write original scientific research papers

16 A research agent is specifically optimized to:

Task-specific agents as research agents, customer support agents Easy
A. Gather, analyze, and summarize information on specific topics
B. Fix broken household appliances
C. Drive physical autonomous vehicles
D. Process customer refunds and billing

17 What is a key difference between an autonomous agent and a traditional workflow?

Agent vs workflow comparison Easy
A. Agents cannot use external tools, but workflows can
B. Workflows are highly unpredictable, whereas agents follow rigid steps
C. Agents dynamically decide their path based on goals, whereas workflows follow a strict, predefined set of rules
D. Workflows are capable of independent thought, whereas agents are not

18 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?

Agent workflow design patterns Easy
A. Routing
B. Endless looping
C. Code compilation
D. Garbage collection

19 If an agent attempts to use a web search tool and the tool fails, what is a standard error management strategy?

Agent error management Easy
A. Deleting the agent's core source code immediately
B. Logging the error, informing the user, or retrying with a fallback method
C. Intentionally crashing the entire operating system
D. Sending a physical letter to the tool's creator

20 'Graceful degradation' in agent error management refers to:

Agent error management Easy
A. The agent purposefully deleting its own memory when confused
B. The hardware slowly breaking down over time due to wear and tear
C. The agent continuing to operate with reduced functionality rather than completely crashing
D. The agent insulting the user when an error occurs

21 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?

Agent fundamentals Medium
A. It operates continuously and interacts with its environment to achieve a specific objective.
B. It uses a static threshold value to determine if a spike has occurred.
C. It stores all network logs in a centralized database without processing them.
D. It requires manual execution every time a network spike occurs.

22 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?

Agent types as assistive, augmented Medium
A. Assistive; Augmented
B. Augmented; Assistive
C. Reactive; Goal-oriented
D. Goal-oriented; Reactive

23 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?

Agent characteristics such as autonomy, reactivity, goal-oriented behaviour Medium
A. Reactivity and strict workflow adherence
B. Reactivity and goal-oriented behaviour
C. Goal-oriented behaviour and manual execution
D. Autonomy and static planning

24 Which of the following scenarios best illustrates the 'autonomy' characteristic of an intelligent agent?

Agent characteristics such as autonomy, reactivity, goal-oriented behaviour Medium
A. A user manually triggering an API call via a graphical interface.
B. A chatbot resolving a customer complaint by independently generating a refund sequence without human approval.
C. A script running at 5 PM daily to back up a database.
D. An algorithm sorting a list of numbers based on predefined parameters.

25 In an AI Agent node architecture, what is the primary role of the 'Reasoning Engine' or 'Controller' node?

AI Agent node architecture Medium
A. To store long-term vector embeddings of past conversations.
B. To translate the environment's raw data into human-readable text.
C. To execute external API calls directly to third-party services.
D. To process inputs, determine the next best action, and orchestrate the agent's tools.

26 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?

Perception-action loops Medium
A. Waiting for the next email to arrive.
B. Updating the internal spam-filter model.
C. Determining that the email contains malicious links.
D. Moving the email to the junk folder.

27 Why is the concept of a 'loop' critical in agent design rather than a simple linear execution path?

Perception-action loops Medium
A. Because LLMs can only process repeated recursive prompts.
B. Because agents must continuously re-evaluate the environment to handle dynamic changes after taking an action.
C. Because loops prevent the agent from consuming too much memory.
D. Because loops ensure that an agent never terminates its execution process.

28 When designing an LLM-based agent that utilizes function calling to check weather data, what exactly does the LLM generate to trigger the function?

Function calling Medium
A. It generates a structured JSON object containing the function name and the required arguments.
B. It outputs a natural language sentence asking the user to run the function.
C. It generates a direct HTTP GET request to the weather API.
D. It executes binary code on the host machine to invoke the tool.

29 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?

Function calling Medium
A. It should crash due to a missing tool mapping.
B. It should hallucinate a stock ticker for 'Tokyo Weather' and call get_stock_price.
C. It should call get_stock_price with null arguments.
D. It should recognize no relevant tools are available and respond using its base knowledge or state its limitation.

30 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?

Tool integration fundamentals Medium
A. The precise execution time the tool will take.
B. A clear description of what the tool does and the exact schema of its inputs.
C. The source code of the calculator tool.
D. The memory address where the calculator tool is stored.

31 An agent needs to access a secure database via a tool. Where should the API keys and authentication logic reside?

Tool integration fundamentals Medium
A. Inside the user's prompt so the agent learns it dynamically.
B. In the short-term memory system of the agent.
C. Inside the system prompt of the LLM so it can pass the key in natural language.
D. In the application code that executes the tool, hidden from the LLM's context.

32 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?

Memory systems as short-term context, conversation history Medium
A. The agent may 'forget' important instructions given at the beginning of a very long session.
B. The agent will experience decreased latency as the conversation grows infinitely.
C. The agent will automatically store all inputs into a vector database.
D. The agent will perfectly remember the user's first prompt from three years ago.

33 To manage context limits in a conversational agent, a developer implements a summarization technique. At what stage should this summarization typically occur?

Memory systems as short-term context, conversation history Medium
A. When the conversation history approaches the maximum token limit of the model's context window.
B. Before every single user message is sent to the model.
C. After the session has been permanently deleted.
D. Only when the agent makes an external API call.

34 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?

Task-specific agents as research agents, customer support agents Medium
A. An image generation tool and a text-to-speech engine.
B. A database write-access tool and a refund processing API.
C. A web search tool, a document scraper, and a summarization tool.
D. A weather API and a calendar scheduling tool.

35 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?

Task-specific agents as research agents, customer support agents Medium
A. It should prioritize debating the user to prove the company's policies are correct.
B. It should have unrestricted access to execute code on the user's machine.
C. It should generate creative, fictional stories if the user's issue cannot be resolved.
D. It should be strictly bounded by policy guidelines and restrict off-topic conversations.

36 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?

Agent vs workflow comparison Medium
A. Workflows offer highly deterministic, predictable, and strictly sequenced execution.
B. Payroll processes require dynamic problem solving and unstructured data interpretation.
C. Workflows can autonomously decide to give employees random bonuses based on mood.
D. Agents are better at handling rigid, rule-based numeric calculations without LLMs.

37 In the 'Evaluator-Optimizer' agent design pattern, how do the two components interact?

Agent workflow design patterns Medium
A. The Evaluator routes the user to the Optimizer only if the user is a premium subscriber.
B. The Optimizer generates an output, and the Evaluator reviews it to provide feedback for the Optimizer to improve it in a loop.
C. They run entirely independently and return two separate answers to the user simultaneously.
D. The Evaluator permanently deletes the Optimizer's code if an error is detected.

38 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?

Agent workflow design patterns Medium
A. To evaluate the user's grammar before answering the question.
B. To classify the query and forward it to a specialized technical support sub-agent.
C. To generate an image based on the text of the user's query.
D. To solve the technical issue directly using its own generic knowledge.

39 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?

Agent error management Medium
A. Implement an automatic retry mechanism with exponential backoff and feed the error state back to the agent.
B. Immediately crash the application and display the raw JSON error to the user.
C. Delete the tool from the agent's registry permanently.
D. Ignore the error and let the agent hallucinate the API's response.

40 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?

Agent error management Medium
A. Allowing the agent to modify the source code of the broken tool.
B. A maximum iteration limit (Max Steps) that halts the agent after a set number of actions.
C. Removing the perception phase so the agent stops seeing the error.
D. Increasing the LLM's temperature parameter to 1.0 to encourage creativity.

41 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?

Agent characteristics such as autonomy, reactivity, goal-oriented behaviour Hard
A. Goal-oriented behavior nullifying autonomy, resolved via utility-based functions.
B. Reactivity superseding goal-oriented behavior, resolved via subsumption architecture.
C. Autonomy overriding reactivity, resolved via a belief-desire-intention (BDI) framework.
D. Proactiveness conflicting with goal-oriented behavior, resolved via finite state machines.

42 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?

AI Agent node architecture Hard
A. A synchronous REST API directly querying the LLM node.
B. A message broker queue coupled with an event-sourced state machine node.
C. A stateless routing node that bypasses memory entirely.
D. A single-threaded polling mechanism within the LLM's primary execution loop.

43 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?

Perception-action loops Hard
A. Increasing the frequency of the perception polling cycle.
B. Replacing the LLM with a deterministic rule-based engine.
C. Implementing an episodic memory check that penalizes cyclical state-action pairs using a decay factor.
D. Reducing the agent's action space to only non-state-mutating actions.

44 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?

Function calling Hard
A. Catching the schema validation error, returning the exact error string as a simulated tool observation, and forcing the LLM to regenerate the call.
B. Converting the database to accept unstructured natural language queries instead of structured function calls.
C. Switching the LLM's sampling temperature to a higher value to encourage creative parameter guessing.
D. Truncating the hallucinated parameters from the payload and executing the function anyway.

45 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?

Tool integration fundamentals Hard
A. 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.
B. Using a standalone memory node that bypasses the LLM and interacts directly with the user.
C. Forcing the agent to re-authenticate and re-navigate from the homepage for every single action.
D. Serializing the entire browser session state into JSON and appending it to the agent's prompt on every turn.

46 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?

Memory systems as short-term context, conversation history Hard
A. Converting all conversation history into semantic vector embeddings and discarding the raw text entirely.
B. Increasing the maximum token limit of the underlying LLM to accommodate the entire conversation indefinitely.
C. 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.
D. Aggressively compressing every user input using a secondary, smaller LLM before adding it to the context window.

47 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?

Agent vs workflow comparison Hard
A. Autonomous agents are incapable of performing math calculations, making them useless for financial applications.
B. Workflow engines can utilize function calling, whereas autonomous agents rely entirely on zero-shot natural language generation.
C. Agents require constant human-in-the-loop oversight, whereas workflows dynamically adapt to edge cases without human intervention.
D. Workflows guarantee deterministic execution paths and absolute auditability, whereas autonomous agents introduce probabilistic routing and non-deterministic reasoning that pose regulatory risks.

48 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?

Agent workflow design patterns Hard
A. By executing all tools simultaneously in parallel to ensure at least one succeeds, regardless of errors.
B. By completely eliminating the reasoning phase and relying strictly on predetermined heuristic algorithms.
C. 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.
D. By utilizing a recursive loop that infinitely retries the same action until the ambiguous error resolves itself.

49 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?

Agent error management Hard
A. Terminating the entire agent run immediately to prevent any further API violations.
B. 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.
C. Prompting the user to manually bypass the rate limit by inputting their own API key.
D. Immediately returning the raw 429 error stack trace to the LLM so it can hallucinate a different data source.

50 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?

Agent types as assistive, augmented Hard
A. The augmented agent possesses the autonomy to initiate tasks and modify the environment asynchronously, whereas the assistive agent operates strictly via synchronous user prompts.
B. The augmented agent is restricted to read-only access, while the assistive agent has full write access.
C. The augmented agent operates solely in the cloud, while the assistive agent operates locally on the user's machine.
D. The augmented agent does not use an LLM, whereas the assistive agent relies entirely on generative AI.

51 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)?

Task-specific agents as research agents, customer support agents Hard
A. Implementing a multi-perspective synthesis prompt that forces the agent to extract and contrast the distinct methodologies and boundary conditions of both sources explicitly.
B. Instructing the agent to calculate the average of the statistical values presented in both papers to create a consensus finding.
C. Lowering the LLM's temperature to 0.0, which guarantees it will automatically select the objectively correct scientific fact.
D. Using a strict vector-similarity search that prioritizes the paper published most recently, discarding the older one.

52 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?

Memory systems as short-term context, conversation history Hard
A. Using Retrieval-Augmented Generation (RAG) to dynamically fetch historically similar conversation turns based on the semantic embedding of the current user query.
B. Replacing the LLM's attention mechanism with a recurrent neural network (RNN) layer to naturally forget older tokens.
C. Concatenating all past user inputs into a single long string and compressing it using standard GZIP before passing it to the LLM.
D. Storing the conversation history in a relational database and randomly sampling five previous messages to append to the prompt.

53 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?

Agent fundamentals Hard
A. The agent failing to find the optimal path in a massive state space due to context window limitations and token generation constraints.
B. The agent refusing to execute a command because it violates its alignment safety guidelines.
C. The agent achieving artificial general intelligence (AGI) by circumventing hardware limitations via recursive self-improvement.
D. The agent inherently understanding the complete topological structure of the internet through foundational pre-training.

54 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?

Function calling Hard
A. 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.
B. Forcing the database to accept null values for source accounts and handling the error in the financial ledger.
C. Setting a default source account in the function definition so the transaction always succeeds without bothering the user.
D. Disabling function calling entirely and relying on regular expressions to parse intent.

55 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?

AI Agent node architecture Hard
A. It allows the agent to bypass the perception-action loop entirely by executing all nodes simultaneously.
B. It ensures that the LLM is only invoked exactly once, drastically reducing API costs and latency.
C. It completely eliminates the need for maintaining an internal state dictionary, as graphs are inherently stateless.
D. 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.

56 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?

Tool integration fundamentals Hard
A. Running the code directly on the host machine but using an LLM prompt to strictly forbid the agent from writing malicious scripts.
B. Executing the agent-generated code inside an ephemeral, network-isolated Docker container (sandbox) with strictly mounted, read-only data volumes.
C. Requiring the agent to write code in a proprietary, Turing-incomplete language created specifically for the platform.
D. Using a standard regular expression filter to block the import os and import sys statements from the generated Python code.

57 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?

Agent workflow design patterns Hard
A. It serves as the long-term memory database where all worker agents store their vector embeddings.
B. It decomposes the query, routes sub-tasks to specialized worker agents, evaluates their returned outputs, and synthesizes the final response.
C. It acts merely as a load balancer, randomly assigning incoming queries to any available agent to optimize throughput.
D. It intercepts the user query and attempts to answer it using its own zero-shot capabilities, only calling worker agents if it experiences a critical failure.

58 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?

Task-specific agents as research agents, customer support agents Hard
A. By appending a strict system prompt instructing the agent to actively ignore any user input that does not relate directly to returns.
B. 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.
C. By opening a completely new websocket connection for the new intent, effectively forcing the user to converse with two separate agents simultaneously.
D. By discarding the return process entirely, answering the boot question, and forcing the user to restart the return from scratch.

59 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?

Agent vs workflow comparison Hard
A. 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.
B. Agents inherently guarantee mathematically flawless analysis, while workflows are prone to human programming errors.
C. Agents process data infinitely faster than workflows because they do not rely on standard computational resources.
D. Workflows cannot interact with databases, whereas agents possess native SQL query execution capabilities built into their neural networks.

60 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?

Perception-action loops Hard
A. Implementing an asynchronous observation buffer coupled with a 'wait-and-monitor' internal state that blocks further related actions until the expected feedback arrives.
B. Switching the agent's architecture from a neural network to a Markov Decision Process that ignores historical states.
C. Forcing the agent to execute a continuous stream of random actions until the feedback successfully registers.
D. Hardcoding the LLM's system prompt to assume the action was successful immediately upon execution.