AIF-C01 practice question: AWS generative AI services (2 of 5)
Fundamentals of Generative AI A free question from our original AIF-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A start-up's developers want to build an AI agent in a few lines of Python.
The foundation model should decide the plan and which tools to call, rather than follow steps the team hand-codes, and the agent must use tools served over the Model Context Protocol (MCP).
Which option fits BEST?
Choose one answer.
AA. AWS Step Functions, with each agent step coded as an explicit state
BB. Amazon Bedrock AgentCore, a managed platform that hosts and operates agent code
CC. Strands Agents, an open-source SDK where the model picks tools, with MCP support
DD. Amazon Bedrock Flows, a visual builder that wires prompts and models into fixed steps
Show the answer and explanation
Answer: C
A. Wrong: Step Functions orchestrates workflows that the developer defines state by state. That is the hand-coded control the team wants to avoid, although the service suits fixed pipelines well.
D. Wrong: Flows lets teams design a fixed sequence of prompts, models and conditions. The team wants the model to plan its own steps, so a fixed flow misses that requirement.
Explanation
Strands Agents is an open-source SDK, first released by AWS, that puts the foundation model at the center of the agent. It supports MCP natively and works with models on Amazon Bedrock and other providers. AgentCore hosts and operates agents built with frameworks such as Strands, but it does not replace the SDK.
Want more on AWS generative AI services? The 5 full-length practice sets have 18 more AWS generative AI services questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →