nerdexam
Amazon

AIF-C01 · Question #183

Which technique breaks a complex task into smaller subtasks that are sent sequentially to a large language model (LLM)?

The correct answer is B. Prompt chaining. Prompt chaining is a technique where a complex task is broken into smaller subtasks, and the outputs of one subtask are used as inputs for the next, sequentially guiding a large language model (LLM) to solve the problem step-by-step. This method is particularly useful for…

Submitted by valeria.br· Mar 30, 2026Foundational Models and Generative AI

Question

Which technique breaks a complex task into smaller subtasks that are sent sequentially to a large language model (LLM)?

Options

  • AOne-shot prompting
  • BPrompt chaining
  • CTree of thoughts
  • DRetrieval Augmented Generation (RAG)

Explanation

Prompt chaining is a technique where a complex task is broken into smaller subtasks, and the outputs of one subtask are used as inputs for the next, sequentially guiding a large language model (LLM) to solve the problem step-by-step. This method is particularly useful for complex tasks that require multiple reasoning steps. Prompt chaining involves breaking a complex task into smaller subtasks and sequentially passing the output of one subtask as input to the next, enabling large language models to handle intricate problems by solving them step-by-step.

Topics

#LLM prompting#Prompt chaining#AI task decomposition
Full AIF-C01 Practice