AWS Certified AI Practitioner (AIF-C01) — Question 163
Which technique breaks a complex task into smaller subtasks that are sent sequentially to a large language model (LLM)?
Answer options
- A. One-shot prompting
- B. Prompt chaining
- C. Tree of thoughts
- D. Retrieval Augmented Generation (RAG)
Correct answer: B
Explanation
Prompt chaining is the correct answer because it specifically refers to the technique of breaking down a complex task into smaller subtasks that are handled in sequence by the LLM. One-shot prompting does not involve breaking tasks into subtasks, while Tree of thoughts and Retrieval Augmented Generation (RAG) are different methodologies that do not focus on sequential processing of subtasks.