Course menuAIF-C01

Exams / AIF-C01 / AWS generative AI services / Question 2

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.

Last verified against current AWS documentation ·How we write our questions

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.

  1. A. AWS Step Functions, with each agent step coded as an explicit state
  2. B. Amazon Bedrock AgentCore, a managed platform that hosts and operates agent code
  3. C. Strands Agents, an open-source SDK where the model picks tools, with MCP support
  4. D. 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.
  • B. Wrong: AgentCore is a managed platform for deploying and operating agents built with any framework. It does not supply the agent SDK, so developers still need a framework to write the agent logic. Learn more: Amazon Bedrock AgentCore (AWS Prescriptive Guidance) (opens in a new tab)
  • C. Right: Correct. Strands Agents is an open-source SDK, first released by AWS. It takes a model-first approach, with the foundation model at the center of the agent's reasoning and tool use, and it supports MCP natively. Learn more: Strands Agents (AWS Prescriptive Guidance) (opens in a new tab)
  • 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.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

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