Skip to content
BytePatterns

AIF-C01 · Domain 2: Fundamentals of GenAI · 24% of the exam

Task 2.3: Describe AWS infrastructure and technologies for building GenAI applications.

Amazon Bedrock, SageMaker AI and JumpStart, Amazon Bedrock AgentCore and the other AWS building blocks for generative AI, why a managed service lowers the barrier, and the cost tradeoffs between on-demand, batch and provisioned capacity.

Study it

  • Building on AWS: Bedrock, SageMaker AI, JumpStart, AgentCore, Strands Agents, Quick and Kiro

    Lesson coming

  • Cost tradeoffs: on-demand, batch, provisioned throughput and custom models

    Lesson coming

Sample questions

Try each one before opening the answer. Every option is explained, with the AWS documentation page that proves it.

Question 1 · choose 1

A data science team wants to take a publicly available, open-source foundation model, fine-tune it, and deploy it to an endpoint in its own account where it chooses the instance type. Which AWS service or feature fits best?

  1. AAmazon Quick
  2. BKiro
  3. CAmazon SageMaker JumpStart
  4. DAmazon Comprehend
Show the answer and why
  • AAmazon Quick

    Incorrect

    Amazon Quick is an AI-powered service for business users: chat, research, automation and analytics over connected data. It does not host or fine-tune models.

  • BKiro

    Incorrect

    Kiro is an agentic coding service that turns prompts into specs, code and tests. It is not a model hosting platform.

  • CAmazon SageMaker JumpStart

    Correct

    JumpStart provides pretrained, open-source models that you can fine-tune, evaluate and deploy, and SageMaker AI real-time endpoints run on the instance type you choose.

  • DAmazon Comprehend

    Incorrect

    Amazon Comprehend is a managed NLP service with pre-trained models for entities, key phrases and sentiment. It does not deploy open-source foundation models.

Open model, own account, control over the instance: that is the SageMaker JumpStart path. Amazon Bedrock is the choice when you want no infrastructure to manage.

Question 2 · choose 1

A team has built an AI agent with the open-source Strands Agents SDK. It now needs a managed, serverless place to run the agent in production, with isolated user sessions, long-term memory that persists across sessions, and a trace of every step the agent takes. Which AWS service fits best?

  1. AAmazon Bedrock Knowledge Bases
  2. BAmazon SageMaker JumpStart
  3. CAmazon Lex
  4. DAmazon Bedrock AgentCore
Show the answer and why
  • AAmazon Bedrock Knowledge Bases

    Incorrect

    Knowledge Bases provide managed Retrieval Augmented Generation over your data. They do not host and run an agent built with another framework.

  • BAmazon SageMaker JumpStart

    Incorrect

    JumpStart offers pretrained models and solution templates. It is not an agent runtime with memory and step tracing.

  • CAmazon Lex

    Incorrect

    Amazon Lex builds conversational interfaces using voice and text. It does not run agents written with an open-source agent SDK.

  • DAmazon Bedrock AgentCore

    Correct

    AgentCore works with frameworks such as Strands Agents and provides a serverless Runtime with session isolation, Memory for short-term and long-term context, and Observability to trace each step.

Frameworks such as Strands Agents define how an agent thinks; AgentCore provides what it needs in production: runtime, memory, identity, gateway and observability.

Question 3 · choose 1

Developers want an agentic coding tool for their existing code repository. It should turn a natural-language feature request into a written specification, then into code, documentation and unit tests, and run predefined actions automatically when files are saved. Which AWS offering is built for this?

  1. AKiro
  2. BAmazon Quick
  3. CAWS Transform
  4. DAmazon Bedrock Guardrails
Show the answer and why
  • AKiro

    Correct

    Kiro is an agentic coding service that turns prompts into specs and then into code, docs and tests, and its agent hooks run predefined actions on events such as saving files.

  • BAmazon Quick

    Incorrect

    Amazon Quick serves business users with AI chat, research, flows, automation and dashboards over connected data. It is not a spec-driven coding tool for a code repository.

  • CAWS Transform

    Incorrect

    AWS Transform uses agentic AI to migrate and modernize existing workloads, such as mainframe and VMware environments. It is not built for new feature work in a repository.

  • DAmazon Bedrock Guardrails

    Incorrect

    Guardrails filter harmful content and protect model inputs and outputs. They do not write code.

