Skip to content
AWS Certified Generative AI Developer – Professional (AIP-C01) Exam Prep

Lesson 4 of 8 · 18 min

x
4/8

Domain 2: Implementation and Integration (Part 1 of 2)

This lesson covers 5 exam topics: Agent Architectures: Memory, Reasoning and Coordination, Safeguarded Agents and Human Review, Tool Integration and MCP Servers, Model Deployment Strategies, Enterprise Integration Architectures. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Agent Architectures: Memory, Reasoning and Coordination

Video lesson: AIP-C01 15/36: Agent Architectures: Memory, Reasoning and Coordination

Central question: How do you build agents that remember, reason step by step, and coordinate?

Building blocks (skill 2.1.1)

NeedAWS / open source (verified where linked)
Agent frameworkStrands Agents (open-source SDK, Apache-2.0; agents-as-tools, swarm, graph, workflow patterns)
Multi-agent orchestrationAWS Agent Squad (open-source, Apache-2.0: manages multiple agents and complex conversations)
Run agents in productionAmazon Bedrock AgentCore: Runtime, Memory (short- and long-term), Gateway, Identity, Policy, Observability
Agent–tool interactionMCP
Managed agents (legacy)Bedrock Agents multi-agent collaboration: supervisor plus collaborator agents — now Agents Classic, closed to new customers

Structured reasoning (skill 2.1.2)

  • ReAct (reason + act): the model alternates thinking, calling a tool and observing the result (general background).
  • Chain-of-thought: reason step by step before answering.
  • The guide pairs both with Step Functions to make each reasoning step an explicit, observable state.

Model coordination (skill 2.1.4; design guidance)

  • Specialised FMs per sub-task (a small model for classification, a strong one for synthesis).
  • Ensembles with custom aggregation logic (vote, pick best by a judge).
  • Model selection frameworks that route by task type.

Exam traps

  • Proposing Bedrock Agents for a new build. Use AgentCore (or Strands on AgentCore Runtime).
  • One general agent for everything when specialists plus a supervisor fit.
  • No memory design: replaying full history every turn.

2. Safeguarded Agents and Human Review

Video lesson: AIP-C01 16/36: Safeguarded Agents and Human Review

Central question: How do you stop agents from running away, and keep people in the loop?

Safeguards (skill 2.1.3)

SafeguardAWS
Stopping conditions (max steps, goal reached)Step Functions state machine limits
TimeoutsLambda timeouts; Step Functions task timeouts
Resource boundariesIAM policies: least privilege per tool
Circuit breakersStop calling a failing tool or model; fall back
Tool-call rulesAgentCore Policy: deterministic rules on which tools, actions and conditions, enforced at the Gateway (verified)

Human collaboration (skill 2.1.5)

  • Step Functions orchestrates review and approval: pause with a task token until a person approves (callback pattern; general background).
  • API Gateway endpoints collect feedback.
  • Human augmentation patterns: the agent drafts, the person decides on high-impact actions.
  • Amazon Augmented AI (A2I) added human review for low-confidence predictions — no longer open to new customers (verified).

Exam traps

  • Unbounded agent loops with no step limit or timeout.
  • One IAM role with broad permissions shared by every tool.
  • Recommending A2I to a new customer without noting it is closed.

3. Tool Integration and MCP Servers

Video lesson: AIP-C01 17/36: Tool Integration and MCP Servers

Central question: How do you give models reliable tools, and serve them in a standard way?

Reliable tools (skill 2.1.6; design guidance plus guide examples)

  • Standardised function definitions: clear name, description, typed parameters (JSON schema) so the model calls tools correctly.
  • Strands APIs to implement custom tool behaviours.
  • Lambda for parameter validation and error handling: reject bad inputs, return clear error messages the model can act on.
  • Idempotent tools, so retries don't double-charge or double-send.

MCP servers (skill 2.1.7)

Server typeHostWhen
Stateless, lightweight toolsAWS LambdaQuick lookups, simple actions
Complex tools (long-running, stateful, heavy dependencies)Amazon ECS (containers)Larger tool suites
Existing APIsAgentCore Gateway converts APIs and Lambda functions into MCP tools (verified)No rewrite

Use MCP client libraries so every agent accesses tools the same way. MCP is an open standard for connecting AI applications to tools, data and workflows (verified).

Exam traps

  • Vague tool descriptions, so the model picks the wrong tool.
  • No validation: the model passes malformed parameters straight to a production API.
  • Hosting a heavy, stateful tool server on Lambda when ECS fits better.

4. Model Deployment Strategies

Video lesson: AIP-C01 18/36: Model Deployment Strategies

Central question: Where and how should the model run for this workload?

Matching deployment to need (skill 2.2.1)

NeedOption
Spiky, on-demand callsLambda calling Bedrock on-demand
Steady, high volume, guaranteed capacityBedrock provisioned throughput (hourly per model unit; custom models use it or an on-demand custom model deployment)
Open-weight or custom model, full controlSageMaker AI endpoints (real-time, serverless, async, batch)
HybridBedrock for general tasks + SageMaker AI for a specialised model

Why LLM deployment differs (skill 2.2.2; general background plus guide)

  • Large memory footprint for weights; GPU utilisation; throughput measured in tokens.
  • Container-based deployment tuned for these (SageMaker AI large model inference containers), with model loading strategies such as sharding the model across GPUs.

Balancing performance and cost (skill 2.2.3)

  • Pick the smallest model that meets the bar; use smaller pre-trained models for narrow tasks.
  • Model cascading: send routine queries to a cheap model, escalate hard ones to a stronger model (API-based cascade).

Exam traps

  • Provisioned throughput for occasional traffic.
  • Self-hosting on SageMaker AI when Bedrock already offers the model.
  • One large model for every query when a cascade would cut cost.

5. Enterprise Integration Architectures

Video lesson: AIP-C01 19/36: Enterprise Integration Architectures

Central question: How do you plug GenAI into existing systems without tight coupling?

Connectivity patterns (skill 2.3.1; guide examples, design guidance)

  • API-based integration with legacy systems: wrap them behind APIs the GenAI layer calls.
  • Event-driven architecture: systems publish events; GenAI components react, loosely coupled.
  • Data synchronisation: keep knowledge bases and caches aligned with systems of record.

Enhancing existing applications (skill 2.3.2)

Building blockUse
Amazon API GatewayMicroservice integration; one managed front door for AI features
AWS LambdaWebhook handlers (CRM, ticketing, chat platforms)
Amazon EventBridgeEvent-driven integration: route events (new ticket, new document) to AI processing
Amazon SQS / SNSBuffer and fan out work; decouple producers from slow model calls

Example: a new support ticket → EventBridge rule → Lambda summarises with Bedrock → writes back to the CRM (design guidance).

Exam traps

  • Synchronous calls from a legacy system straight to an FM, blocking on slow responses.
  • Point-to-point integrations everywhere instead of events.
  • No queue, so traffic spikes hit model quotas.

References

  1. AIP-C01 Domain 2 — checked Oct 19, 2026
  2. AgentCore — checked Oct 19, 2026
  3. Strands Agents — checked Oct 19, 2026
  4. Agent Squad — checked Oct 19, 2026
  5. Bedrock multi-agent collaboration — checked Oct 19, 2026
  6. Step Functions — checked Oct 19, 2026
  7. Amazon A2I — checked Oct 19, 2026
  8. Model Context Protocol — checked Oct 19, 2026
  9. Provisioned Throughput — checked Oct 19, 2026
  10. SageMaker AI inference options — checked Oct 19, 2026
  11. SageMaker large model inference — checked Oct 19, 2026
  12. Amazon EventBridge — checked Oct 19, 2026
  13. Amazon API Gateway — checked Oct 19, 2026

Check your understanding

  • Open-source SDK to write agents in Python with MCP tools?Show answer

    Answer

    Strands Agents.
  • Pause a workflow until a manager approves a refund?Show answer

    Answer

    Step Functions with a callback task token.
  • Lightweight stateless MCP server?Show answer

    Answer

    Lambda.
  • Predictable high-volume traffic needing guaranteed capacity on Bedrock?Show answer

    Answer

    Provisioned throughput.
  • Trigger AI summarisation whenever a ticket is created?Show answer

    Answer

    EventBridge rule → Lambda → Bedrock.
Previous

Progress is saved in this browser.

Next Lesson