Specs, code, tests and hooks in the developer's workspace describe Kiro; Quick is for business users and Transform for modernization projects.

Question 4 · choose 1

Every night a company summarizes about 200,000 support tickets with a foundation model in Amazon Bedrock. The summaries are needed the next morning, the input files are already in Amazon S3, and the company wants to lower the cost of this job. Which option fits best?

  1. APurchase Provisioned Throughput for the model with a 6-month commitment
  2. BRun the job as a batch inference job that reads from and writes to S3
  3. CSend every request with the Priority service tier
  4. DCall the model on demand one ticket at a time from a script
Show the answer and why
  • APurchase Provisioned Throughput for the model with a 6-month commitment

    Incorrect

    Provisioned Throughput is billed hourly for a fixed level of capacity, for as long as it is held, and batch inference is not supported for provisioned models.

  • BRun the job as a batch inference job that reads from and writes to S3

    Correct

    Batch inference processes many prompts asynchronously from files in S3 and writes the responses back to S3, and select models are offered at a 50% lower price than on-demand inference.

  • CSend every request with the Priority service tier

    Incorrect

    The Priority tier gives the fastest response times for a price premium over standard on-demand pricing. Speed is not needed overnight.

  • DCall the model on demand one ticket at a time from a script

    Incorrect

    This works, but it pays full on-demand token prices for every ticket, which batch inference undercuts for this kind of job.

Large, latency-tolerant workloads with inputs already in S3 are what Bedrock batch inference is for, and it is priced below on-demand.

Question 5 · choose 2

A company's leadership asks why the team proposes Amazon Bedrock instead of building its own model hosting. Which are documented benefits of Amazon Bedrock? (Choose TWO.)

  1. AEvery response is guaranteed to be factually correct
  2. BThe company patches and scales the GPU servers behind each model
  3. CThere is no infrastructure to manage, because the service is serverless
  4. DAll prompts are sent to each model provider's own cloud to run
  5. ECustomer content is not used to improve the base models
Show the answer and why
  • AEvery response is guaranteed to be factually correct

    Incorrect

    Foundation models can hallucinate, producing incorrect or misleading output; no service removes that risk entirely.

  • BThe company patches and scales the GPU servers behind each model

    Incorrect

    That is the work of self-hosting. With Bedrock, AWS runs the infrastructure and you call the models through an API.

  • CThere is no infrastructure to manage, because the service is serverless

    Correct

    Amazon Bedrock is serverless, so you do not manage any infrastructure to use its foundation models.

  • DAll prompts are sent to each model provider's own cloud to run

    Incorrect

    Your content is not shared with model providers, and you can keep traffic private between your VPC and Bedrock with AWS PrivateLink.

  • ECustomer content is not used to improve the base models

    Correct

    With Amazon Bedrock, your content is not used to improve the base models and is not shared with any model providers.

Bedrock's pitch is a managed, serverless choice of models with your data kept private; it does not make model output infallible.

Question 6 · choose 1

Business analysts want one AI-powered service where they can chat in natural language with agents over the company's connected data and applications, build dashboards, automate repetitive tasks, and get cited research reports, with no models to host. Which AWS service fits?

  1. AAmazon SageMaker JumpStart
  2. BAmazon Quick
  3. CKiro
  4. DAWS Transform
Show the answer and why
  • AAmazon SageMaker JumpStart

    Incorrect

    JumpStart gives data scientists pretrained models to fine-tune and deploy. It is not a business user workspace.

  • BAmazon Quick

    Correct

    Amazon Quick is an AI-powered service where users chat with agents over connected data and applications, with dashboards (Quick Sight), workflows (Quick Flows) and cited reports (Quick Research), fully managed.

  • CKiro

    Incorrect

    Kiro is an agentic coding service for developers, turning prompts into specs, code and tests.

  • DAWS Transform

    Incorrect

    AWS Transform uses agentic AI to migrate and modernize infrastructure, applications and code.

Amazon Quick is the business-user entry point to generative AI on AWS; Kiro serves developers, and Transform serves modernization projects.

Question 7 · choose 1

A company has dozens of internal REST APIs and AWS Lambda functions. It wants its AI agents to discover and call them as tools through one secure, managed endpoint, without writing custom integration code for each. Which AWS capability fits?

  1. AAmazon Bedrock Knowledge Bases
  2. BAmazon Bedrock Prompt Management
  3. CAmazon Bedrock AgentCore Gateway
  4. DAmazon SageMaker Feature Store
Show the answer and why
  • AAmazon Bedrock Knowledge Bases

    Incorrect

    Knowledge Bases retrieve information from documents for RAG. They do not expose APIs as callable tools.

  • BAmazon Bedrock Prompt Management

    Incorrect

    Prompt Management stores and versions prompts; it does not connect agents to APIs.

  • CAmazon Bedrock AgentCore Gateway

    Correct

    AgentCore Gateway converts APIs, Lambda functions and existing services into MCP-compatible tools and gives agents a single, secure endpoint to discover and use them.

  • DAmazon SageMaker Feature Store

    Incorrect

    Feature Store stores ML features for training and inference. It has no role in agent tool access.

Gateway is the tool layer of AgentCore: wrap existing APIs once, and any MCP-compatible agent can use them.

Question 8 · choose 1

A customer-facing checkout assistant on Amazon Bedrock must get the fastest possible responses during peak hours. The company accepts paying more per request for this, but it does not want to reserve capacity in advance. Which option fits best?

  1. AThe Flex service tier
  2. BBatch inference
  3. CThe Standard service tier
  4. DThe Priority service tier
Show the answer and why
  • AThe Flex service tier

    Incorrect

    Flex offers a pricing discount for workloads that can handle longer processing times, the opposite of this requirement.

  • BBatch inference

    Incorrect

    Batch inference processes prompts asynchronously from files in Amazon S3; it is not for interactive requests.

  • CThe Standard service tier

    Incorrect

    Standard is the default tier with consistent performance for everyday tasks; Priority requests are served ahead of it.

  • DThe Priority service tier

    Correct

    Priority delivers the fastest response times for a price premium over standard on-demand pricing, needs no prior reservation, and is prioritized over Standard and Flex requests.

Service tiers trade cost against speed: Flex for cheaper, slower work; Standard by default; Priority for a premium; Reserved for committed capacity.

Question 9 · choose 1

A team could build its own retrieval pipeline for a RAG application or use Amazon Bedrock Knowledge Bases. Which advantage of the managed option does AWS document?

  1. AFaster time to market, because it provides out-of-the-box RAG
  2. BAnswers that are guaranteed to be free of any hallucinations or errors
  3. CNo need to choose an embeddings model or a vector store
  4. DA model that is permanently retrained on every new document
Show the answer and why
  • AFaster time to market, because it provides out-of-the-box RAG

    Correct

    Knowledge Bases abstract the heavy lifting of building pipelines and provide an out-of-the-box RAG solution, which reduces build time, and they remove the need to keep training the model on private data.

  • BAnswers that are guaranteed to be free of any hallucinations or errors

    Incorrect

    RAG reduces hallucinations by grounding answers, but foundation models can still produce incorrect output; nothing guarantees zero errors.

  • CNo need to choose an embeddings model or a vector store

    Incorrect

    When you set up a knowledge base you still choose an embeddings model and a vector store; quick-create can create the vector index for you.

  • DA model that is permanently retrained on every new document

    Incorrect

    Knowledge Bases retrieve documents at query time precisely so the model does not have to be continually retrained.

Managed AWS generative AI services lower the barrier to entry: less to build, faster delivery and no training cycle for new data.

Question 10 · choose 1

Developers want to write an AI agent in Python with an open-source SDK that AWS initially released. It should follow a model-first design, support the Model Context Protocol, and offer built-in multi-agent patterns such as Swarm, Graph and Workflow. Which option fits?

  1. AAmazon Lex
  2. BStrands Agents
  3. CAmazon SageMaker Canvas
  4. DAmazon Bedrock Prompt Management
Show the answer and why
  • AAmazon Lex

    Incorrect

    Amazon Lex is a managed service for building conversational interfaces with voice and text, not an open-source agent SDK.

  • BStrands Agents

    Correct

    Strands Agents is an open-source SDK initially released by AWS for building agents with a model-first approach, with native MCP support and multi-agent patterns such as Swarm, Graph and Workflow.

  • CAmazon SageMaker Canvas

    Incorrect

    SageMaker Canvas lets users generate ML predictions without writing code. It is not an agent framework.

  • DAmazon Bedrock Prompt Management

    Incorrect

    Prompt Management stores and versions prompts; it is not a framework for writing agents.

Strands Agents is where an agent's logic is written; AgentCore is where such agents can run in production.

Practise domain 2 →Practise all domains →