Amazon Q Business – Enterprise AI Assistant Guide

Amazon Q Business Overview

  • Amazon Q Business is a fully managed, generative AI-powered enterprise assistant built on Amazon Bedrock that answers questions, provides summaries, generates content, and completes tasks based on enterprise data.
  • Provides permissions-aware responses with citations from enterprise data sources for use cases such as IT helpdesk, HR, benefits, and compliance.
  • Supports Retrieval Augmented Generation (RAG) — combining enterprise knowledge retrieval with LLM-powered response generation.
  • Integrates with 40+ data source connectors, built-in and custom plugins, and Amazon Q Apps for citizen-developed AI applications.
  • Available through a web experience, browser extensions (Chrome, Firefox, Edge), Slack, and Microsoft Teams integrations.
  • Important: Amazon Q Business will no longer be open to new customers starting July 31, 2026. Existing customers remain fully supported. AWS recommends migrating to Amazon Quick for similar and enhanced capabilities.

Amazon Q Business Architecture

Amazon Q Business Architecture

Core Components

  • Application
    • Top-level container that encapsulates the entire Q Business deployment.
    • Each application has its own configuration, data sources, plugins, guardrails, and web experience.
    • Linked to an IAM Identity Center instance or IAM Federation for user authentication.
    • Supports both authenticated (IAM Identity Center/IAM Federation) and anonymous access modes.
  • Index
    • Stores and organizes ingested enterprise documents for retrieval.
    • Two index types available:
      • Starter Index — runs in 1 AZ, ideal for proof-of-concept; includes 20,000 documents or 200 MB extracted text capacity and 100 hours connector usage.
      • Enterprise Index — runs across 3 AZs for high availability; same base capacity with support for customer managed key (CMK) encryption.
    • Capacity can be scaled by adding additional index units.
  • Retriever
    • Responsible for fetching relevant documents from the index to answer user queries.
    • Two retriever options:
      • Native Retriever — built-in retriever managed by Amazon Q Business with semantic search capabilities.
      • Amazon Kendra Retriever — uses an existing Amazon Kendra index for retrieval, ideal for organizations already using Kendra with advanced search tuning.
  • Data Sources
    • Connectors that crawl, ingest, and synchronize enterprise content into the index.
    • Support scheduled sync (incremental and full) to keep index current.
    • Crawl Access Control Lists (ACLs) by default for document-level security.
  • Web Experience
    • Managed chat interface for end users to interact with Amazon Q Business.
    • Customizable with organization branding, visual themes, and conversation starters.
    • Supports single sign-on (SSO) via IAM Identity Center.
    • Can be embedded directly into applications and websites.

How RAG Works in Q Business

  1. User submits a natural language query through the web experience or integration.
  2. The retriever searches the index for relevant enterprise documents.
  3. ACLs are evaluated to ensure the user has permission to access retrieved documents.
  4. Retrieved documents (with citations) are passed to the underlying LLM.
  5. The LLM generates a comprehensive, contextual response grounded in enterprise data.
  6. Response is returned with source citations for verification.

Data Source Connectors

  • Amazon Q Business provides 40+ pre-built connectors to synchronize data from enterprise content repositories.
  • Connectors can be scheduled for automatic sync (full or incremental) to keep the index up-to-date.
  • All connectors crawl ACLs by default to maintain document-level security.

Cloud Storage & File Systems

Connector Description
Amazon S3 Indexes documents stored in S3 buckets. Supports PDF, HTML, Word, PowerPoint, Excel, CSV, and text files. Configurable with prefix filters.
Amazon FSx for Windows Indexes documents from FSx Windows file shares with NTFS ACL support.
Box Crawls files, folders, comments, and tasks from Box enterprise accounts.
Dropbox Indexes files, paper documents, and shared folders from Dropbox Business accounts.
Google Drive Crawls Google Docs, Sheets, Slides, PDFs, and shared drives with Google Workspace ACL support.
Microsoft OneDrive Indexes personal and shared files from Microsoft 365 OneDrive accounts.

Collaboration & Productivity

Connector Description
Confluence (Cloud) Crawls spaces, pages, blogs, comments, and attachments from Atlassian Confluence Cloud.
Confluence (Server) Indexes on-premises Confluence Server/Data Center instances.
Microsoft SharePoint (Cloud) Crawls sites, document libraries, lists, and pages from SharePoint Online with Microsoft 365 ACLs.
Microsoft SharePoint Server Supports SharePoint Server 2016, 2019, and Subscription Edition for on-premises deployments.
Microsoft Teams Indexes channel messages, files, wikis, and meeting notes from Teams.
Slack Crawls public and private channel messages, threads, and shared files.
Smartsheet Indexes sheets, reports, and dashboards from Smartsheet workspaces.
Quip Crawls documents, spreadsheets, and chat threads from Salesforce Quip (legacy connector).

Communication & Email

Connector Description
Gmail Indexes email messages and attachments from Google Workspace Gmail accounts.
Google Calendar (Preview) Crawls calendar events and descriptions from Google Workspace.
Microsoft Exchange Indexes emails, calendar events, contacts, and attachments from Exchange Online.

Project Management & ITSM

Connector Description
Jira Crawls issues, projects, comments, attachments, and worklogs from Jira Cloud.
ServiceNow Online Indexes knowledge articles, incidents, catalog items, and attachments from ServiceNow.
Zendesk Crawls tickets, articles, comments, and community posts from Zendesk.
Asana (Preview) Indexes tasks, projects, and comments from Asana workspaces.

CRM & Business Applications

Connector Description
Salesforce Online Crawls knowledge articles, accounts, cases, opportunities, feeds, and custom objects.

Source Code & Development

Connector Description
GitHub (Cloud) Indexes repositories, issues, pull requests, READMEs, and wiki pages from GitHub.com.
GitHub (Server) Crawls on-premises GitHub Enterprise Server instances.

Web & Custom

Connector Description
Amazon Q Web Crawler Crawls and indexes content from specified websites with configurable depth and URL filters.
Custom Data Source Connector Enables integration with any data source using the Amazon Q Business API. Developers push documents programmatically via BatchPutDocument API.

Database Connectors (via Custom Connector)

  • Database sources like MySQL, PostgreSQL, and Oracle can be integrated using the Custom Data Source Connector.
  • Developers extract data from databases, format as documents, and push to Q Business via the BatchPutDocument API.
  • Supports any structured data source that can be programmatically accessed.

Plugins & Actions

  • Plugins enable Amazon Q Business users to perform actions in third-party applications directly from the chat interface.
  • Users can create tickets, update records, send notifications, and query application data using natural language.
  • Plugins are only available with the Pro subscription tier.
  • Amazon Q Business supports 50+ action types across built-in and custom plugins.

Built-in Plugins

Plugin Capabilities
Jira Cloud Create issues, update status, add comments, assign tickets, search issues, transition workflows
ServiceNow Create/update incidents, search knowledge base, manage change requests, catalog items
Zendesk Create/update tickets, search articles, manage users, add comments
Salesforce Create/update cases, search accounts and contacts, manage opportunities
PagerDuty Create/acknowledge/resolve incidents, manage on-call schedules, escalation policies
Smartsheet Create/update rows, search sheets, manage attachments, update cells

Custom Plugins

  • Custom plugins allow integration with any third-party application using an OpenAPI schema definition.
  • Steps to create a custom plugin:
    1. Define an OpenAPI 3.0 specification describing the API endpoints, parameters, and responses.
    2. Configure authentication (OAuth 2.0, API key, or no auth).
    3. Upload the schema to Amazon Q Business and configure the plugin.
    4. Amazon Q Business automatically discovers available actions from the schema.
  • Use cases: submit time-off requests, send meeting invites, query internal APIs, trigger CI/CD pipelines.
  • Custom plugins support OAuth 2.0 authorization code flow for secure per-user authentication.

Chat Orchestration

  • Amazon Q Business automatically orchestrates end user chat requests across configured plugins and data sources.
  • Determines whether a query requires knowledge retrieval, plugin action execution, or both.
  • Enables multi-step workflows combining data retrieval and actions in a single conversation.

Amazon Q Apps

  • Amazon Q Apps enables users to build lightweight, purpose-built AI applications without any coding — empowering citizen developers.
  • Available exclusively to Pro subscription users (since July 1, 2024).
  • Users create Q Apps directly from the web experience interface using natural language descriptions or by converting chat conversations into reusable apps.

App Builder

  • Q Apps are composed of cards — modular building blocks that define inputs, processing, and outputs:
    • Text Input Card — accepts user text input
    • File Upload Card — allows file uploads (up to 10 MB per card)
    • Query Card — sends a prompt to the LLM with optional enterprise data context
    • Output Card — displays generated responses
  • Cards can be connected in sequence to create multi-step workflows.
  • Apps can leverage enterprise data sources configured in the Q Business application.

Sharing & Permissions

  • Private sharing — share apps with specific users within the Q Business application environment.
  • Library publishing — publish apps to the organization’s app library for broader discovery.
  • App creators control visibility and access at a granular level.
  • Administrators can enable/disable Q Apps at the application level.

Data Collection

  • Q Apps support data collection forms that allow shared apps to collect structured data from multiple users.
  • Useful for surveys, feedback collection, intake forms, and structured workflows.

Example Use Cases

  • Meeting summary generator — upload meeting notes, get action items and summaries
  • RFP response assistant — input requirements, generate proposal drafts from company knowledge
  • Onboarding checklist app — guide new hires through company policies and procedures
  • Competitive analysis tool — input competitor info, get insights from internal research documents

Admin Controls & Guardrails

  • Amazon Q Business provides configurable guardrails (chat controls) to manage and control the end user chat experience.
  • Controls are organized into global controls and topic-level controls.

Global Controls

  • Response source controls — specify whether responses use:
    • Enterprise data only (strict RAG mode)
    • Enterprise data + LLM model knowledge (when enterprise data lacks answers)
  • Blocked phrases — define specific words or phrases that Amazon Q Business must never include in responses.
  • File upload control — enable or disable end user file uploads during chat sessions.
  • Chat personalization — control whether responses are personalized using IAM Identity Center user attributes (address, job info).
  • Chat orchestration — enable/disable automatic routing of requests across plugins and data sources.
  • Hallucination detection — enable automatic checking and correction of responses for inconsistencies.
  • Global controls cannot be created or deleted — only updated.

Topic-Level Controls

  • Define natural language topics that Amazon Q Business should handle in specific ways.
  • For each topic, configure:
    • Topic description — natural language description of the topic area
    • Example user messages — sample queries that fall under this topic
    • Response behavior:
      • Allow responses from enterprise data only
      • Allow responses from enterprise data + model knowledge
      • Block the topic entirely (refuse to answer)
    • Custom response message — provide a specific response for blocked topics
  • Topic controls can be scoped to specific users and groups for fine-grained governance.

Blocked Topics

  • Administrators can block entire topics to prevent the assistant from discussing sensitive subjects.
  • Common blocked topics: competitor information, executive compensation, unreleased products, legal opinions.
  • When a blocked topic is detected, Q Business returns the configured custom response message.

Access Control & Security

  • Amazon Q Business implements defense-in-depth security with multiple layers of access control.
  • Built on Amazon Bedrock, inheriting automated abuse detection and responsible AI controls.

IAM Identity Center Integration

  • AWS IAM Identity Center (recommended) provides centralized identity management for Q Business.
  • Supports single sign-on (SSO) with external identity providers (Okta, Azure AD, Ping Identity, etc.).
  • Manages user subscriptions, group memberships, and application access centrally.
  • Enables automatic subscription deduplication across multiple Q Business applications sharing the same Identity Center instance.
  • IAM Federation (alternative) — supports OIDC and SAML identity providers for organizations not using Identity Center.

Document-Level Security (ACL Crawling)

  • Amazon Q Business crawls Access Control Lists (ACLs) from data sources by default.
  • Maps source system users/groups to IAM Identity Center identities via a User Store.
  • Ensures users only receive answers from documents they have permission to access in the source system.
  • ACL crawling supports:
    • User-level permissions
    • Group-level permissions
    • Inherited permissions (folder hierarchies)
  • Once ACL crawling is enabled, it cannot be disabled — this is a permanent setting.
  • Documents without ACL entries are accessible to all authenticated users by default.

Encryption

  • Encryption at rest — all data in the index is encrypted using AWS KMS keys.
  • Customer Managed Keys (CMK) — supported with Enterprise index type for full key control.
  • Encryption in transit — all communications use TLS 1.2+.
  • Data source credentials stored securely in AWS Secrets Manager.

Network Security

  • Amazon Q Business supports VPC endpoints (AWS PrivateLink) for private connectivity.
  • Data source connections can traverse VPCs for on-premises connectors.
  • All API calls are logged in AWS CloudTrail for auditing.

Subscription Management

  • Amazon Q Business uses a per-user subscription model with charges for both user subscriptions and index capacity.

User Subscription Tiers

Feature Lite Plan ($3/user/month) Pro Plan ($20/user/month)
Ideal for Enterprise-wide deployment, frontline workers Knowledge workers, power users
Q&A on knowledge bases ✅ With citations ✅ With citations
Q&A on LLM knowledge
File upload to chat
Content generation
Amazon Q Apps
Built-in plugins
Custom plugins
Slack/Teams integrations Browser extensions only ✅ Full integrations
QuickSight integration ✅ Reader Pro
Chat orchestration
Web experience (SSO)
Permissions-aware responses

Index Pricing

Index Type Pricing Included Capacity
Starter $0.14/hour per unit 20,000 docs or 200 MB text, 100 hrs connector usage
Enterprise $0.264/hour per unit 20,000 docs or 200 MB text, 100 hrs connector usage + CMK support

Subscription Billing Details

  • Charges start only after first use by the user.
  • Subscriptions are prorated when created or upgraded (based on remaining days in the month).
  • Cancellations and downgrades are not prorated — they apply at the start of the next billing month.
  • AWS deduplicates subscriptions across Q Business applications sharing the same IAM Identity Center instance — each user is charged only once at their highest subscription level.
  • For IAM Federation, users are charged once per IAM Identity Provider.

Amazon Q Business vs Bedrock Knowledge Bases vs Amazon Kendra

Feature Amazon Q Business Bedrock Knowledge Bases Amazon Kendra
Primary Purpose Enterprise AI assistant (turnkey RAG + actions) Managed RAG for custom AI applications Intelligent enterprise search
Target User Business users & admins (no-code) Developers building AI apps Developers & search admins
Built-in Chat UI ✅ Web experience, browser extensions ❌ (requires custom UI) ❌ (search UI only, needs custom chat)
Data Connectors 40+ managed connectors S3, Confluence, SharePoint, Web Crawler, Google Drive, OneDrive 30+ managed connectors
Retrieval Method Native or Kendra retriever Vector search (OpenSearch, Pinecone, etc.) Semantic + keyword search
LLM Integration Built-in (managed by AWS) Choose any Bedrock FM Requires custom LLM integration
Plugins/Actions ✅ Built-in + custom (OpenAPI) ✅ Via Bedrock Agents
Citizen Developer Apps ✅ Q Apps
Access Control ACL crawling, IAM Identity Center Metadata filtering ACL crawling, token-based
Admin Guardrails ✅ Topic controls, blocked phrases ✅ Bedrock Guardrails (separate) ❌ (search-level only)
Pricing Model Per user/month + index capacity Per KB storage + retrieval queries Per index hour + connector usage
Best For Rapid enterprise AI assistant deployment Custom RAG applications with specific FMs Enterprise search with NLP ranking
Availability Status Closing to new customers July 31, 2026 (migrate to Amazon Quick) GA, actively developed Closing to new customers (migrate to Quick)

Use Cases

Internal Knowledge Base

  • Connect company wikis, SharePoint, Confluence, and file shares to provide instant answers about policies, procedures, and institutional knowledge.
  • Reduce time employees spend searching across multiple systems.
  • Maintain permissions — users only see information they’re authorized to access.

IT Helpdesk

  • Index IT documentation, runbooks, and knowledge articles from ServiceNow.
  • Use plugins to create/update tickets directly from the chat interface.
  • Automate common L1 support queries (password resets, VPN setup, software installation guides).
  • Escalate complex issues by creating tickets with pre-populated context.

HR Assistant

  • Answer employee questions about benefits, PTO policies, expense procedures, and onboarding.
  • Connect to HR systems via plugins for actions like submitting time-off requests.
  • Reduce HR ticket volume by providing instant self-service answers.
  • Use topic-level controls to block sensitive HR topics (individual salaries, disciplinary actions).

Customer Support (Internal)

  • Equip support agents with instant access to product documentation, troubleshooting guides, and customer history.
  • Reduce average handle time by surfacing relevant solutions in real-time.
  • Create Zendesk/Salesforce tickets with full context directly from the assistant.

Compliance & Legal Q&A

  • Index regulatory documents, compliance policies, audit reports, and legal guidelines.
  • Provide rapid answers about compliance requirements with document citations.
  • Use guardrails to ensure responses don’t constitute legal advice (blocked topic with custom message).
  • Maintain strict access controls — only compliance team members can access sensitive regulatory documents.

Migration to Amazon Quick

  • AWS announced that Amazon Q Business will no longer accept new customers starting July 31, 2026.
  • Existing customers remain fully supported with bug fixes and security updates, but no new features.
  • AWS recommends migrating to Amazon Quick — the next evolution of Q Business with enhanced capabilities.
  • Amazon Quick provides:
    • Quick Flows — workflow automation (replacing Q Apps)
    • QuickSight integration — structured data analysis and visualization
    • Quick Research — in-depth analysis and expert insights
    • Spaces — unified knowledge management
    • MCP (Model Context Protocol) — open standard for connecting to external tools and data sources
  • Migration path: Use Bring Your Own Index (BYOI) to connect existing Q Business index to Quick without disrupting current operations.
  • Q Apps must be manually migrated to Quick Flows.
  • Guardrails and User Store configurations are not included in BYOI — must be recreated in Quick.

AWS Certification Exam Practice Questions

Question 1: A company wants to deploy Amazon Q Business for their 5,000 employees. Frontline workers need basic Q&A access, while 200 knowledge workers need full capabilities including content generation and plugins. What is the most cost-effective subscription approach?

  1. Subscribe all 5,000 users to Pro plan
  2. Subscribe 4,800 users to Lite plan and 200 users to Pro plan
  3. Subscribe all users to Lite plan and upgrade on request
  4. Use anonymous access for all users to avoid subscription costs
Show Answer

Answer: B –

Explanation: The Lite plan ($3/user/month) provides Q&A on knowledge bases with citations and permissions-aware responses, sufficient for frontline workers. The Pro plan ($20/user/month) adds content generation, plugins, Q Apps, and integrations needed by knowledge workers. This gives $14,400/month for Lite users + $4,000/month for Pro users = $18,400/month vs. $100,000/month for all Pro.

Question 2: An organization uses Amazon Q Business with documents stored across SharePoint, Confluence, and S3. A user asks a question, but receives no answer despite the information existing in Confluence. What is the MOST likely cause?

  1. The Confluence connector has not completed its sync schedule
  2. The user does not have ACL permissions to access the Confluence document
  3. Amazon Q Business does not support Confluence as a data source
  4. The Enterprise index type is required for multiple data sources
Show Answer

Answer: B –

Explanation: Amazon Q Business crawls ACLs by default and provides permissions-aware responses. If a user doesn’t have access to a document in the source system (Confluence), Q Business will not include that document in its response, even if the information exists. Option A is possible but less likely if the connector is configured for regular syncs.

Question 3: A company wants to prevent Amazon Q Business from answering questions about competitor pricing and executive compensation. Which feature should the administrator configure?

  1. IAM policies to restrict user access
  2. Global controls with blocked phrases
  3. Topic-level controls with blocked topic behavior
  4. Remove all documents mentioning competitors from data sources
Show Answer

Answer: C –

Explanation: Topic-level controls allow administrators to define natural language topics (e.g., “competitor pricing,” “executive compensation”) and configure blocked behavior with custom response messages. Global blocked phrases only block specific words/phrases in responses, not entire topics. Topic-level controls provide more comprehensive governance over sensitive subjects.

Question 4: A development team wants Amazon Q Business users to create Jira tickets directly from the chat interface when they encounter issues. Which component is needed?

  1. Jira data source connector
  2. Jira built-in plugin
  3. Custom data source connector with Jira API
  4. Amazon Q Apps with Jira integration
Show Answer

Answer: B –

Explanation: The Jira built-in plugin enables users to perform actions (create issues, update status, add comments) in Jira directly from the Q Business chat interface. The Jira data source connector is for indexing/reading Jira content, not performing actions. Plugins enable write operations while connectors enable read/index operations.

Question 5: An organization is evaluating whether to use Amazon Q Business or Amazon Bedrock Knowledge Bases for their enterprise AI assistant. They need a turnkey solution with built-in chat UI, 40+ data connectors, no-code setup, and citizen developer app capabilities. Which service best fits their requirements?

  1. Amazon Bedrock Knowledge Bases with custom UI
  2. Amazon Q Business
  3. Amazon Kendra with custom LLM integration
  4. Amazon Bedrock Agents with Confluence connector
Show Answer

Answer: B –

Explanation: Amazon Q Business provides all requested capabilities: built-in web experience chat UI, 40+ managed data connectors, no-code admin setup, and Q Apps for citizen developers. Bedrock Knowledge Bases requires custom UI development and has fewer native connectors. Kendra provides search but not a conversational AI assistant. Q Business is the fully managed turnkey enterprise AI assistant solution.

Frequently Asked Questions

What is Amazon Q Business?

Amazon Q Business is a fully managed generative AI assistant for enterprises. It connects to 40+ data sources (SharePoint, Confluence, Salesforce, etc.), understands your company’s information, and provides accurate answers with citations while respecting existing access controls.

How much does Amazon Q Business cost?

Q Business Lite costs $3/user/month (Q&A and search only). Q Business Pro costs $20/user/month (includes plugins, actions, Q Apps, and advanced features). There’s also a per-index-unit and document storage charge.

What is the difference between Q Business and Bedrock Knowledge Bases?

Q Business is a ready-to-use enterprise assistant with built-in web UI, 40+ connectors, plugins, and admin controls. Bedrock Knowledge Bases is a developer building block for custom RAG applications that you integrate into your own apps via API.

References

Amazon Bedrock Agents & Knowledge Bases – Complete Guide [2026]

Amazon Bedrock Agents, Knowledge Bases & Guardrails – Complete Guide

Amazon Bedrock provides a comprehensive platform for building, deploying, and managing generative AI applications. This deep-dive guide covers the advanced capabilities of Bedrock’s key components: Knowledge Bases for RAG, Agents for autonomous task execution, AgentCore for production deployment, Guardrails for safety, Model Evaluation, Fine-tuning, and Prompt Management.

Amazon Bedrock Knowledge Bases

Amazon Bedrock Knowledge Bases is a fully managed RAG (Retrieval-Augmented Generation) capability that connects foundation models to proprietary data sources. It handles the entire workflow from data ingestion, chunking, embedding, storage, to retrieval and prompt augmentation.

Knowledge Base Types

  • Custom Knowledge Base – You choose the vector store, embedding model, chunking strategy, and data sources. Provides full control over the RAG pipeline.
  • Managed Knowledge Base (GA June 2026) – Amazon Bedrock manages the underlying infrastructure including vector storage, embeddings, re-ranking, and retrieval optimization. Supports auto-scaling, agentic retrieval for multi-hop reasoning, and multimodal data ingestion.

Data Sources

  • Amazon S3 – Primary data source supporting documents in PDF, TXT, MD, HTML, CSV, DOC/DOCX, XLS/XLSX, and JSON formats.
  • Confluence – Connects to Atlassian Confluence workspaces for ingesting wiki pages and documentation.
  • Microsoft SharePoint – Ingests documents from SharePoint Online sites and libraries.
  • Salesforce – Connects to Salesforce objects like Knowledge Articles and custom objects.
  • Web Crawler – Crawls and ingests web pages from specified URLs with configurable depth and scope.
  • Google Drive – Connects to Google Drive for document ingestion (Managed KB).
  • OneDrive – Connects to Microsoft OneDrive (Managed KB).

Chunking Strategies

  • Default Chunking – Splits content into chunks of approximately 300 tokens, honoring sentence boundaries.
  • Fixed-size Chunking – Splits content into chunks of a user-defined token size (1–8192 tokens) with configurable overlap percentage for context continuity.
  • Semantic Chunking – Groups text by meaning using embedding similarity. Breakpoints are created when semantic similarity between consecutive sentences drops below a threshold. Produces more coherent chunks but is computationally more expensive.
  • Hierarchical Chunking – Creates parent-child chunk relationships. Parent chunks provide broader context while child chunks contain specific details. During retrieval, child chunks are returned with parent context for better comprehension.
  • No Chunking – Treats each document as a single chunk. Best for short documents or pre-chunked data.

Embedding Models

  • Amazon Titan Text Embeddings V2 – AWS native model supporting configurable output dimensions (256, 512, or 1024). Supports text normalization and multiple languages. Optimized for RAG workloads with high accuracy-to-cost ratio.
  • Cohere Embed – Multilingual embedding model available in English and multilingual variants. Supports input types (search_document, search_query) for optimized retrieval.
  • Amazon Titan Multimodal Embeddings – Supports both text and image embeddings in a unified vector space.

Vector Stores

  • Amazon OpenSearch Serverless – Default option with serverless scaling. Supports hybrid search (semantic + keyword), metadata filtering, and automatic index management.
  • Amazon OpenSearch Service (Managed Cluster) – Added March 2025. Provides more control over cluster configuration, instance types, and scaling policies.
  • Amazon Aurora PostgreSQL – Uses pgvector extension. Supports hybrid search (added April 2025) and integrates with existing Aurora databases.
  • Pinecone – Third-party managed vector database with serverless and pod-based options.
  • Redis Enterprise Cloud – In-memory vector store for low-latency retrieval.
  • MongoDB Atlas – Document database with vector search capabilities. Supports hybrid search (added April 2025).
  • Amazon Neptune Analytics – Graph + vector search for knowledge graph use cases.
  • Amazon S3 – Added July 2025 for cost-effective vector storage with S3-native retrieval.

Hybrid Search

  • Combines semantic (vector) search with keyword (lexical) search for improved retrieval accuracy.
  • Semantic search captures meaning and handles paraphrasing; keyword search handles exact matches, names, and codes.
  • Supported on OpenSearch Serverless, OpenSearch Managed Clusters, Aurora PostgreSQL (April 2025), and MongoDB Atlas (April 2025).
  • Results are combined using Reciprocal Rank Fusion (RRF) to produce a unified ranking.

Metadata Filtering

  • Each document can have a metadata JSON file (up to 10 KB) with custom attributes.
  • Filters are applied as pre-filtering before vector search, reducing the search space.
  • Supports operators: equals, notEquals, greaterThan, lessThan, in, notIn, startsWith, stringContains.
  • Enables multi-tenant RAG by filtering documents based on tenant ID, access controls, or document categories.

Advanced Parsing

  • Foundation Model Parsing – Uses an FM (e.g., Claude) to extract and interpret content from complex documents including PDFs with tables, charts, and images. Provides customizable extraction prompts.
  • Amazon Textract Parsing – OCR-based parsing for scanned documents and images.
  • Standard Parsing – Default text extraction for supported document formats.
  • FM parsing is ideal for documents with complex layouts, embedded images, or non-standard formatting that standard parsers cannot handle accurately.

📖 Deep Dive Guides: Bedrock vs SageMaker | RAG Architecture | Prompt Engineering | Responsible AI | AI Services Decision Guide

Amazon Bedrock Agents

Amazon Bedrock Agents enables developers to build autonomous AI agents that can plan multi-step tasks, invoke APIs, and interact with knowledge bases to accomplish complex goals. Agents use foundation models for reasoning and orchestration.

Agent Architecture

  • Foundation Model – The reasoning engine that interprets user requests, plans actions, and generates responses.
  • Instructions – System-level prompts that define the agent’s persona, capabilities, and behavioral guidelines.
  • Action Groups – Collections of tools/APIs the agent can invoke, defined via OpenAPI schemas or function definitions.
  • Knowledge Bases – Connected data sources for RAG-based retrieval to ground responses in proprietary data.
  • Guardrails – Safety filters applied to agent inputs and outputs.

Orchestration

  • Agents use a ReAct (Reasoning + Acting) orchestration loop by default: the FM reasons about the task, decides on an action, executes it, observes results, and iterates.
  • Custom Orchestration – Use a Lambda function to define custom orchestration logic, overriding the default ReAct loop for specialized workflows.
  • The orchestration loop continues until the agent determines it has sufficient information to generate a final response or reaches the maximum iteration limit.

Action Groups & Tool Use

  • Action groups define the tools available to the agent using either OpenAPI schemas or simplified function definitions.
  • Lambda Functions – Backend logic executed when the agent invokes an action. Receives the API operation, parameters, and session context.
  • Return of Control (ROC) – Instead of executing a Lambda, the agent returns control to the calling application with the action details. The application executes the action and returns results to continue the conversation.
  • Code Interpreter – Built-in action group that allows the agent to generate and execute Python code in a secure sandbox for data analysis, calculations, and chart generation.
  • User Confirmation – Configurable step where the agent asks for user approval before executing sensitive actions.

Multi-Step Reasoning

  • Agents decompose complex requests into sequential sub-tasks, executing each step and using results to inform the next.
  • Supports query decomposition for knowledge base retrieval – breaking a complex question into simpler sub-queries.
  • Chain-of-thought traces are available for debugging and observability.

Inline Agents

  • Dynamically configure agent capabilities at runtime without pre-creating agent resources.
  • Specify instructions, action groups, knowledge bases, and guardrails in the API call itself.
  • Enables dynamic workflow adaptation where agent roles and tools change based on context.
  • Launched with multi-agent collaboration GA (March 2025).

Multi-Agent Collaboration (Supervisor/Child)

  • Supervisor Agent – Orchestrates the workflow by breaking requests into sub-tasks and delegating to specialized child agents.
  • Child Agents (Collaborator Agents) – Specialized agents focused on specific domains (e.g., checking maintenance, analyzing alarms, evaluating KPIs).
  • Supervisor routes tasks, consolidates outputs, and generates unified final responses.
  • Supports both SUPERVISOR mode (supervisor decides routing) and SUPERVISOR_ROUTER mode (classifier-based routing).
  • GA since March 2025 with support for up to 5 collaborator agents per supervisor.

Agent Memory

  • Session Memory (Short-term) – Maintains conversation context within a session. Automatically managed within the session window (configurable idle timeout).
  • Long-term Memory – Persists information across sessions. Extracts key facts, preferences, and context from conversations and stores them for future sessions.
  • Memory enables personalized experiences where agents remember user preferences, past interactions, and ongoing tasks.
  • Supports metadata on memory records for organizing, filtering, and routing retrieval.

Prompt Engineering for Agents

  • System Instructions – Define the agent’s role, personality, constraints, and response format.
  • Advanced Prompts – Customize prompts at each orchestration step: pre-processing, orchestration, knowledge base response generation, and post-processing.
  • Prompt Templates – Use variables (e.g., $tool_results$, $knowledge_base_results$) to structure how the agent processes information.
  • Best practices: Be specific about capabilities, define clear boundaries, provide examples of expected behavior, and specify output formats.

Amazon Bedrock AgentCore

Amazon Bedrock AgentCore (GA June 2026) is a code-first platform to build, deploy, connect, and optimize AI agents at scale. It provides production-grade infrastructure including runtime, identity, tools, memory, observability, and evaluation — regardless of the framework or model used.

Managed Deployment (AgentCore Runtime & Harness)

  • AgentCore Harness – The managed orchestration layer (“body”) for agents. Handles the orchestration loop, tool execution, context window management, state persistence, failure recovery, and session isolation.
  • Define agents via configuration: model, tools, skills, instructions. AgentCore assembles and runs the agent loop.
  • Each agent runs in its own isolated environment with filesystem, shell, memory, and web browsing capabilities.
  • Supports any open-source framework (LangGraph, CrewAI, Strands) and any model.
  • Provides MicroVM-based isolation for secure execution of tools and code.

AgentCore Identity & Access

  • AgentCore Identity – Provides robust identity and access management for agents at scale.
  • Agents can access resources/tools on behalf of users or themselves with pre-authorized user consent.
  • Compatible with existing identity providers (Okta, Auth0, Entra ID) — no user migration required.
  • Workload Identities – Unique identities assigned to agents for authentication and authorization.
  • Centralized identity management regardless of deployment environment (AgentCore Runtime, self-hosted, hybrid).
  • Eliminates need for custom access controls and identity infrastructure.

Tool Management (AgentCore Gateway)

  • AgentCore Gateway – Unified MCP (Model Context Protocol) gateway for tool discovery and invocation.
  • Serves as a single endpoint for accessing tools from different teams, organizations, and applications.
  • Fine-grained access control with gateway interceptors for per-principal permissions.
  • Supports the AWS-curated skills catalog accessible with a single toggle.
  • Web Search tool enables agents to ground responses in current web knowledge.

Memory Management

  • Memory provisions automatically when a harness is created.
  • Extracts useful information from short-term memory and stores as long-term memory records.
  • Supports strictly consistent metadata on memory records for organized retrieval.
  • Agents recognize returning users without additional setup.

Quality Evaluations

  • Batch Evaluation – Define what “good” looks like and measure candidate changes against quality bars at scale.
  • Customers specify evaluation criteria and AgentCore runs assessments across multiple test cases.
  • Supports comparison of agent versions before deployment.

A/B Testing

  • Controlled comparison between agent versions by splitting live production traffic.
  • Measures outcomes side-by-side to confirm improvements hold under real conditions.
  • Enables data-driven decisions about agent updates and configuration changes.

Policy Controls

  • AgentCore Policy – Authorization capability that controls which actions agents are authorized to take.
  • Integrates with Amazon Bedrock Guardrails for content safety and prompt injection protection.
  • Provides enterprise defenses against security and safety risks in agent workloads.
  • Supports sensitive data exposure prevention and prompt injection attack detection.

Amazon Bedrock Guardrails

Amazon Bedrock Guardrails provides configurable safeguards for generative AI applications. It helps detect and filter harmful content, block undesirable topics, redact sensitive information, and reduce hallucinations — applied to both user inputs and model responses.

Content Filters

  • Detect and filter harmful content across six categories with configurable strength levels (None, Low, Medium, High):
  • Hate – Content that discriminates, criticizes, insults, or dehumanizes based on identity attributes.
  • Insults – Content that demeans, bullies, or includes negative/derogatory language.
  • Sexual – Content that indicates sexual interest, activity, or arousal.
  • Violence – Content that glorifies or threatens physical harm to individuals or groups.
  • Misconduct – Content related to criminal activity, including fraud, theft, and illegal substance use.
  • Prompt Attacks – Detects prompt injection and jailbreak attempts designed to bypass safety controls.
  • Supports tiered filtering (announced June 2025) for cost-optimized content moderation at scale.

Image Content Filters (GA March 2025)

  • Extends content filtering to image modality — moderates both image and text content.
  • Applies to all categories: hate, insults, sexual, violence, misconduct, and prompt attacks.
  • Blocks up to 88% of harmful multimodal content.
  • Industry-leading safeguards for applications handling user-uploaded images or model-generated images.

Denied Topics

  • Define custom topics that the AI should refuse to engage with.
  • Provide a natural language definition and optional sample phrases for each denied topic.
  • Example: A bank’s AI assistant can deny conversations about investment advice or cryptocurrencies.
  • Applied to both user inputs (block the question) and model outputs (block the response).

Word Filters

  • Block specific words or phrases from appearing in inputs or outputs.
  • Supports exact match and managed word lists (e.g., profanity lists).
  • Useful for blocking competitor names, internal project codes, or inappropriate terminology.

Sensitive Information Filters

  • PII Detection – Identifies personally identifiable information including names, email addresses, phone numbers, SSNs, credit card numbers, and more.
  • Regex Patterns – Define custom patterns for domain-specific sensitive data (e.g., account numbers, internal IDs).
  • Actions: Block (reject the entire message) or Anonymize/Redact (mask the PII and allow the message through).
  • Supports over 30 built-in PII entity types.

Contextual Grounding Check

  • Detects hallucinations in RAG and summarization use cases.
  • Grounding – Validates that model responses are factually consistent with the provided reference source/context.
  • Relevance – Checks that the response is relevant to the user’s query.
  • Configurable thresholds for grounding and relevance scores.
  • Filters over 75% of hallucinated responses in RAG applications.

Automated Reasoning Checks

  • Uses formal verification methods grounded in mathematical logic to validate AI-generated outputs.
  • Detects hallucinations, suggests corrections, and highlights unstated assumptions.
  • Provides provably correct, auditable assessments with deterministic formal logic.
  • First and only safeguard using Automated Reasoning to prevent factual errors.
  • Policy refinement workflows added June 2026 for iterative improvement.

ApplyGuardrail API

  • Standalone API to apply guardrails independently of model invocation.
  • Enables guardrail evaluation on any text content — even from non-Bedrock models or external systems.
  • Use cases: validate content from third-party LLMs, pre-screen user inputs, post-process outputs from any source.
  • InvokeGuardrailChecks API – Enhanced API for agentic AI applications requiring step-level guardrail checks.

Code Domain Support (Jan 2025)

  • Protects against undesirable content within code elements.
  • Inspects user prompts, comments, variables, function names, and string literals.
  • Prevents injection of harmful content via code constructs.

Amazon Bedrock Model Evaluation

Amazon Bedrock Evaluations helps you compare, evaluate, and select foundation models for your specific use cases. It supports automatic evaluation, human evaluation, and LLM-as-a-judge workflows.

Automatic Evaluation

  • Evaluate models using built-in metrics without human involvement.
  • Accuracy – Measures correctness of model responses using metrics like BERTScore, ROUGE, and exact match.
  • Robustness – Tests model consistency across paraphrased inputs and adversarial perturbations.
  • Toxicity – Measures harmful or inappropriate content in model outputs.
  • Supports custom datasets in JSONL format with prompt-response-reference triples.
  • Can evaluate models running on Bedrock, other cloud providers, or on-premises (GA April 2025).

LLM-as-a-Judge (Preview Dec 2024)

  • Uses a foundation model to evaluate other models with human-like quality assessment.
  • Fraction of the cost and time of human evaluations.
  • Supports custom evaluation criteria and scoring rubrics.

RAG Evaluation

  • Evaluate end-to-end RAG systems including retrieval quality and generation accuracy.
  • Metrics: context relevance, answer faithfulness, answer relevance.
  • Can evaluate fully built applications, not just individual model responses.

Human Evaluation Workflows

  • Set up human evaluation jobs with custom work teams.
  • Evaluators rate model responses on custom criteria (helpfulness, harmlessness, coherence).
  • Supports comparison of multiple models side-by-side.
  • Integrates with Amazon SageMaker Ground Truth for workforce management.

Model Comparison

  • Compare multiple foundation models on the same evaluation dataset.
  • Side-by-side results with statistical significance testing.
  • Helps select optimal model balancing quality, latency, and cost for specific use cases.

Amazon Bedrock Fine-Tuning & Customization

Amazon Bedrock provides multiple model customization techniques to adapt foundation models to specific tasks and domains.

Continued Pre-Training

  • Extend a model’s knowledge by training on unlabeled, domain-specific data.
  • Adapts the model’s language understanding to specialized vocabularies and concepts.
  • Training data format: Plain text documents in S3 (no prompt-completion pairs needed).
  • Best for: Domain adaptation (medical, legal, financial terminology).

Instruction Fine-Tuning

  • Train models on labeled prompt-completion pairs to improve task-specific performance.
  • Training data format: JSONL with {"prompt": "...", "completion": "..."} or chat-format messages.
  • Supports validation datasets for monitoring overfitting.
  • Configurable hyperparameters: epochs, batch size, learning rate, warmup steps.
  • Best for: Improving performance on specific tasks like classification, extraction, or formatting.

Reinforcement Fine-Tuning (RFT) – GA December 2025

  • Advanced customization using reward-based learning without requiring large labeled datasets.
  • Bring your own prompts or use existing Bedrock API invocation logs as training data.
  • Delivers 66% accuracy gains on average over base models.
  • Supported models: Amazon Nova, OpenAI GPT OSS 20B, Qwen 3 32B (Feb 2026).
  • Automates the reinforcement workflow — accessible to developers without deep ML expertise.
  • Built-in evaluation tools to compare RFT model against the base model.
  • Supports iterative fine-tuning: build upon previously customized models for continuous improvement.
  • Training data: JSONL with prompts; rewards are computed by a verifier/judge function you define.

Model Distillation

  • Transfer knowledge from a larger “teacher” model to a smaller “student” model.
  • Provide input prompts in JSONL; Bedrock generates responses from the teacher model and uses them to fine-tune the student.
  • Achieves teacher-model quality at student-model cost and latency.
  • Best for: Reducing inference costs while maintaining quality for specific use cases.

Training Data Format Summary

Method Data Format Data Requirements
Continued Pre-Training Plain text files Unlabeled domain corpus
Instruction Fine-Tuning JSONL (prompt/completion) Min ~100 examples, recommended 1000+
Reinforcement Fine-Tuning JSONL (prompts) + verifier Prompts + reward/judge function
Distillation JSONL (input prompts) Prompts only; teacher generates completions

Amazon Bedrock Prompt Flows & Management

Amazon Bedrock provides tools for creating, managing, and orchestrating prompts and generative AI workflows.

Prompt Management (GA November 2024)

  • Streamlined interface to create, evaluate, version, and share prompts.
  • Prompt Versioning – Each version is linked to its evaluation results. Supports rollback, audit trails, and A/B testing.
  • Prompt Variables – Template variables (e.g., {{context}}, {{question}}) for dynamic prompt construction.
  • Model Selection – Test the same prompt across different foundation models to compare performance.
  • Sharing – Share prompts across teams and projects for collaboration and reuse.
  • Treats prompts as critical as code — version-controlled and reproducible.

Bedrock Flows (Visual Flow Builder)

  • Intuitive visual builder to create, test, and deploy generative AI workflows.
  • Drag-and-drop interface to link Prompts, Agents, Knowledge Bases, Guardrails, and AWS services.
  • Node Types:
    • Prompt Node – Invokes a foundation model with a configured prompt.
    • Agent Node – Invokes a Bedrock Agent for autonomous task execution.
    • Knowledge Base Node – Retrieves relevant information from a Knowledge Base.
    • Condition Node – Routes flow based on conditional logic.
    • Lambda Node – Executes custom business logic.
    • Lex Node – Integrates with Amazon Lex for conversational interfaces.
    • Iterator Node – Loops over collections of items.
    • Collector Node – Aggregates results from parallel or iterated executions.
  • Serverless execution — pricing based on resources consumed (model invocations, Lambda, etc.).
  • Supports versioning and aliases for deployment management.

A/B Testing for Prompts

  • Version-control prompts and compare performance across versions.
  • Use Bedrock Evaluations to measure quality differences between prompt versions.
  • Deploy prompt versions with aliases and switch traffic between versions.
  • Combine with AgentCore A/B testing for full agent-level experimentation.

Comparison: Bedrock Knowledge Bases vs Amazon Kendra vs OpenSearch

Feature Bedrock Knowledge Bases Amazon Kendra Amazon OpenSearch Service
Primary Purpose RAG for generative AI Intelligent enterprise search Full-text search, analytics, vector search
Search Type Semantic + hybrid (keyword) Semantic + keyword (NLU-based) Full-text, keyword, vector (k-NN), hybrid
RAG Integration Native (fully managed) Via Retrieve API + custom orchestration Custom implementation required
Management Fully managed Fully managed Managed clusters or serverless
Data Sources S3, Confluence, SharePoint, Salesforce, Web Crawler, Google Drive, OneDrive 40+ connectors (S3, SharePoint, Salesforce, databases, ServiceNow, etc.) Custom ingestion pipelines
Chunking Fixed, semantic, hierarchical, no chunking Automatic (document passages) Custom (application-managed)
Vector Store Managed or BYO (OpenSearch, Aurora, Pinecone, Redis, MongoDB) Built-in (not configurable) Native k-NN plugin
Metadata Filtering Yes (custom JSON metadata) Yes (document attributes) Yes (field-level filtering)
Access Control Via metadata filtering Native ACL integration (SharePoint, etc.) Fine-grained access control
Multimodal Yes (FM parsing for images/tables) Limited (document text extraction) Yes (with custom embeddings)
Re-ranking Yes (Managed KB) Built-in semantic re-ranking Custom (Learning to Rank plugin)
Best For GenAI applications, RAG pipelines, AI agents Enterprise search portals, FAQ systems, document discovery Custom search, log analytics, observability, full control over retrieval
Pricing Model Pay per query + storage (vector store) Index-based (provisioned capacity) Instance/serverless OCU hours

AWS Certification Exam Practice Questions

Question 1:

A company is building a RAG application using Amazon Bedrock Knowledge Bases. Their documents contain complex tables, charts, and embedded images in PDF format. Standard text extraction is losing critical information. Which parsing approach should they use to improve data quality?

  1. Fixed-size chunking with 512 tokens
  2. Foundation model parsing with a customized extraction prompt
  3. Semantic chunking with sentence boundary detection
  4. Amazon Textract with default settings
Show Answer

Answer: B – Foundation model parsing uses an FM (e.g., Claude) to interpret complex document layouts including tables, charts, and images. It allows customizable extraction prompts to capture the specific information needed. While Textract handles OCR, FM parsing provides superior understanding of document structure and semantics.

Question 2:

A financial services company wants their Bedrock Agent to execute a trade only after receiving explicit user approval. Which feature should they implement?

  1. Guardrails with denied topics
  2. Return of Control with user confirmation
  3. Custom orchestration with Lambda
  4. Multi-agent collaboration with a supervisor
Show Answer

Answer: B – Return of Control (ROC) allows the agent to return the proposed action to the calling application instead of executing it directly. Combined with user confirmation configuration, this ensures sensitive actions like trade execution require explicit user approval before proceeding.

Question 3:

An organization is deploying multiple AI agents that need to access different enterprise tools and data sources on behalf of users. Each agent requires its own identity with scoped permissions and integration with their existing Okta identity provider. Which service should they use?

  1. Amazon Bedrock Agents with IAM roles
  2. Amazon Bedrock AgentCore Identity
  3. AWS IAM Identity Center with SAML federation
  4. Amazon Cognito User Pools
Show Answer

Answer: B – Amazon Bedrock AgentCore Identity provides robust identity and access management for agents at scale. It’s compatible with existing identity providers (including Okta) without requiring user migration, assigns unique workload identities to agents, and provides centralized identity management regardless of deployment environment.

Question 4:

A healthcare company uses Amazon Bedrock to generate patient-facing content. They need to ensure responses don’t contain hallucinated medical information and are always grounded in the reference documents provided. Which Guardrails feature provides the MOST reliable hallucination detection?

  1. Content filters set to High
  2. Contextual grounding check
  3. Denied topics for medical advice
  4. Automated Reasoning checks
Show Answer

Answer: D – Automated Reasoning checks use formal verification methods grounded in mathematical logic to validate AI-generated outputs. They provide provably correct, auditable assessments and can detect hallucinations, suggest corrections, and highlight unstated assumptions — making them the most reliable option for critical healthcare content. Contextual grounding is useful but probabilistic, while Automated Reasoning is deterministic.

Question 5:

A company wants to improve their foundation model’s performance on a specific classification task but has limited labeled data (only 50 examples). They do have access to a high-quality larger model and 5,000 unlabeled prompts representative of their use case. Which customization approach is MOST appropriate?

  1. Instruction fine-tuning with the 50 labeled examples
  2. Continued pre-training with domain documents
  3. Model distillation using the larger model as teacher
  4. Reinforcement fine-tuning with a reward function
Show Answer

Answer: C – Model distillation transfers knowledge from a larger “teacher” model to a smaller “student” model. The company provides their 5,000 unlabeled prompts, Bedrock generates high-quality responses from the teacher model, and uses those to fine-tune the student. This achieves teacher-model quality at lower cost without requiring labeled data. With only 50 labeled examples, instruction fine-tuning would likely underperform.

Frequently Asked Questions

What is a Bedrock Knowledge Base?

A Bedrock Knowledge Base connects your data sources (S3, web pages, Confluence, etc.) to foundation models via RAG. It automatically chunks documents, generates embeddings, stores them in a vector database, and retrieves relevant context to ground model responses in your data.

What are Bedrock Guardrails?

Guardrails are configurable safety controls that filter harmful content, block denied topics, mask PII, and verify response grounding. They can be applied to any Bedrock model call, agent, or knowledge base to ensure responsible AI usage within your organization’s policies.

How do Bedrock Agents work?

Bedrock Agents use a foundation model to break down user requests into steps, determine which tools/APIs to call (action groups), execute them, and synthesize results. They support multi-step reasoning, code execution, memory across sessions, and can collaborate with other agents.

References

AWS AI & ML Services Cheat Sheet – AIF-C01 & AIP-C01

AWS AI & Generative AI Services – Cheat Sheet

This is the definitive cheat sheet covering AI, Machine Learning, and Generative AI services on AWS — designed as the anchor page for both the AWS Certified AI Practitioner (AIF-C01) and AWS Certified Generative AI Developer – Professional (AIP-C01) exams.

Related Posts:

AI/ML/Generative AI Fundamentals

AI vs ML vs Deep Learning vs Generative AI

Concept Definition Examples
Artificial Intelligence (AI) Broad field of computer science focused on creating systems that can perform tasks requiring human intelligence Rule-based systems, expert systems, robotics
Machine Learning (ML) Subset of AI where systems learn from data without being explicitly programmed Fraud detection, recommendations, forecasting
Deep Learning (DL) Subset of ML using neural networks with multiple layers (deep neural networks) to learn complex patterns Image recognition, NLP, speech recognition
Generative AI (GenAI) Subset of DL that creates new content (text, images, code, video, audio) by learning patterns from training data ChatGPT, DALL-E, Amazon Nova, Claude

Learning Paradigms

  • Supervised Learning — model learns from labeled data (input-output pairs). Used for classification (spam/not spam) and regression (price prediction).
  • Unsupervised Learning — model finds patterns in unlabeled data. Used for clustering (customer segmentation), anomaly detection, and dimensionality reduction.
  • Semi-supervised Learning — combines small amount of labeled data with large amounts of unlabeled data.
  • Reinforcement Learning (RL) — agent learns by interacting with an environment, receiving rewards/penalties. Used for game playing, robotics, and RLHF in LLMs.
  • Self-supervised Learning — model generates its own labels from input data (e.g., predicting masked tokens). Used for pre-training foundation models.

Neural Networks Basics

  • Neurons/Nodes — basic computation units that receive inputs, apply weights, add bias, and pass through an activation function.
  • Layers — Input layer (receives data), Hidden layers (process data), Output layer (produces result).
  • Weights & Biases — parameters learned during training that determine the model’s behavior.
  • Activation Functions — introduce non-linearity (ReLU, Sigmoid, Softmax, Tanh).
  • Backpropagation — algorithm to compute gradients and update weights by propagating errors backward.
  • Loss Function — measures how far the model’s predictions are from actual values.
  • Transformer Architecture — foundation of modern LLMs; uses self-attention mechanism to process entire sequences in parallel (introduced in “Attention is All You Need” paper, 2017).
  • CNNs (Convolutional Neural Networks) — specialized for image/spatial data.
  • RNNs/LSTMs — sequential data processing (largely superseded by Transformers for NLP).
  • GANs (Generative Adversarial Networks) — generator + discriminator for image generation.
  • Diffusion Models — generate images/video by learning to denoise (e.g., Stable Diffusion, Nova Canvas).

📖 Deep Dive Guides: Bedrock vs SageMaker | RAG Architecture | Prompt Engineering | Responsible AI | AI Services Decision Guide

Foundation Model Concepts

Pre-training

  • Training a model on massive datasets (trillions of tokens) to learn general language/world knowledge.
  • Extremely expensive and resource-intensive (millions of GPU hours).
  • Results in a base model with broad capabilities but no specific task alignment.
  • Common objectives: next-token prediction (GPT-style), masked language modeling (BERT-style).

Fine-tuning Techniques

  • Instruction Tuning — fine-tuning on instruction-response pairs to make the model follow instructions better.
  • RLHF (Reinforcement Learning from Human Feedback) — trains a reward model from human preferences, then uses RL (PPO) to optimize the language model against that reward. Used to align models with human values.
  • DPO (Direct Preference Optimization) — simpler alternative to RLHF that directly optimizes on preference pairs without a separate reward model. More stable training.
  • LoRA / QLoRA — Parameter-Efficient Fine-Tuning (PEFT) that freezes base model and trains small adapter layers. Reduces compute by 90%+.
  • Continued Pre-training — further pre-training on domain-specific data to teach the model new knowledge (e.g., medical, legal, financial).
  • Distillation — training a smaller “student” model to mimic a larger “teacher” model’s outputs. Reduces inference cost while retaining most capability.

RAG (Retrieval Augmented Generation)

  • Combines information retrieval with text generation to ground LLM responses in external knowledge.
  • How it works: Query → Retrieve relevant documents from knowledge base → Augment prompt with retrieved context → Generate response.
  • Benefits: Reduces hallucinations, enables up-to-date responses, no model retraining needed, source attribution.
  • Components: Document ingestion, chunking strategy, embedding model, vector database, retrieval algorithm, re-ranking.
  • AWS Implementation: Amazon Bedrock Knowledge Bases, Amazon Kendra (GenAI Index), OpenSearch vector search.

Prompt Engineering

  • Zero-shot — asking the model to perform a task without any examples. Relies on pre-trained knowledge.
  • Few-shot (In-Context Learning) — providing a few examples in the prompt to guide the model’s output format and behavior.
  • Chain-of-Thought (CoT) — asking the model to “think step by step” to improve reasoning on complex tasks.
  • System Prompts — instructions that define the model’s role, behavior, and constraints.
  • Prompt Templates — reusable prompt structures with placeholders for dynamic content.
  • Prompt Chaining — breaking complex tasks into sequential prompts where output of one feeds input of next.

Key Parameters & Concepts

  • Tokenization — splitting text into tokens (subwords/words). Models process tokens, not characters. Affects context limits and pricing.
  • Embeddings — dense vector representations of text/images in high-dimensional space. Semantically similar items have similar embeddings. Used for search, RAG, and clustering.
  • Temperature — controls randomness of output. Low (0-0.3) = deterministic/focused, High (0.7-1.0) = creative/diverse. 0 = greedy decoding.
  • Top-p (Nucleus Sampling) — considers only tokens whose cumulative probability exceeds p. Top-p 0.9 = considers top 90% probability mass.
  • Top-k — limits token selection to the k most likely next tokens.
  • Context Window — maximum number of tokens (input + output) the model can process at once. Ranges from 4K to 1M+ tokens in modern models.
  • Max Tokens — limits the length of generated output.
  • Stop Sequences — tokens that signal the model to stop generating.
  • Hallucination — when a model generates plausible-sounding but factually incorrect information.
  • Grounding — techniques to anchor model responses in factual data (RAG, tool use, citations).

Responsible AI

Core Principles

  • Fairness & Bias — ensuring models don’t discriminate based on protected attributes (race, gender, age). Types: selection bias, measurement bias, representation bias, confirmation bias.
  • Explainability — ability to understand and explain how/why a model made a specific prediction. Techniques: SHAP, LIME, attention visualization, feature importance.
  • Transparency — openly communicating model capabilities, limitations, and intended use cases to users.
  • Robustness — model performs reliably across different inputs, including adversarial examples and edge cases.
  • Privacy & Security — protecting training data, user inputs, and model outputs. Preventing data leakage and prompt injection.
  • Governance — organizational policies, processes, and controls for responsible AI development and deployment.
  • Safety — preventing harmful outputs including toxic content, misinformation, and dangerous instructions.

AWS Responsible AI Tools

  • AWS AI Service Cards — transparency documentation for AWS AI services covering intended use cases, limitations, responsible AI design choices, and deployment best practices.
  • Amazon Bedrock Guardrails — configurable safeguards for GenAI applications:
    • Content filters (hate, insults, sexual, violence, misconduct)
    • Denied topics (topic avoidance policies)
    • Word/phrase filters
    • Sensitive information filters (PII redaction)
    • Contextual grounding checks (hallucination detection)
    • Automated Reasoning Checks (logical verification)
  • SageMaker Clarify — detects bias in data and models, provides feature attributions for explainability (note: moving to maintenance July 2026 for new customers).
  • Model Cards — documentation that describes a model’s intended use, performance metrics, limitations, and ethical considerations. Supported in SageMaker Model Registry.
  • Human-in-the-Loop (HITL) — keeping humans involved in AI decision-making for high-stakes scenarios. AWS A2I (Augmented AI) provided review workflows (note: moving to maintenance July 2026 for new customers).
  • Amazon Bedrock Model Evaluation — automatic evaluation (accuracy, robustness, toxicity), human evaluation, and LLM-as-a-judge for quality assessment.

Bias Mitigation Strategies

  • Pre-processing: Balance training data, remove sensitive attributes, data augmentation.
  • In-processing: Regularization techniques, adversarial debiasing, fairness constraints during training.
  • Post-processing: Calibrate outputs, threshold adjustment, reject option classification.
  • Monitoring: Continuously track model performance across demographic groups in production.

Agentic AI

What are AI Agents?

  • AI systems that can autonomously plan, reason, and execute multi-step tasks to achieve goals.
  • Go beyond simple prompt-response by taking actions, using tools, and adapting based on outcomes.
  • Can operate for extended periods, making decisions and course-correcting without human intervention.

Key Concepts

  • Tool Use (Function Calling) — agents invoke external tools (APIs, databases, code execution) to gather information or perform actions.
  • Multi-step Reasoning — breaking complex problems into steps, executing sequentially with intermediate evaluations.
  • Orchestration — coordinating multiple agents or components to complete complex workflows. Patterns: sequential, parallel, routing, supervisor.
  • Memory — maintaining context across interactions:
    • Short-term memory (conversation context within a session)
    • Long-term memory (persistent knowledge across sessions)
    • Episodic memory (past experiences and outcomes)
  • Planning — decomposing goals into actionable sub-tasks, determining execution order, handling dependencies.
  • Reflection — agents evaluate their own outputs and self-correct errors before responding.
  • Model Context Protocol (MCP) — open standard for connecting AI agents with external tools and data sources.
  • Agent2Agent (A2A) — protocol for inter-agent communication and collaboration.

AWS Agentic AI Services

  • Amazon Bedrock Agents — create agents that can break down tasks, call APIs, and access knowledge bases (transitioning to Bedrock Agents Classic, July 2026).
  • Amazon Bedrock AgentCore (GA 2025/2026) — enterprise-grade infrastructure for deploying and operating AI agents at scale:
    • AgentCore Runtime — serverless, scalable environment to host agents
    • AgentCore Gateway — MCP-compatible tool connectivity
    • AgentCore Identity — per-agent identity and least-privilege access
    • AgentCore Observability — monitoring, tracing, and debugging
    • AgentCore Code Interpreter — secure sandboxed code execution
    • AgentCore Optimization — continuous quality evaluation and improvement
  • Amazon Nova Act — browser automation agent for web-based tasks.
  • AWS Step Functions — orchestrate multi-step agent workflows with state management.

AWS AI Service Stack

AWS organizes AI/ML services into three layers:

Layer 1: AI Infrastructure (Compute & Silicon)

Service/Chip Purpose Key Details
AWS Trainium Custom chip for ML training Trainium2 (4x perf vs gen1), Trainium3 (3nm, 4.4x vs Trn2, GA Dec 2025)
AWS Inferentia Custom chip for ML inference Inferentia2 (4x throughput, 10x lower latency vs gen1), Inf2 instances
EC2 UltraServers Multi-instance AI clusters Trn2 UltraServers (64 Trainium2 chips, NeuronLink interconnect), Trn3 UltraServers
AWS AI Factories On-premises AI infrastructure Deploy AI training/inference infrastructure in customer data centers
AWS Neuron SDK Software for Trainium/Inferentia Integrates with PyTorch, JAX, TensorFlow. Compiler, runtime, profiler
EC2 P5/P5e/P5en GPU instances (NVIDIA) H100/H200 GPUs for training and inference
EC2 G6/G6e GPU instances (NVIDIA) L4/L40S GPUs for inference and graphics
AWS Graviton Arm-based general compute Best price-performance for inference serving and general ML workloads
Amazon EFA Elastic Fabric Adapter Low-latency networking for distributed training across instances

Layer 2: ML Platform (SageMaker AI)

  • Amazon SageMaker AI (rebranded from SageMaker, late 2024) — end-to-end ML platform for building, training, and deploying models.
Component Purpose
SageMaker Unified Studio Single IDE for data, analytics, and ML/AI development (integrates Bedrock)
SageMaker Canvas No-code ML for business analysts — point-and-click model building
SageMaker HyperPod Managed clusters for large-scale distributed training with auto-recovery
SageMaker Pipelines CI/CD for ML — define, automate, and manage ML workflows
SageMaker Feature Store Centralized repository for ML features (online + offline store)
SageMaker MLflow Managed MLflow for experiment tracking, model versioning, deployment
SageMaker Model Registry Central catalog to version, manage, and deploy models with approval workflows
SageMaker JumpStart Model hub with 400+ pre-trained models, one-click deploy, fine-tuning
SageMaker Endpoints Real-time inference hosting (single model or multi-model endpoints)
SageMaker Training Managed training with built-in algorithms, distributed training, spot instances
SageMaker Processing Run data processing and evaluation jobs at scale
SageMaker Lakehouse Unified access to data lakes and warehouses for ML

Layer 3: AI Applications & Services

Amazon Bedrock (Generative AI Platform)

  • Amazon Bedrock — fully managed service for building GenAI applications with foundation models.
  • Model Providers: Amazon (Nova), Anthropic (Claude), Meta (Llama), Mistral, Cohere, AI21 Labs, OpenAI, Stability AI.
  • Key Capabilities:
    • Model Inference — Converse API, InvokeModel, streaming, batch inference, cross-region inference
    • Knowledge Bases — managed RAG with vector stores (OpenSearch, Aurora, Pinecone, etc.)
    • Managed Knowledge Base (2026) — fully managed RAG primitive (storage + retrieval + embeddings + re-ranking)
    • Agents — multi-step task execution with tool use (transitioning to AgentCore)
    • Guardrails — content filtering, topic avoidance, PII protection, grounding checks
    • Model Customization — fine-tuning, continued pre-training, distillation
    • Model Evaluation — automatic metrics, human evaluation, LLM-as-judge
    • Flows — visual workflow builder for chaining prompts, agents, and knowledge bases

Amazon Nova Models

  • Nova Micro — text-only, fastest, lowest cost (128K context). Ideal for classification, summarization.
  • Nova Lite — multimodal (text + image + video input), cost-effective (300K context).
  • Nova Pro — balanced multimodal, strong accuracy/speed/cost trade-off (300K context).
  • Nova Premier — most capable, complex reasoning, agentic workflows, teacher model (1M context).
  • Nova Canvas — image generation with editing controls and watermarking.
  • Nova Reel — video generation (1280×720, 24fps, up to 6 seconds).
  • Nova Sonic — speech-to-speech for real-time conversational AI.
  • Nova 2 (Dec 2025) — next generation with extended thinking (adjustable levels), 1M token context, built-in tools:
    • Nova 2 Lite — fast, cost-effective reasoning model
    • Nova 2 Pro — most intelligent, complex agentic tasks
    • Nova 2 Sonic — next-gen speech with async tool calling
    • Nova 2 Omni — unified multimodal I/O (text + image generation)
  • Nova Act — browser automation agent for web tasks.
  • Nova Forge — custom model building program (open training).

Amazon Q Developer & Q Business

  • Amazon Q Developer — AI-powered coding assistant (evolved from CodeWhisperer):
    • Code generation, completion, and inline suggestions (15+ languages)
    • Agentic coding (autonomous multi-step development)
    • Security vulnerability scanning
    • Code transformation and modernization (Java, .NET upgrades)
    • CLI integration (natural language → commands)
    • Debugging and troubleshooting with CloudWatch integration
  • Amazon Q Business — AI assistant for enterprise knowledge (connects to 40+ data sources):
    • Natural language answers from company data
    • Document summarization and content creation
    • Task automation with plugins
    • Access control respecting existing permissions (ACL-aware)
  • Amazon Q in Console — chat assistant in AWS Management Console for troubleshooting and guidance.
⚠️ Note (July 2026): Amazon Q Developer IDE plugins reaching end-of-support April 2027. Successor is Kiro — AWS’s agentic development environment. Amazon Q Business and Amazon Kendra entering maintenance mode for new customers July 30, 2026.

AWS AI/ML Application Services

Service Category Purpose
Amazon Comprehend NLP Sentiment analysis, entity recognition, key phrase extraction, language detection, topic modeling
Amazon Rekognition Computer Vision Object/face detection, content moderation, celebrity recognition, text in images, custom labels
Amazon Polly Speech Text-to-speech with neural voices (60+ voices, 30+ languages), SSML support
Amazon Transcribe Speech Speech-to-text (ASR), real-time and batch, custom vocabularies, speaker identification
Amazon Translate Language Neural machine translation (75+ languages), real-time and batch, custom terminology
Amazon Textract Document AI OCR + intelligent document processing, extracts text, tables, forms, and queries from documents
Amazon Lex Conversational AI Build chatbots and voice bots with automatic speech recognition and NLU
Amazon Kendra Search Enterprise search with NLP, semantic understanding, GenAI index for RAG ⚠️ Maintenance mode July 2026
Amazon Personalize Recommendations Real-time personalization and recommendations (same tech as Amazon.com)
Amazon Forecast Time Series Time series forecasting using ML (closed to new customers since 2024)
Amazon HealthScribe Healthcare Generate clinical documentation from patient-clinician conversations
Amazon Bedrock AgentCore Agentic AI Deploy, manage, and optimize AI agents at scale (GA 2025/2026)

Decision Matrix: Use Case → Recommended Service

Use Case Recommended Service Why
Build GenAI apps with FMs (no ML expertise) Amazon Bedrock Serverless, multi-model, fully managed
Custom model training from scratch SageMaker AI + Trainium Full control over training, data, and infrastructure
Enterprise Q&A over company documents Amazon Q Business / Bedrock Knowledge Bases Connects to 40+ data sources, ACL-aware
AI coding assistant Amazon Q Developer / Kiro Inline completions, security scanning, agentic coding
Build and deploy AI agents Bedrock AgentCore Serverless runtime, MCP tools, identity, observability
Chatbot / virtual assistant Amazon Lex + Bedrock Lex for structure, Bedrock for natural responses
Document processing (forms, invoices) Amazon Textract Extracts structured data from documents at scale
Content moderation (images/video) Amazon Rekognition Pre-built moderation labels, custom labels for specifics
Sentiment analysis on customer feedback Amazon Comprehend Pre-built NLP models, no training needed
Real-time product recommendations Amazon Personalize Same ML tech as Amazon.com, real-time updates
Transcribe meetings/calls Amazon Transcribe Real-time ASR, speaker diarization, custom vocab
Generate speech from text Amazon Polly Neural TTS, SSML support, multiple voices
Translate content at scale Amazon Translate 75+ languages, real-time, custom terminology
No-code ML for business users SageMaker Canvas Point-and-click, AutoML, visual interface
Fine-tune FMs on proprietary data Bedrock Custom Models / SageMaker JumpStart Bedrock for serverless; SageMaker for full control
Prevent harmful GenAI outputs Amazon Bedrock Guardrails Content filters, PII, grounding checks, topic avoidance
Cost-effective GenAI inference at scale Bedrock + Nova models (or Inferentia2/Trainium) Nova = lowest cost in class; custom silicon for self-hosted
Clinical documentation from conversations Amazon HealthScribe Purpose-built for healthcare, HIPAA eligible

Quick Reference: All AWS AI/ML Services

Service One-Liner
Amazon Bedrock Fully managed GenAI platform with multi-provider foundation models
Amazon Bedrock AgentCore Enterprise infrastructure for deploying and operating AI agents at scale
Amazon Nova Amazon’s family of foundation models (text, multimodal, speech, image, video)
Amazon Q Developer AI coding assistant with code generation, security scanning, and transformation
Amazon Q Business Enterprise AI assistant for Q&A and task automation over company data
Amazon SageMaker AI End-to-end ML platform for building, training, and deploying custom models
Amazon Comprehend NLP service for sentiment, entities, key phrases, language detection
Amazon Rekognition Computer vision for object/face detection, moderation, and custom labels
Amazon Polly Text-to-speech with neural and standard voices
Amazon Transcribe Automatic speech recognition (speech-to-text)
Amazon Translate Neural machine translation for 75+ languages
Amazon Textract Extract text, tables, and forms from documents (OCR+)
Amazon Lex Build conversational chatbots and voice bots
Amazon Kendra Intelligent enterprise search with NLP and GenAI index
Amazon Personalize Real-time ML-powered personalization and recommendations
Amazon HealthScribe Generate clinical notes from patient-clinician conversations
AWS Trainium Custom AI chip optimized for training (Trn2, Trn3 instances)
AWS Inferentia Custom AI chip optimized for inference (Inf2 instances)
AWS Neuron SDK SDK for running ML workloads on Trainium and Inferentia chips
Amazon SageMaker Canvas No-code ML model building for business analysts
Amazon SageMaker HyperPod Managed clusters for distributed training with auto fault recovery

Exam Tips

AIF-C01 — AWS Certified AI Practitioner

  • Format: 65 questions, 90 minutes, 700/1000 passing score.
  • Domains:
    • Domain 1: Fundamentals of AI and ML (20%)
    • Domain 2: Fundamentals of Generative AI (24%)
    • Domain 3: Applications of Foundation Models (28%) — largest domain, most technical
    • Domain 4: Guidelines for Responsible AI (14%)
    • Domain 5: Security, Compliance, and Governance for AI Solutions (14%)
  • Key Focus Areas:
    • Domains 2+3 = 52% of exam — master Bedrock, RAG, prompt engineering, fine-tuning
    • Know the difference between AI vs ML vs DL vs GenAI
    • Understand when to use Bedrock vs SageMaker
    • RAG architecture and when to use it vs fine-tuning
    • Responsible AI principles and Bedrock Guardrails
    • Temperature, top-p effects on output
    • Know all AWS AI services at a high level (what each does)

AIP-C01 — AWS Certified Generative AI Developer – Professional

  • Format: 85 questions, 180 minutes, 750/1000 passing score.
  • Domains:
    • Domain 1: FM Selection and Integration (26%)
    • Domain 2: Data Management and Optimization (22%)
    • Domain 3: Model Performance and Compliance (31%) — largest domain
    • Domain 4: Security and Governance (21%)
  • Key Focus Areas:
    • Deep hands-on knowledge of Bedrock APIs, agents, knowledge bases, guardrails
    • RAG implementation details (chunking strategies, embedding models, vector stores)
    • Model customization (when fine-tuning vs RAG vs prompt engineering)
    • Agentic AI patterns (tool use, multi-step, AgentCore)
    • SageMaker for custom training and deployment
    • Model evaluation and monitoring in production
    • Security: data encryption, VPC endpoints, IAM for Bedrock, prompt injection mitigation
    • Cost optimization (model selection, batch inference, provisioned throughput)

Common Exam Scenarios

  • “Least operational overhead” → Bedrock (serverless) over SageMaker (managed infrastructure)
  • “Custom model with proprietary data” → Fine-tuning on Bedrock or SageMaker depending on control needed
  • “Reduce hallucinations” → RAG with Knowledge Bases + Guardrails grounding checks
  • “Enterprise search over internal docs” → Amazon Q Business or Bedrock Knowledge Bases
  • “Control AI outputs for safety” → Bedrock Guardrails
  • “Lowest cost inference” → Nova Micro (text) or Nova Lite (multimodal) on Bedrock
  • “Deploy agents in production” → Bedrock AgentCore (serverless, scalable, observable)
  • “Train trillion-parameter model” → Trainium3 UltraServers + SageMaker HyperPod

Practice Questions

Question 1 (AIF-C01)

A company wants to reduce hallucinations in their generative AI application that answers customer questions about company policies. The application uses Amazon Bedrock. What is the MOST effective approach?

  1. Increase the model temperature to generate more diverse responses
  2. Implement Retrieval Augmented Generation (RAG) with Amazon Bedrock Knowledge Bases
  3. Fine-tune the foundation model on company documents
  4. Switch to a larger foundation model
Show Answer

Answer: B – RAG grounds responses in actual company documents, directly reducing hallucinations. Fine-tuning (C) teaches style/format but doesn’t guarantee factual accuracy for specific documents. Higher temperature (A) increases randomness. Larger models (D) don’t inherently reduce hallucinations.

Question 2 (AIF-C01)

Which combination of techniques helps ensure responsible AI in a generative AI application? (Select TWO)

  1. Increase the context window size
  2. Configure Amazon Bedrock Guardrails with content filters and denied topics
  3. Use the lowest-cost foundation model available
  4. Implement human review workflows for high-stakes decisions
  5. Maximize the temperature parameter for creative outputs
Show Answer

Answer: B, D – Bedrock Guardrails (B) provides configurable safety controls to filter harmful content. Human-in-the-loop (D) ensures human oversight for critical decisions. Context window size (A), model cost (C), and temperature (E) are not responsible AI techniques.

Question 3 (AIP-C01)

A developer is building an AI agent that needs to autonomously execute multi-step workflows, call external APIs, and maintain state across interactions. The solution must be production-grade with monitoring and minimal infrastructure management. Which AWS service should they use?

  1. Amazon Lex with Lambda fulfillment functions
  2. Amazon Bedrock AgentCore with AgentCore Runtime and Observability
  3. AWS Step Functions with SageMaker endpoints
  4. Amazon Q Business with custom plugins
Show Answer

Answer: B – Bedrock AgentCore provides serverless runtime for agents, MCP-compatible tool connectivity (Gateway), built-in observability, and identity management — purpose-built for production AI agents. Lex (A) is for chatbots, not autonomous agents. Step Functions (C) requires more infrastructure management. Q Business (D) is for enterprise knowledge, not custom agent workflows.

Question 4 (AIP-C01)

A team needs to fine-tune a foundation model on their proprietary dataset with minimal compute cost. The dataset contains 10,000 instruction-response pairs. Which approach provides the BEST balance of performance improvement and cost?

  1. Full fine-tuning of the entire model on Amazon SageMaker with P5 GPU instances
  2. Continued pre-training on Amazon Bedrock with the full dataset
  3. Parameter-efficient fine-tuning (LoRA) through Amazon Bedrock custom models
  4. Distilling the model into a smaller variant using Nova Premier as teacher
Show Answer

Answer: C – LoRA fine-tuning on Bedrock trains only small adapter layers (reduces compute by 90%+) while the base model stays frozen. It’s ideal for instruction-tuning with limited data. Full fine-tuning (A) is expensive. Continued pre-training (B) is for teaching new knowledge, not task alignment. Distillation (D) creates a smaller model but doesn’t directly fine-tune on task data.

Question 5 (AIF-C01 / AIP-C01)

A company wants to deploy a generative AI solution with the following requirements: lowest possible latency for text summarization, minimal cost, and no infrastructure management. Which combination should they choose?

  1. Amazon Nova Premier on Bedrock with provisioned throughput
  2. Amazon Nova Micro on Bedrock with on-demand pricing
  3. Claude 3 Opus on Bedrock with batch inference
  4. Self-hosted Llama model on SageMaker with Inferentia2 instances
Show Answer

Answer: B – Nova Micro is the fastest text-only model (200+ tokens/sec), lowest cost, and Bedrock provides serverless (no infrastructure). Premier (A) is more capable but slower and costlier. Batch (C) has high latency. Self-hosted (D) requires infrastructure management.

Frequently Asked Questions

What is the difference between AI, ML, and Generative AI?

AI is the broadest category — machines performing tasks that typically require human intelligence. ML is a subset that learns from data without explicit programming. Generative AI is a subset of ML that creates new content (text, images, code) using foundation models trained on vast datasets.

What is the difference between Amazon Bedrock and SageMaker?

Bedrock provides access to pre-built foundation models for generative AI applications without ML expertise. SageMaker is a full ML platform for building, training, and deploying custom models from scratch. Use Bedrock for gen AI apps; SageMaker when you need complete control over model training.

What AWS certifications cover AI and Generative AI?

AWS offers two AI-focused certifications: AIF-C01 (AI Practitioner) for foundational knowledge of AI/ML/Gen AI concepts and AWS services, and AIP-C01 (AI Professional) for practitioners building and deploying Gen AI solutions. Both require knowledge of Bedrock, SageMaker, and responsible AI.

Detailed Guides

Exam Prep: AWS AI Professional (AIP-C01) Exam Learning Path

References

AWS Firewall Manager – Centralized Security Policies

AWS Firewall Manager

  • AWS Firewall Manager is a security management service that simplifies administration and maintenance tasks across multiple accounts and resources for a variety of protections.
  • Firewall Manager enables centrally configuring and managing firewall rules across accounts and applications in an AWS Organization.
  • With Firewall Manager, protections are set up once and the service automatically applies them across accounts and resources, even as new accounts and resources are added.
  • Firewall Manager is particularly useful when protecting an entire organization rather than a small number of specific accounts, or when frequently adding new resources that need protection.
  • Firewall Manager provides centralized monitoring of DDoS attacks across the organization.
  • A Firewall Manager administrator account (delegated from the Organizations management account) manages all policies centrally.

AWS Firewall Manager Key Features

  • Centralized Security Policy Management
    • Create and enforce security policies across all accounts in an AWS Organization from a single administrator account.
    • Policies are applied automatically to existing resources and to new resources as they are created.
    • Supports hierarchical rule enforcement — centrally applied rules are constantly monitored for accidental removal or mishandling.
  • Auto-Remediation of Non-Compliant Resources
    • Automatically bring non-compliant resources into compliance by deploying protections (e.g., creating WAF Web ACLs, associating security groups, deploying Network Firewall endpoints).
    • Can be configured to either auto-remediate or notify only, allowing a phased rollout.
    • Best practice is to start without auto-remediation to identify resources requiring manual handling, then enable auto-remediation when confidence is established.
  • Cross-Account Protection Policies
    • Integrated with AWS Organizations to automatically discover all accounts.
    • Policies can be scoped to all accounts or specific OUs and accounts.
    • New in-scope accounts that join the organization are automatically protected.
  • Compliance Dashboard with Notifications
    • Visual dashboard to quickly view protected AWS resources, identify non-compliant resources, and take action.
    • SNS notification streams for configuration changes.
    • Reports non-compliant issues including VPCs and accounts missing protections.
  • Hierarchical Rule Enforcement
    • Allows applying protection policies hierarchically — centrally mandated rules can be enforced while delegating application-specific rule creation to individual accounts.
    • For WAF policies, first and last rule groups are enforced centrally, while account owners can add rules in between.
  • Third-Party Firewall Support
    • Centrally deploy and monitor AWS Marketplace subscribed third-party cloud firewalls (e.g., Palo Alto Networks Cloud NGFW, Fortinet) across all VPCs in the organization.
    • Automates cross-account deployment of firewalls, association of rules, and VPC route configuration.

AWS Firewall Manager Supported Policy Types

  • Firewall Manager supports multiple types of protection policies, similar to how Amazon RDS supports multiple database engines.

AWS WAF Policy

  • Centrally deploys AWS WAF Web ACLs with rule groups across Application Load Balancers, API Gateways, Amazon CloudFront distributions, AWS AppSync GraphQL APIs, Amazon Cognito user pools, AWS App Runner services, and AWS Verified Access instances.
  • Defines first and last rule groups that are enforced centrally — individual accounts can add rules between them.
  • Supports AWS Managed Rules and Marketplace managed rule groups.
  • Automatically creates Web ACLs in member accounts and associates them with in-scope resources.

AWS Shield Advanced Policy

  • Applies Shield Advanced protections across the organization for specified resource types.
  • Protects Application Load Balancers, Classic Load Balancers, Elastic IP addresses, CloudFront distributions, and Global Accelerator accelerators.
  • Automatically subscribes in-scope accounts to Shield Advanced.
  • Associates empty WAF Web ACLs with resources for DDoS mitigation layer.

Amazon VPC Security Group Policy

  • Three types of security group policies:
    • Common security groups — Creates and applies a baseline security group across EC2 instances, ENIs, and Elastic Load Balancers in VPCs.
    • Auditing security groups — Defines guardrails for what security group rules are allowed/disallowed, detects overly permissive rules.
    • Usage auditing security groups — Identifies unused and redundant security groups for cleanup.
  • Continuously monitors security groups for compliance and can auto-remediate violations.

Amazon VPC Network ACL (NACL) Policy

  • Centrally manages VPC network access control lists across the organization (added April 2024).
  • Defines first and last rules for inbound and outbound traffic — individual accounts can create custom rules in between.
  • Enforces presence and ordering of rules in network ACLs within policy scope.
  • Reports non-compliance for NACLs that don’t match the policy configuration.

AWS Network Firewall Policy

  • Centrally deploys AWS Network Firewall endpoints across VPCs in the organization.
  • Supports three deployment models:
    • Distributed — Firewall endpoints deployed in each VPC within policy scope.
    • Centralized — Single firewall in an inspection VPC.
    • Import existing firewalls — Import existing Network Firewalls for centralized management.
  • Automatically manages VPC route tables to route traffic through firewall endpoints.
  • Changes to centrally configured rules are automatically deployed to all accounts and VPCs.

Amazon Route 53 Resolver DNS Firewall Policy

  • Centrally associates VPCs with Route 53 Resolver DNS Firewall rule groups across the organization.
  • Filters DNS queries to block resolution of known malicious domains.
  • Supports shared domain lists for consistent DNS filtering across all accounts.
  • Prevents DNS exfiltration and C2 communications.

Palo Alto Networks Cloud NGFW Policy (Third-Party)

  • Centrally deploys Palo Alto Networks Cloud NGFW resources and rulestacks across all accounts.
  • Supports both distributed and centralized deployment models.
  • Provides advanced threat prevention capabilities including App-ID, URL filtering, DNS Security, WildFire, and Enterprise DLP.
  • Managed through either AWS Firewall Manager native policy or Panorama Cloud Device Groups.
  • Requires active Cloud NGFW subscription from AWS Marketplace.

Fortinet FortiGate Cloud Native Firewall Policy (Third-Party)

  • Centrally deploys Fortinet FortiGate firewalls across VPCs using Firewall Manager.
  • Available through AWS Marketplace subscription.

AWS Firewall Manager Prerequisites

  • AWS Organizations
    • Accounts must be part of an AWS Organization with all features enabled.
    • Organization management account designates a Firewall Manager administrator (delegated administrator).
  • AWS Config
    • AWS Config must be enabled in all accounts and Regions where Firewall Manager policies will be applied.
    • Config records resource configuration changes that Firewall Manager uses to track compliance.
    • Firewall Manager creates Config rules automatically per policy per account to monitor compliance.
  • Firewall Manager Administrator Account
    • Must be a member account in the organization (or management account).
    • Designated by the Organizations management account.
    • Uses a delegated administrator model — can be the management account or a dedicated security account.
    • Best practice: Use a dedicated security account (not the management account) as the Firewall Manager administrator.
  • AWS WAF (for WAF policies)
    • Must use AWS WAF (not WAF Classic) for new policies.
  • Shield Advanced Subscription (for Shield policies)
    • Required only if creating Shield Advanced policies.
    • Shield Advanced subscription fee applies ($3,000/month per organization).
  • Third-Party Marketplace Subscriptions (for third-party policies)
    • Active subscription to the third-party firewall product in AWS Marketplace is required in all target accounts.

Policy Scope and Auto-Remediation

Policy Scope

  • Firewall Manager policies can be scoped using:
    • Account scope — Include all accounts in the organization, specific OUs, or specific accounts. Exclude specific accounts or OUs.
    • Resource type — Target specific resource types (e.g., ALBs, CloudFront distributions, EC2 instances).
    • Resource tags — Include or exclude resources based on tags. Supports both inclusion and exclusion tag lists.
  • Specifying an OU is equivalent to specifying all accounts in that OU and any child OUs, including accounts added later.
  • Best practice: Exclude the Firewall Manager administrator account from security group policies.

Auto-Remediation

  • When enabled, Firewall Manager automatically applies protections to non-compliant resources:
    • WAF policies — Creates Web ACLs and associates them with unprotected resources.
    • Shield policies — Enables Shield Advanced protection and associates empty Web ACLs.
    • Security group policies — Creates and applies security groups, removes non-compliant rules.
    • Network Firewall policies — Creates firewall endpoints and configures VPC route tables.
    • DNS Firewall policies — Associates rule groups with VPCs.
    • NACL policies — Updates network ACLs to match policy rules.
  • When disabled, Firewall Manager reports non-compliance but does not make changes — useful for monitoring mode.
  • Recommended approach: Start with auto-remediation disabled to identify resources requiring manual handling, then enable it when confident in the policy scope.

Integration with AWS Security Hub

  • Firewall Manager integrates natively with AWS Security Hub to send compliance findings.
  • Findings are generated for:
    • Resources that are out of compliance with Firewall Manager policies.
    • Attacks detected by Shield Advanced.
    • Resources missing expected protections.
  • Security Hub aggregates findings across accounts and Regions for centralized visibility.
  • Enables SOC teams to track and respond to compliance drift from a single pane of glass.
  • Supports automated remediation workflows when combined with Security Hub custom actions and EventBridge.
  • Integration can be enabled/disabled from the Security Hub console under Integrations.

Cross-Account Management

  • Firewall Manager uses the delegated administrator model for cross-account management.
  • The Firewall Manager administrator can:
    • Create and apply policies across all member accounts.
    • View compliance status of all accounts.
    • Monitor DDoS events across the organization.
    • Manage WAF rule groups that are shared across accounts.
  • Individual account owners can:
    • Add their own rules between centrally managed first and last rule groups (WAF policies).
    • View compliance status for their own resources.
    • Cannot remove or modify centrally enforced rules.
  • Firewall Manager uses AWS Organizations service-linked roles to deploy resources in member accounts.
  • Multiple Firewall Manager administrators can be designated with different administrative scopes.

Firewall Manager vs Individual Service Management vs Control Tower Guardrails

Feature Individual Service Management AWS Firewall Manager AWS Control Tower Guardrails
Scope Single account, manual per-account setup Multi-account via Organizations, centralized policies Multi-account governance and compliance controls
Primary Purpose Configure individual firewall/security resources Centralized firewall policy deployment and enforcement Account governance, SCPs, and compliance baselines
Auto-Remediation Not built-in (requires custom automation) Yes — automatically deploys protections to non-compliant resources Preventive (SCPs block actions) and Detective (Config rules report violations)
New Account Handling Manual configuration required Automatic — policies applied to new accounts/resources immediately Automatic via Account Factory and enrolled OUs
Policy Types Depends on individual service (WAF rules, SGs, NACLs) WAF, Shield, Security Groups, NACLs, Network Firewall, DNS Firewall, Third-party SCPs, Config Rules (detective/proactive), CloudFormation Hooks
Focus Area Network/application layer protection configuration Network/application layer firewall policy enforcement at scale Broad governance (IAM, logging, networking, data residency)
Compliance Monitoring Must configure separately (Config, CloudWatch) Built-in dashboard + Security Hub integration Built-in Control Tower dashboard
Prerequisites None beyond IAM permissions Organizations (all features), AWS Config Organizations, Control Tower landing zone
Cost Only the underlying service charges $100/policy/Region/month + underlying service charges No additional charge (pays for underlying Config rules)
Best For Small environments, single account, simple setups Multi-account firewall/security policy enforcement at scale Overall account governance, compliance frameworks, landing zone management
Complementary Use Used alongside Firewall Manager as the underlying service Works with Control Tower — Firewall Manager handles network security while Control Tower handles governance Works with Firewall Manager — Control Tower handles governance while Firewall Manager handles firewall policies

When to Use Which

  • Individual Service Management — Single-account environments, proof of concepts, or when you need granular per-resource configuration without organizational overhead.
  • AWS Firewall Manager — Multi-account environments requiring consistent firewall policies, automatic protection of new resources, and centralized compliance monitoring for network security.
  • AWS Control Tower Guardrails — Broad organizational governance including IAM restrictions, logging requirements, data residency controls, and account baseline configurations.
  • Firewall Manager + Control Tower (Together) — Best practice for enterprises: Control Tower manages account governance and baselines, while Firewall Manager enforces network security policies. They are complementary, not competing services.

AWS Firewall Manager Pricing

  • Protection Policy Fee: $100 per policy per Region per month (prorated hourly).
  • Shield Advanced customers: Firewall Manager policy fee is included at no additional charge (only pays for Config rules).
  • AWS Config Rules: Firewall Manager creates 2 Config rules per policy per account — charged at standard Config pricing ($0.003/CI change + $0.001/rule evaluation).
  • Underlying service charges: WAF Web ACLs/rules, Network Firewall endpoints, Shield Advanced, DNS Firewall queries, and third-party firewall charges apply separately.
  • No minimum fees or upfront commitments — pay only for what is used.
  • Note: Some Regions have per-policy prices greater than $100. Check the AWS pricing page for Region-specific pricing.

Pricing Example

  • 1 WAF policy, 7 accounts, no Shield Advanced:
    • Firewall Manager: $100/month
    • WAF (7 Web ACLs + 7 rules): $42/month
    • Config rules: ~$40/month
    • Total: ~$182/month
  • Same scenario WITH Shield Advanced:
    • Firewall Manager: $0 (included with Shield Advanced)
    • WAF: $0 (included with Shield Advanced)
    • Config rules: ~$40/month
    • Total: ~$40/month (plus Shield Advanced subscription of $3,000/month)

AWS Certification Exam Practice Questions

Questions are based on this topic for the AWS Certified Security – Specialty (SCS-C02) and AWS Certified Solutions Architect – Professional (SAP-C02) exams.

  1. A security team wants to enforce a standard set of AWS WAF rules across all accounts in an AWS Organization. The rules should be applied automatically to any new Application Load Balancer created in any account. Individual teams should be able to add their own additional WAF rules. What is the most operationally efficient approach?
    1. Create a WAF Web ACL in each account using AWS CloudFormation StackSets
    2. Use AWS Firewall Manager to create a WAF policy with first and last rule groups scoped to the entire organization
    3. Use AWS Control Tower to create a preventive guardrail that blocks ALBs without WAF
    4. Create a Lambda function triggered by CloudTrail to attach WAF rules to new ALBs
Show Answer

Answer: b – AWS Firewall Manager WAF policies support first and last rule groups that are centrally enforced while allowing account owners to add rules between them. It automatically applies to new resources including ALBs created in new accounts.

  1. A company uses AWS Organizations with 50 accounts across 3 Regions. The security architect needs to ensure all VPCs have AWS Network Firewall endpoints deployed with a standard inspection rule set. New VPCs should be protected automatically without manual intervention. What combination of services achieves this with the LEAST operational overhead?
    1. AWS CloudFormation StackSets with drift detection
    2. AWS Firewall Manager with a Network Firewall policy in distributed mode with auto-remediation enabled
    3. AWS Control Tower with a custom Config rule and Systems Manager remediation
    4. AWS Service Catalog with an approved Network Firewall product
Show Answer

Answer: b – Firewall Manager Network Firewall policies in distributed mode automatically deploy firewall endpoints to all in-scope VPCs. With auto-remediation enabled, new VPCs are protected immediately. This requires the least operational overhead compared to custom automation approaches.

  1. An organization wants to audit all security groups across 100 accounts to identify rules that allow unrestricted SSH access (0.0.0.0/0 on port 22). Non-compliant security groups should be flagged but NOT automatically modified. Findings should appear in AWS Security Hub. Which approach meets these requirements?
    1. Create a Firewall Manager security group audit policy with auto-remediation disabled
    2. Create a Firewall Manager common security group policy
    3. Deploy a Config managed rule restricted-ssh using StackSets
    4. Use AWS Control Tower detective guardrail for open SSH
Show Answer

Answer: a – Firewall Manager security group audit policies define guardrails for allowed/disallowed security group rules and detect overly permissive rules. With auto-remediation disabled, it reports non-compliance without making changes. Findings are automatically sent to Security Hub.

  1. What are the mandatory prerequisites for deploying AWS Firewall Manager policies across an organization? (Select TWO)
    1. AWS Control Tower must be configured
    2. AWS Organizations must be enabled with all features
    3. AWS Config must be enabled in all accounts and Regions where policies apply
    4. AWS CloudTrail must have an organization trail configured
    5. AWS Shield Advanced must be subscribed
Show Answer

Answer: b, c – AWS Organizations (all features enabled) and AWS Config are mandatory prerequisites for Firewall Manager. Control Tower and CloudTrail are not required. Shield Advanced is only required for Shield policies specifically.

  • A company uses AWS Firewall Manager to enforce WAF policies across 20 accounts in us-east-1 and eu-west-1. They are NOT Shield Advanced subscribers. What is the monthly Firewall Manager policy fee alone (excluding WAF and Config charges)?
    1. $100 (one policy applies to both Regions)
    2. $200 (one policy, charged per Region)
    3. $2,000 (one policy per account per Region)
    4. $4,000 (charged per account per Region)
  • Show Answer

    Answer: b – Firewall Manager charges $100 per policy per Region per month. With one WAF policy applied in 2 Regions, the Firewall Manager fee is $200/month. The fee is per policy per Region, regardless of the number of accounts in scope.

    AWS Firewall Manager Certification Tips

    • SCS-C02 (Security Specialty) — Firewall Manager is heavily tested. Focus on:
      • Centralized WAF management across accounts
      • Auto-remediation capabilities and when to use monitoring-only mode
      • Prerequisites (Organizations + Config)
      • Security group auditing for compliance
      • Integration with Security Hub for findings
      • Shield Advanced policy management
    • SAP-C02 (Solutions Architect Professional) — Focus on:
      • Multi-account security architecture with Organizations
      • When to use Firewall Manager vs individual service management
      • Firewall Manager + Control Tower as complementary services
      • Cost optimization (Shield Advanced includes FM at no charge)
      • Operational efficiency — FM as the answer for “least operational overhead” in multi-account scenarios
      • Network Firewall deployment models (distributed vs centralized)
    • Common Exam Patterns:
      • “Centrally manage security policies across all accounts” → Firewall Manager
      • “Automatically protect new resources” → Firewall Manager with auto-remediation
      • “Enforce WAF rules while allowing teams flexibility” → FM WAF policy with first/last rule groups
      • “Audit security groups across organization” → FM security group audit policy
      • “Deploy Network Firewall across multiple VPCs with least effort” → FM Network Firewall policy

    Frequently Asked Questions

    What is AWS Firewall Manager?

    Firewall Manager centrally configures and manages security policies (WAF, Shield Advanced, Security Groups, Network Firewall, DNS Firewall) across all accounts in your AWS Organization. It auto-remediates non-compliant resources.

    What are the prerequisites for Firewall Manager?

    You need AWS Organizations with all features enabled, AWS Config enabled in all accounts/Regions you want to protect, and a designated Firewall Manager administrator account.

    How much does Firewall Manager cost?

    Firewall Manager charges $100 per policy per Region per month, plus the underlying service charges (WAF rules, Network Firewall endpoints, etc.). Shield Advanced customers get Firewall Manager at no additional charge for WAF and Shield policies.

    References

    AWS Resilience Hub – Resiliency Assessment & Testing

    AWS Resilience Hub Overview

    • AWS Resilience Hub is a central location in the AWS Console to manage and improve the resilience of workloads on AWS.
    • It helps proactively prepare and protect applications from disruptions by providing expert-level analysis and actionable guidance to achieve resilience objectives.
    • Resilience Hub identifies gaps before they become incidents and provides centralized visibility into resilience posture.
    • It enables defining resilience goals, assessing resilience posture against those goals, and implementing recommendations for improvement based on the AWS Well-Architected Framework and the AWS Resilience Analysis Framework.
    • A built-in generative AI-driven assessment engine (multi-agent AI engine) evaluates the resilience of workloads against resilience policies, Well-Architected best practices, and the Resilience Analysis Framework to deliver actionable recommendations.
    • Resilience Hub can be integrated into CI/CD pipelines to validate every build before it is released into production.
    • It is part of the Management & Governance category of AWS services.

    Key Features

    Application/Service Definition

    • Resilience Hub allows defining applications (or services in the next-generation model) by importing resources from multiple sources:
      • AWS CloudFormation stacks
      • Terraform state files
      • Amazon EKS clusters and namespaces
      • AWS Service Catalog AppRegistry (myApplications)
      • AWS Resource Groups
      • Resource Tags
    • Each collection supports cross-Region and cross-account resources.
    • The next-generation model (launched May 2026) introduces a business-level understanding with:
      • Systems – represent a business application
      • User Journeys – describe critical business paths
      • Services – deployable units comprising AWS resources, code, and observability
    • Resilience Hub automatically discovers and maps resources into a topology showing how resources connect (data flow, containment, and permissions).

    Resiliency Policy with RTO/RPO Targets

    • Resiliency policies define the resilience expectations for applications through modular, composable requirements.
    • Policies can include:
      • Service Level Objective (SLO) – e.g., 99.95% or 99.99% availability
      • Recovery Time Objective (RTO) – maximum acceptable time to restore service after a disruption
      • Recovery Point Objective (RPO) – maximum acceptable data loss measured in time
      • Disaster Recovery strategy – aligned with RTO/RPO requirements
      • Data Recovery Time Objective – time for restoring from backups
    • Policies can be defined at different disruption levels:
      • Application disruption
      • Infrastructure disruption
      • Availability Zone (AZ) disruption
      • Region disruption
    • Policies are reusable and can be assigned to multiple services/applications across the organization.

    Assessment Against Targets

    • Resilience Hub runs failure mode assessments powered by a multi-agent AI engine to uncover potential failures before they occur in production.
    • The assessment engine:
      • Reads current resource state
      • Analyzes application topology
      • Evaluates architecture against five critical failure modes: Single Points of Failure, Excessive Load, Excessive Latency, Misconfiguration, and Shared Fate
      • Identifies potential failure modes and provides actionable recommendations
    • Assessments compare the estimated workload RTO and RPO against the targets defined in the resiliency policy.
    • Applications are rated as meeting or not meeting their policy targets.
    • Two failure mode assessments per month are included per service.

    Recommendations

    • Resilience Hub provides both Resiliency Recommendations and Operational Recommendations:
      • Resiliency Recommendations – architectural guidance for improving application resiliency (e.g., add Multi-AZ deployment, enable cross-Region replication)
      • Operational Recommendations – include:
        • Amazon CloudWatch Alarms – recommended alarms to monitor resilience
        • Standard Operating Procedures (SOPs) – utilizing AWS Systems Manager Documents
        • Chaos Experiments – using AWS Fault Injection Service (FIS)
    • Recommendations include code (CloudFormation templates) for implementing tests, alarms, and SOPs that can be deployed in CI/CD pipelines.
    • Each finding identifies what the failure mode is, why it matters, how to fix it, and which policy requirement it relates to.

    Drift Detection

    • Resilience Hub can detect drift when the actual application infrastructure deviates from the defined application description.
    • Drift detection identifies when resources have been added, removed, or modified outside of the defined infrastructure-as-code templates.
    • Helps ensure that the assessed state matches the deployed state, maintaining assessment accuracy.
    • Integrates with CloudFormation drift detection to identify configuration changes.

    Automated Dependency Discovery

    • Automatically discovers AWS services, internal endpoints, and third-party endpoints that services depend on.
    • Uses DNS query log analysis (VPC query logs) to identify dependencies, including:
      • Unexpected cross-Region calls
      • Critical third-party dependencies
      • Internal service-to-service dependencies
    • Provides a 35-day lookback for comprehensive dependency identification.
    • Continuous scanning keeps the dependency inventory always up to date, eliminating stale point-in-time snapshots.
    • Available as an optional add-on ($10 per service per month).

    Testing with FIS Integration

    • Resilience Hub integrates with AWS Fault Injection Service (FIS) to provide fault-injection simulations of real-world failures.
    • FIS experiments recommended by Resilience Hub include:
      • Network errors
      • Application processing errors
      • Database connection failures
      • AZ disruptions
      • Instance terminations
    • Resilience Hub generates FIS experiment templates as CloudFormation templates that can be deployed and executed.
    • Tests validate that the application meets its defined RTO/RPO targets under real failure conditions.
    • FIS provides guardrails (stop conditions) to automatically roll back experiments if specific thresholds are breached.

    Resiliency Score

    • AWS Resilience Hub calculates a resiliency score (0-100 points) for each application based on assessment results.
    • The score reflects how well the application meets its defined resiliency policy targets.
    • Score components consider:
      • Whether estimated RTO/RPO meets targets for each disruption type (Application, Infrastructure, AZ, Region)
      • Resource-level compliance with resilience best practices
      • Implementation status of recommended alarms, SOPs, and tests
    • A higher score indicates better alignment with the defined resiliency policy.
    • The score is visible in the Resilience Hub dashboard and can be tracked over time.
    • AWS Trusted Advisor integrates with Resilience Hub to alert when application resiliency scores fall below a specific threshold.

    Operational Recommendations

    • Operational recommendations provide actionable implementation guidance in three categories:

    Alarm Recommendations

    • Resilience Hub recommends Amazon CloudWatch alarms based on the resources and components of the application configuration.
    • Alarms monitor key resilience metrics and alert when thresholds are breached.
    • Provides CloudFormation templates to deploy recommended alarms.
    • Supports alarm detection – identifies existing CloudWatch alarms already monitoring the application and avoids duplicating them.
    • Alarm recommendations are tailored to each resource type (e.g., CPU utilization for EC2, throttle events for DynamoDB, error rates for Lambda).

    SOP Recommendations (Systems Manager Integration)

    • Recommends Standard Operating Procedures implemented as AWS Systems Manager Documents (SSM Documents).
    • SOPs cover recovery procedures such as:
      • Database failover procedures
      • Instance recovery steps
      • Scaling procedures
      • Backup restoration workflows
    • SOPs can be automated using Systems Manager Automation runbooks.
    • Provides code templates for immediate deployment.

    Testing Recommendations (FIS Integration)

    • Recommends AWS FIS experiments to validate resilience under failure conditions.
    • Experiments are provided as deployable CloudFormation templates.
    • Covers various failure scenarios: AZ failures, network disruptions, resource terminations.

    Supported Resources

    • AWS Resilience Hub supports resources from the following AWS services:
    Category Supported Services
    Compute Amazon EC2, AWS Lambda, Amazon EKS, Amazon ECS (including Fargate), AWS Step Functions
    Database Amazon RDS, Amazon DynamoDB, Amazon DocumentDB, Amazon ElastiCache (Redis OSS)
    Networking Amazon Route 53, Elastic Load Balancing, NAT Gateway
    Storage Amazon EBS, Amazon EFS, Amazon S3, Amazon FSx for Windows File Server
    Others Amazon API Gateway, Amazon ARC, Amazon SNS, Amazon SQS, AWS Auto Scaling, AWS Backup, AWS Elastic Disaster Recovery
    • Resources that do not affect estimated workload RTO or RPO (e.g., DB parameter groups) are ignored.
    • Only top-level resources are imported; child resources are derived from parent properties.
    • Amazon EKS assessments support Deployments, ReplicaSets, and Pods.

    Cross-Region and Cross-Account Support

    • Resilience Hub supports cross-Region resource assessment – resources in different Regions can be grouped under a single Application Component.
    • Supports cross-account assessment through:
      • AWS Organizations integration – enables organization-wide resilience management from a single delegated administrator account
      • Cross-account IAM roles – for environments not using Organizations, trust policies with ExternalId prevent confused deputy attacks
    • Organization-wide reporting provides:
      • Resilience posture across all AWS accounts, Regions, and organizational units
      • Centralized policy management
      • Assessment trends over time
      • Compliance status filtering
    • Eliminates the need to log in to individual accounts to assess resilience posture across the enterprise.

    Integration with Other AWS Services

    • AWS Fault Injection Service (FIS) – generates chaos engineering experiment templates to validate resilience
    • AWS Systems Manager – provides SOPs as SSM Documents/Automation runbooks for recovery procedures
    • Amazon CloudWatch – recommends and detects alarms for monitoring application resilience
    • AWS CloudFormation – imports application resources and provides implementation templates
    • AWS Organizations – enables multi-account, organization-wide resilience management
    • AWS Trusted Advisor – surfaces Resilience Hub scores and alerts when scores fall below thresholds
    • AWS Backup – assesses backup configurations as part of RPO evaluation
    • AWS Elastic Disaster Recovery – assesses DR configurations for recovery validation
    • Amazon Application Recovery Controller (ARC) – assesses readiness for DynamoDB global, ELB, RDS, and Auto Scaling groups
    • AWS Well-Architected Tool – assessments are based on Well-Architected best practices

    Comparison: Resilience Hub vs. Well-Architected Tool vs. Trusted Advisor

    Feature AWS Resilience Hub AWS Well-Architected Tool AWS Trusted Advisor
    Purpose Assess and improve application resilience (RTO/RPO) Review workloads against all 6 Well-Architected pillars Automated best practice checks across account
    Scope Application-level resilience focused Workload-level across all pillars (Reliability, Security, Performance, Cost, Operational Excellence, Sustainability) Account-level checks (Cost, Performance, Security, Fault Tolerance, Service Limits)
    Assessment Type Automated AI-powered failure mode analysis against defined RTO/RPO targets Manual questionnaire-based review with best practice guidance Automated checks against predefined rules
    Input Actual infrastructure (CloudFormation, Terraform, EKS, tags) Self-reported answers to framework questions Automated scanning of AWS account resources
    Output Resiliency score, failure modes, recommendations with implementation code (alarms, SOPs, FIS tests) Improvement plan, high/medium risk items, milestones Check results (OK, Warning, Error) with recommendations
    Resilience Focus Deep – RTO/RPO targets, multi-AZ/Region DR, failure mode analysis Broad – covers reliability pillar among other concerns Shallow – basic fault tolerance checks (ELB, RDS Multi-AZ, backups)
    Testing Generates FIS experiment templates for chaos engineering No testing capabilities No testing capabilities
    Dependency Discovery Yes – automated via DNS query log analysis No No
    Cross-Account Yes – via Organizations or cross-account roles Yes – supports multi-account via Organizations Yes – via Organizations (organizational view)
    CI/CD Integration Yes – can validate builds before release No No
    Pricing $15/service/month (includes 2 assessments); optional dependency discovery $10/service/month Free Free (basic); full checks require Business/Enterprise Support

    Pricing

    • Original Resilience Hub (legacy model):
      • Free for first 3 applications for 6 months
      • $15 per application per month after free period
    • Next-Generation Resilience Hub (launched May 28, 2026):
      • $15 per service per month – includes 2 failure mode assessments for services with ≤150 resources
      • Additional resources beyond 150 – $0.10 per resource during each failure mode assessment
      • Additional assessments (beyond 2 included) – $0.10 per assessed resource (minimum 50 resources billed)
      • Automated Dependency Discovery – optional add-on at $10 per service per month
    • Billing begins after the service is created and the first failure mode assessment is completed.
    • Billing stops when the service is removed from Resilience Hub.

    AWS Certification Relevance

    • AWS Solutions Architect Professional (SAP-C02):
      • Domain 1: Design Solutions for Organizational Complexity – multi-account resilience management
      • Domain 3: Design Solutions for Reliability – defining and validating RTO/RPO targets, DR strategy assessment
      • Understanding when to use Resilience Hub vs. Well-Architected Tool vs. Trusted Advisor
    • AWS Solutions Architect Associate (SAA-C03):
      • Domain 2: Design Resilient Architectures – understanding RTO/RPO concepts, high availability patterns
      • Knowing that Resilience Hub can assess and validate disaster recovery configurations
      • Understanding the integration between Resilience Hub and FIS for resilience testing
    • Resilience Hub may also appear in AWS DevOps Engineer Professional and AWS SysOps Administrator exams in the context of operational resilience and chaos engineering.

    AWS Resilience Hub Practice Questions

    Question 1:

    A company wants to validate that their multi-Region application can recover within 15 minutes (RTO) and lose no more than 5 minutes of data (RPO) during a Regional failure. They need automated assessment against these targets and recommendations for improvement. Which AWS service should they use?

    1. AWS Trusted Advisor
    2. AWS Well-Architected Tool
    3. AWS Resilience Hub
    4. AWS Config
    Show Answer

    Answer: 3

    Explanation: AWS Resilience Hub enables defining RTO/RPO targets as resiliency policies and running automated assessments to validate whether applications can meet those targets. It provides specific architectural recommendations when targets are not met. Trusted Advisor provides basic fault tolerance checks but cannot assess against custom RTO/RPO targets. The Well-Architected Tool is questionnaire-based and does not perform automated infrastructure assessment. AWS Config tracks configuration compliance but does not assess resilience against RTO/RPO targets.

    Question 2:

    A solutions architect wants to implement chaos engineering to test an application’s ability to handle AZ failures. They need the testing approach to align with their defined resiliency policies and generate appropriate experiment templates. Which combination of services should they use?

    1. AWS Resilience Hub with AWS Fault Injection Service (FIS)
    2. AWS CloudFormation with AWS Config
    3. AWS Well-Architected Tool with Amazon CloudWatch
    4. AWS Systems Manager with AWS Trusted Advisor
    Show Answer

    Answer: 1

    Explanation: AWS Resilience Hub integrates with AWS Fault Injection Service (FIS) to generate chaos engineering experiment templates based on the application’s defined resiliency policies. These templates can simulate AZ failures, network disruptions, and resource terminations. Resilience Hub provides the policy-aligned testing recommendations, while FIS executes the actual fault injection experiments with guardrails.

    Question 3:

    An enterprise runs 200+ applications across 15 AWS accounts. The SRE team needs to establish consistent resilience standards, assess all applications from a central location, and report compliance to stakeholders. Which approach provides centralized multi-account resilience management?

    1. Deploy AWS Config rules in each account with an aggregator
    2. Use AWS Resilience Hub with AWS Organizations integration
    3. Create Well-Architected reviews for each application in each account
    4. Use AWS Trusted Advisor organizational view
    Show Answer

    Answer: 2

    Explanation: AWS Resilience Hub integrates with AWS Organizations to enable organization-wide resilience management from a single delegated administrator account. This allows setting resilience policies once and applying them organization-wide, tracking assessment trends, and filtering by compliance status. This eliminates the need to log in to individual accounts. Trusted Advisor organizational view provides basic checks but lacks application-level resilience assessment with RTO/RPO targets.

    Question 4:

    A company discovers that their application has undocumented dependencies on third-party services and unexpected cross-Region API calls that could cause failures. Which AWS Resilience Hub feature helps identify these hidden dependencies automatically?

    1. Resiliency Score calculation
    2. Failure Mode Assessment
    3. Automated Dependency Discovery
    4. Drift Detection
    Show Answer

    Answer: 3

    Explanation: AWS Resilience Hub’s Automated Dependency Discovery uses DNS query log analysis to identify AWS services, internal endpoints, and third-party endpoints that services depend on—including unexpected cross-Region calls and integrations the team may not be aware of. It provides a 35-day lookback for comprehensive identification. Failure Mode Assessment evaluates architecture against failure scenarios but doesn’t specifically discover undocumented external dependencies through DNS analysis.

    Question 5:

    A team uses AWS Resilience Hub and wants to implement the recommended monitoring for their application. Resilience Hub has generated alarm recommendations. How should they deploy these alarms?

    1. Manually create each alarm in the CloudWatch console
    2. Deploy the CloudFormation templates provided by Resilience Hub’s operational recommendations
    3. Use AWS Config managed rules to create alarms
    4. Enable AWS Trusted Advisor alarm checks
    Show Answer

    Answer: 2

    Explanation: AWS Resilience Hub provides operational recommendations that include CloudFormation templates for recommended Amazon CloudWatch alarms. These templates can be deployed directly into the application’s infrastructure-as-code pipeline. This approach ensures alarms are version-controlled, repeatable, and aligned with the application’s resilience requirements. Resilience Hub also supports alarm detection to identify existing alarms and avoid duplication.

    Frequently Asked Questions

    What is AWS Resilience Hub?

    Resilience Hub assesses your applications against defined RTO/RPO targets, identifies resiliency gaps, and provides actionable recommendations. It discovers application components from CloudFormation, Terraform, or EKS and scores your resiliency posture.

    Is AWS Resilience Hub free?

    The legacy model charges $0.001 per resource per assessment. The next-gen model (2025) provides continuous monitoring at $3/month per application for up to 100 resources, with $0.03/month per additional resource.

    How does Resilience Hub differ from Well-Architected Tool?

    Well-Architected Tool provides manual questionnaire-based reviews across 6 pillars. Resilience Hub automatically discovers your architecture, runs automated assessments against specific RTO/RPO targets, and integrates with FIS for chaos testing.

    References

    Verified Permissions – Fine-Grained Auth with Cedar

    Amazon Verified Permissions – Fine-Grained Authorization with Cedar

    Amazon Verified Permissions is a fully managed, scalable permissions management and fine-grained authorization service for custom applications. It uses the Cedar policy language — an open-source, expressive, and analyzable policy language — to define who can do what on which resources. Unlike AWS IAM (which controls access to AWS APIs), Verified Permissions is designed to be the externalized authorization engine for your own applications, enabling developers to decouple authorization logic from application code.

    📢 Key Updates (2024–2026):

    • April 2024: Cognito + API Gateway integration launched — secure APIs with fine-grained access control via Quick Start wizard
    • August 2024: Expanded OIDC identity provider support for API Gateway authorization
    • April 2026: Policy store aliases and named policies/policy templates support added
    • May 2026: Multiple namespaces support aligned with Cedar language
    • June 2025: Price reduction — single authorization requests reduced by up to 97% to $5 per million
    • 2025: avp-local-agent for local policy evaluation with zero network latency
    • 2025: ExpressJS integration for Node.js applications

    What is Amazon Verified Permissions?

    Amazon Verified Permissions serves as a Policy Decision Point (PDP) — a centralized service that evaluates authorization requests against Cedar policies and returns Allow or Deny decisions. Your application acts as the Policy Enforcement Point (PEP), calling Verified Permissions before allowing users to perform actions.

    Key Characteristics

    • Externalized authorization: Separates “who can do what” logic from application code, making policies auditable and manageable independently
    • Cedar policy language: Open-source (Apache 2.0), formally verified, human-readable policy language developed by AWS
    • Default deny: All actions are denied unless explicitly permitted — follows the principle of least privilege
    • Explicit deny wins: A single forbid policy always overrides any number of permit policies
    • Real-time evaluation: Sub-millisecond policy evaluation with single-digit millisecond API latency
    • Schema validation: Policies are validated against a schema to catch errors at authoring time
    • Supports RBAC and ABAC: Role-based and attribute-based access control models, or a combination of both
    • Identity provider agnostic: Works with Amazon Cognito, any OIDC provider, or custom identity solutions

    Cedar Policy Language

    Cedar is an open-source policy language designed for expressing authorization policies. It is human-readable, formally verified for correctness, and designed for fast evaluation. Cedar policies are built around four core concepts:

    Core Concepts

    Concept Description Example
    Principal The entity making the request (user, service, role) User::"alice", User::"a1b2c3d4-..."
    Action The operation being performed Action::"viewDocument", Action::"deleteOrder"
    Resource The target entity being acted upon Document::"doc-123", Photo::"vacation.jpg"
    Context Additional request-time attributes (IP, time, MFA status) context.ipAddress, context.authentication.usedMFA

    Policy Structure

    Every Cedar policy has:

    • Effect: Either permit (allow) or forbid (deny)
    • Scope: Specifies which principal, action, and resource the policy applies to (mandatory)
    • Conditions: Optional when (must be true) and unless (must be false) clauses
    • Annotations: Optional key-value metadata (e.g., @id, @advice)

    Cedar Policy Examples

    Example 1: Simple RBAC — Editors Can Edit Documents

    Example 2: ABAC — Owner-Based Access

    Example 3: Context-Based Restriction — MFA Required

    Example 4: Multi-Tenant SaaS — Tenant Isolation

    Example 5: Time-Based and IP Restriction

    Example 6: Forbid Policy — Block Suspended Users

    Policy Store Architecture

    A policy store is the top-level container in Verified Permissions that holds all policies, policy templates, and schema definitions. It is logically isolated from other policy stores.

    Key Characteristics

    • Logical isolation: Each policy store is independent — policies in one store cannot reference or affect another store
    • Application mapping: Typically one policy store per application, or one per tenant in multi-tenant architectures
    • Schema enforcement: Each policy store can have a schema that validates policies at creation time
    • Namespace support: As of May 2026, Verified Permissions supports multiple namespaces within a policy store (aligned with Cedar)
    • Policy store aliases: As of April 2026, you can assign human-readable aliases to policy stores for easier management
    • CloudFormation support: Policy stores can be provisioned as infrastructure-as-code

    Multi-Tenant Strategies

    • Shared policy store: All tenants share one policy store; tenant isolation enforced through when { principal.tenantId == resource.tenantId } conditions
    • Per-tenant policy store: Each tenant gets their own policy store — strongest isolation, but more management overhead
    • Hybrid: Shared store for common policies, per-tenant stores for custom permissions

    Schema Definition

    The schema defines the authorization model for your application — entity types, their attributes, valid actions, and which principals can perform which actions on which resources. It serves as a contract that validates policies.

    Schema Components

    • Entity types: Define principals (e.g., User, Group) and resources (e.g., Document, Folder) with their attributes
    • Actions: Define valid operations and which principal-resource combinations they apply to
    • Common types: Reusable type definitions shared across entity types
    • Hierarchy: Define parent-child relationships (e.g., a Document is in a Folder)

    Example Schema (JSON format)

    How Authorization Decisions Work

    When your application calls the IsAuthorized or IsAuthorizedWithToken API, Verified Permissions evaluates all relevant policies and returns an Allow or Deny decision.

    Evaluation Logic

    1. Collect relevant policies: Verified Permissions identifies all policies whose scope matches the request (principal, action, resource)
    2. Evaluate conditions: For each matching policy, evaluate when and unless conditions against the provided context and entity attributes
    3. Determine individual results:
      • A permit policy with matching scope and satisfied conditions → Allow
      • A forbid policy with matching scope and satisfied conditions → Deny
    4. Combine results:
      • If at least one Deny exists → Final decision is DENY (explicit deny always wins)
      • If at least one Allow and zero Denys → Final decision is ALLOW
      • If no matching policies → Final decision is DENY (implicit deny / default deny)

    Key Principles

    • Default deny: With an empty policy store (no policies), all requests are denied
    • Explicit deny overrides: A single matching forbid policy overrides any number of permit policies
    • No ordering dependency: Policy evaluation order does not matter — all policies are evaluated independently
    • Determining policies: The API response includes which policies contributed to the decision, enabling debugging and audit

    Authorization API Request Example

    Integration with Amazon Cognito

    Amazon Verified Permissions integrates natively with Amazon Cognito, enabling you to use Cognito tokens directly in authorization decisions without manual token parsing.

    How It Works

    • Identity source configuration: Connect a Cognito user pool as an identity source in your policy store
    • Token-based authorization: Use the IsAuthorizedWithToken API, passing the Cognito ID token or access token directly
    • Automatic attribute mapping: Verified Permissions extracts user attributes (groups, custom claims, email) from the token and makes them available in Cedar policies
    • Token validation: Verified Permissions validates token signature, expiration, and issuer automatically
    • Group membership: Cognito groups are mapped to Cedar group hierarchies for RBAC

    Policy Using Cognito Token Attributes

    Integration with API Gateway

    Amazon Verified Permissions can secure Amazon API Gateway REST APIs using a Lambda authorizer pattern, with a Quick Start wizard that automates the setup.

    Architecture Flow

    1. Client sends request to API Gateway with authentication token (Cognito JWT or OIDC token)
    2. API Gateway invokes the Lambda authorizer deployed by the Quick Start wizard
    3. Lambda authorizer extracts token claims, maps the API method and path to Cedar actions/resources
    4. Lambda authorizer calls Verified Permissions IsAuthorizedWithToken API
    5. Verified Permissions evaluates Cedar policies and returns Allow/Deny
    6. Lambda authorizer translates the response to API Gateway’s expected IAM policy format
    7. API Gateway allows or denies the request accordingly

    Key Features

    • Quick Start wizard: Creates the Lambda authorizer, policy store, and sample policies automatically
    • RBAC via groups: Control API access based on Cognito groups or OIDC claims
    • ABAC via attributes: Fine-grained control using user attributes, request parameters, and context
    • OIDC support: Works with any OpenID Connect-compatible identity provider (not just Cognito)
    • Caching: Lambda authorizer can cache authorization results to reduce latency and Verified Permissions API calls

    Policy Templates

    Policy templates are Cedar policies with placeholders for the principal, resource, or both. They enable you to create reusable permission patterns that can be instantiated for specific users and resources.

    How Templates Work

    • Define once: Create a template with ?principal and/or ?resource placeholders
    • Instantiate many: Create template-linked policies by filling in the placeholders with specific entity values
    • Centralized updates: Modify the template and all linked policies are updated automatically
    • Named templates: As of April 2026, templates can have human-readable names for easier management

    Template Example

    When you instantiate this template:

    • ?principal = User::"alice"
    • ?resource = Document::"project-plan-2025"

    This creates a policy that allows Alice to view, edit, and comment on the specific project plan document.

    Use Cases for Templates

    • Document sharing: Grant specific users access to specific documents (like Google Docs sharing)
    • Resource-specific roles: Assign users as “admin” or “viewer” on individual resources
    • Time-limited access: Templates with when { context.time < expiry } for temporary grants
    • Onboarding workflows: Automatically create policies when users are assigned to projects

    Batch Authorization

    The BatchIsAuthorized and BatchIsAuthorizedWithToken APIs allow you to evaluate multiple authorization decisions in a single API call, reducing latency and costs for UI rendering and bulk operations.

    Key Features

    • Up to 30 requests per batch: Each API call can contain up to 30 individual authorization requests
    • Shared principal or resource: Either the principal or the resource must be identical across all requests in a batch
    • Single metering: Each batch API call counts as one request for billing (regardless of the number of individual authorizations)
    • Individual results: Each authorization within the batch returns its own Allow/Deny decision

    Use Cases

    • UI permission rendering: Determine which buttons/actions to show a user across multiple resources (e.g., "Can this user edit, delete, share this document?")
    • Navigation menus: Check access to multiple pages/features in a single call
    • Bulk operations: Verify permissions before processing a batch of items
    • Dashboard rendering: Determine which widgets/data a user can see

    Local Authorization with avp-local-agent

    The avp-local-agent is an open-source Rust-based sidecar that caches policies locally and evaluates authorization decisions within your application, eliminating network round-trips to the Verified Permissions API.

    Key Benefits

    • Zero network latency: Decisions are made locally using the Cedar evaluation engine
    • No authorization API charges: Local evaluations are free — you only pay for policy management (cache refresh) calls
    • High throughput: Ideal for latency-sensitive, high-frequency authorization (e.g., financial trading systems)
    • Configurable cache refresh: Control how often the agent syncs policies from the Verified Permissions service
    • Consistent evaluation: Uses the same Cedar engine as the cloud service, ensuring identical results

    Audit Logging

    Amazon Verified Permissions integrates with AWS CloudTrail for comprehensive audit logging of all API activity.

    What Is Logged

    • Management events: Policy store creation/deletion, schema updates, policy creation/modification — logged by default in CloudTrail
    • Data events: Authorization requests (IsAuthorized, BatchIsAuthorized) — can be enabled for detailed authorization auditing
    • Determining policies: Each authorization response includes the policy IDs that led to the decision
    • Request context: Full details of who requested what, when, and the decision made

    Audit Capabilities

    • Policy querying: APIs to query which policies apply to specific principals or resources
    • Compliance reporting: Answer "who has access to what?" and "why was this access granted?" questions
    • Security investigation: Trace specific authorization decisions back to the policies that permitted them
    • Policy impact analysis: Understand which users/resources would be affected by a policy change before deploying it

    Comparison: Verified Permissions vs IAM Policies vs Cognito Groups vs Custom Authorization

    Feature Verified Permissions IAM Policies Cognito Groups Custom Auth Code
    Purpose Application-level authorization AWS API access control Coarse-grained user grouping Application-level authorization
    Granularity Fine-grained (RBAC + ABAC) Fine-grained for AWS resources Coarse (group membership only) Custom (depends on implementation)
    Policy Language Cedar (human-readable, formally verified) JSON-based IAM policy language None (group assignment only) Code (if/else, switch statements)
    Scope Your application's resources AWS services and resources only Token-based role hints Your application's resources
    Externalized Yes — policies managed separately from code Yes — managed via AWS console/CLI Partially (groups are external) No — embedded in application code
    Auditability High — policies are declarative, queryable High — IAM Access Analyzer Limited (group membership only) Low — requires code review
    Multi-Tenant Built-in (per-tenant policy stores) Not designed for app tenancy Not designed for multi-tenancy Must build from scratch
    Schema Validation Yes — catches policy errors at authoring time Yes — policy validation No No (unless you build it)
    Scalability Fully managed, auto-scaling Fully managed by AWS Fully managed by Cognito Scales with your application
    Performance Sub-ms evaluation; local agent option Evaluated per AWS API call Token parsed locally (fast) Depends on implementation
    Best For Application permissions at scale Controlling AWS resource access Simple role assignment Simple apps or prototypes

    Use Cases

    Multi-Tenant SaaS Applications

    • Enforce tenant data isolation using Cedar policies with tenant context
    • Per-tenant policy stores for strong isolation or shared stores with tenant-scoped policies
    • Tenant administrators can manage their own permissions without affecting other tenants
    • Example: A project management SaaS where each company (tenant) has its own roles, projects, and access rules

    Role-Based Access Control (RBAC)

    • Model roles as Cedar groups (e.g., Group::"admin", Group::"editor", Group::"viewer")
    • Assign users to groups and write policies that permit actions for group members
    • Use action groups to bundle related permissions (e.g., "editor" role gets view + edit + comment)
    • Policy templates for role-resource assignments

    Attribute-Based Access Control (ABAC)

    • Make authorization decisions based on attributes of principals, resources, and context
    • Examples: department matching, job level thresholds, classification levels, time-of-day restrictions
    • Combine with RBAC for layered security: "editors can edit, BUT only documents in their department"

    Document-Level Access Control

    • Model document sharing like Google Docs — individual users can be granted specific access to specific documents
    • Use policy templates: instantiate per user-document pair with specific permissions (view, edit, comment)
    • Hierarchical resources: grant access to a folder, and all documents within it inherit that access
    • Owner-based access: document creators automatically get full control

    Healthcare and Compliance

    • PHI/PII access controls with detailed audit trails for HIPAA compliance
    • Attribute-based filtering of sensitive data fields
    • Break-glass emergency access with logging

    Financial Services

    • Fine-grained API authorization for payment processing and trade execution
    • Segregation of duties enforcement
    • Transaction-level authorization with amount thresholds

    Pricing

    Amazon Verified Permissions follows a pay-per-use model with no upfront or minimum fees. Pricing is the same across all AWS Regions.

    💰 June 2025 Price Reduction: Single authorization request pricing was reduced by up to 97%, from previous pricing to $5 per million requests.
    Usage Type Price Notes
    Single Authorization (IsAuthorized, IsAuthorizedWithToken) $0.000005 per request ($5/million) Per API call
    Batch Authorization (first 40M/month) $0.00015 per request ($150/million) Per batch call (up to 30 authz each)
    Batch Authorization (next 60M/month) $0.000075 per request Volume discount tier
    Batch Authorization (100M+/month) $0.00004 per request Highest volume discount
    Policy Management (CRUD operations) $0.00004 per request Create, Update, Get, List policies
    Local Agent Evaluation $0 (free) Pay only for policy management (cache sync)

    Pricing Example

    A SaaS application with 250 vendors making 250,000 API calls/day × 20 working days = 5 million single authorization requests/month = 5M × $0.000005 = $25/month.

    AWS Certification Relevance

    🎓 Exam Relevance:

    • AWS Certified Developer – Associate (DVA-C02): Domain 3 — "Implement authentication and/or authorization for applications and AWS services." Understand how to externalize authorization using Verified Permissions with Cognito, API Gateway Lambda authorizers, and Cedar policies for application-level access control.
    • AWS Certified Security – Specialty (SCS-C02): Domain 2 — "Security Logging and Monitoring" and Domain 3 — "Infrastructure Security." Understand fine-grained authorization patterns, policy evaluation logic (default deny, explicit deny overrides), integration with identity providers, audit logging via CloudTrail, and when to use Verified Permissions vs IAM vs Cognito groups.

    Key Exam Concepts

    • Verified Permissions is for application-level authorization (not AWS resource access — that's IAM)
    • Cedar uses default deny — explicit permit required; explicit forbid always wins
    • Policy stores provide logical isolation between applications or tenants
    • Integration with Cognito + API Gateway via Lambda authorizer pattern
    • Supports both RBAC (groups/roles) and ABAC (attribute conditions) models
    • BatchIsAuthorized for multiple decisions in a single call (up to 30 requests)
    • Schema validates policies at authoring time (not runtime)
    • Policy templates for reusable permission patterns with placeholders

    Practice Questions

    Question 1

    A SaaS company needs to implement fine-grained access control for their multi-tenant document management application. Each tenant's users should only access documents within their own tenant, and document owners should have full control while team members get read-only access. The solution must be auditable and support real-time policy changes without code redeployment. Which approach best meets these requirements?

    1. Use IAM policies with condition keys to restrict access based on tenant tags
    2. Implement authorization logic in application code using if/else statements with Cognito group membership
    3. Use Amazon Verified Permissions with Cedar policies that evaluate tenant attributes and resource ownership
    4. Create separate Cognito user pools per tenant with custom Lambda triggers for authorization
    Show Answer

    Answer: C –

    Explanation: Amazon Verified Permissions with Cedar policies is designed for application-level fine-grained authorization. Cedar supports RBAC (owner/team member) and ABAC (tenant isolation via attribute matching), policies are externalized from code (real-time updates without redeployment), and all authorization decisions are auditable via CloudTrail. IAM (A) is for AWS resource access, not application authorization. Embedding auth in code (B) is not auditable and requires redeployment for changes. Separate Cognito pools per tenant (D) adds complexity without solving fine-grained document-level access.

    Question 2

    A developer is building a Cedar policy in Amazon Verified Permissions. The policy store has: a permit policy allowing users in the "editors" group to edit documents, AND a forbid policy denying all actions when principal.status == "suspended". A user who is in the "editors" group AND has status "suspended" requests to edit a document. What is the authorization decision?

    1. ALLOW — the permit policy matches and the user is in the editors group
    2. DENY — the forbid policy takes precedence because explicit deny always overrides permit
    3. ALLOW — permit policies are evaluated before forbid policies
    4. Error — conflicting policies cannot exist in the same policy store
    Show Answer

    Answer: B –

    Explanation: In Cedar's policy evaluation logic, an explicit deny (forbid policy) always overrides any number of permit policies. Both policies match the request — the permit matches because the user is in "editors", and the forbid matches because the user's status is "suspended". Since at least one forbid policy matches, the final decision is DENY. Policy evaluation order does not matter (C is wrong), and conflicting policies are perfectly valid (D is wrong).

    Question 3

    A company's application renders a dashboard where different UI elements (buttons, menus, data widgets) should be shown or hidden based on the user's permissions. The application needs to check 15 different permissions for the current user at page load time. What is the most cost-effective approach using Amazon Verified Permissions?

    1. Call the IsAuthorized API 15 times — once for each permission check
    2. Use the BatchIsAuthorized API to evaluate all 15 authorization requests in a single call
    3. Cache all policies locally and evaluate permissions in the browser using JavaScript
    4. Use Cognito groups to determine all permissions without calling Verified Permissions
    Show Answer

    Answer: B –

    Explanation: BatchIsAuthorized can evaluate up to 30 authorization requests in a single API call, and is metered as one request for billing. This is both faster (single round-trip) and more cost-effective than 15 individual calls. Individual calls (A) work but cost 15× more. Client-side evaluation (C) exposes policies to the browser — a security risk. Cognito groups (D) only support coarse-grained RBAC, not fine-grained attribute-based decisions.

    Question 4

    An organization wants to secure their REST APIs in Amazon API Gateway using Amazon Verified Permissions for fine-grained access control based on user attributes from Amazon Cognito. What is the correct architecture to achieve this?

    1. Configure API Gateway to call Verified Permissions directly as a native authorizer
    2. Use a Cognito authorizer on API Gateway and pass the authorization decision to Verified Permissions
    3. Deploy a Lambda authorizer that extracts token claims, calls Verified Permissions IsAuthorizedWithToken API, and returns an IAM policy to API Gateway
    4. Configure Verified Permissions as an identity source in API Gateway's resource policy
    Show Answer

    Answer: C –

    Explanation: The correct pattern uses a Lambda authorizer as the bridge between API Gateway and Verified Permissions. The Lambda function extracts claims from the Cognito token, calls the IsAuthorizedWithToken API, and translates the response into API Gateway's expected IAM policy format (Allow/Deny). API Gateway does not have native Verified Permissions integration (A, D are wrong). A Cognito authorizer (B) only validates tokens — it doesn't call Verified Permissions for fine-grained decisions.

    Question 5

    A financial services company needs to authorize 200 million trade decisions per month with the lowest possible latency. Policies change infrequently (updated a few times daily). Which Amazon Verified Permissions deployment pattern minimizes latency while ensuring policies stay current?

    1. Use the standard IsAuthorized API for each trade with caching enabled
    2. Deploy the avp-local-agent sidecar configured to refresh policies every few minutes, evaluating all decisions locally
    3. Use BatchIsAuthorized with 30 trade decisions per batch to reduce API calls
    4. Implement custom Cedar evaluation in the application code without using Verified Permissions
    Show Answer

    Answer: B –

    Explanation: The avp-local-agent evaluates Cedar policies locally with zero network latency, which is critical for high-frequency trading. Since local evaluations are free ($0), the cost is only for policy management API calls to refresh the cache. With policies changing infrequently, a refresh interval of a few minutes ensures policies stay current. The standard API (A) adds network latency to each decision. BatchIsAuthorized (C) reduces calls but still has network latency. Custom implementation (D) loses the managed service benefits and requires maintaining the Cedar engine yourself.

    Frequently Asked Questions

    What is Amazon Verified Permissions?

    Verified Permissions is a managed authorization service that uses the Cedar policy language to make fine-grained access decisions. It centralizes authorization logic outside your application code, supporting RBAC, ABAC, and relationship-based access control.

    What is Cedar policy language?

    Cedar is an open-source authorization policy language created by AWS. It uses a simple permit/forbid syntax with principals, actions, resources, and conditions. It's designed to be analyzable, auditable, and performant for real-time authorization decisions.

    How does Verified Permissions differ from IAM?

    IAM controls access to AWS resources (who can call AWS APIs). Verified Permissions controls access within your application (which users can see/edit which data). Use IAM for infrastructure; Verified Permissions for application-level authorization.

    References

    Amazon Nova Models – Capabilities, Pricing & Use Cases Compared

    Amazon Nova Models Overview

    Amazon Nova is AWS’s family of foundation models (FMs) available exclusively through Amazon Bedrock. Launched at AWS re:Invent 2024 and significantly expanded at re:Invent 2025, the Nova family spans text generation, multimodal understanding, image generation, video generation, speech-to-speech conversation, browser automation, and custom model building.

    Nova models are designed to deliver frontier intelligence at industry-leading price performance, making them a compelling choice for enterprises looking to reduce costs while maintaining high-quality AI outputs.

    Amazon Nova Model Family

    The Nova family is organized into several categories:

    • Understanding Models – Process text, images, video, and/or speech to generate text (Nova Micro, Nova Lite, Nova Pro, Nova Premier, Nova 2 Lite, Nova 2 Pro)
    • Creative Content Generation – Generate images or video from text/image inputs (Nova Canvas, Nova Reel)
    • Speech Models – Real-time bidirectional voice conversation (Nova Sonic, Nova 2 Sonic)
    • Multimodal Generation – Unified input and output across modalities (Nova 2 Omni)
    • Agentic – Browser-based UI automation (Nova Act)
    • Custom Model Building – Build your own frontier model variants (Nova Forge)

    First Generation Nova Models (re:Invent 2024)

    Amazon Nova Micro

    • Text-only model delivering the lowest latency responses in the Nova family at very low cost.
    • Context window: 128K tokens
    • Input: Text only
    • Output: Text only
    • Optimized for speed and cost — excels at text summarization, translation, content classification, interactive chat, brainstorming, and simple mathematical reasoning and coding.
    • Supports customization via fine-tuning and model distillation.
    • Pricing: ~$0.035/1M input tokens, ~$0.14/1M output tokens (lowest in the Nova family)

    Amazon Nova Lite

    • Very low-cost multimodal model that is lightning fast for processing image, video, and text inputs.
    • Context window: 300K tokens
    • Input: Text, images, video (up to 30 minutes)
    • Output: Text
    • Handles real-time customer interactions, document analysis, and visual question-answering with high accuracy.
    • Supports text and multimodal fine-tuning and model distillation.
    • Pricing: ~$0.06/1M input tokens, ~$0.24/1M output tokens

    Amazon Nova Pro

    • Highly capable multimodal model with the best combination of accuracy, speed, and cost for a wide range of tasks.
    • Context window: 300K tokens
    • Input: Text, images, video
    • Output: Text
    • Sets standards in multimodal intelligence and agentic workflows requiring API/tool calling.
    • Excels at visual question answering, video understanding, financial document analysis, and processing code bases with over 15,000 lines.
    • Serves as a teacher model for distilling custom variants of Nova Micro and Lite.
    • Pricing: ~$0.80/1M input tokens, ~$3.20/1M output tokens

    Amazon Nova Premier

    • Most capable multimodal model for complex reasoning tasks and the best teacher for distilling custom models.
    • Context window: 1M tokens
    • Input: Text, images, video
    • Output: Text
    • Designed for the most demanding enterprise workloads requiring highest accuracy.
    • Best suited for complex multi-step reasoning, research, and as a distillation teacher.

    Amazon Nova Canvas

    • State-of-the-art image generation model producing studio-quality images.
    • Input: Text prompts, reference images
    • Output: Images (up to 2048×2048)
    • Features precise control over style and content with rich editing capabilities:
      • Inpainting and outpainting
      • Background removal
      • Color conditioning
      • Subject-consistent generation
    • Includes built-in watermarking for responsible AI use.
    • Pricing: Per-image pricing, varies by resolution

    Amazon Nova Reel

    • State-of-the-art video generation model for producing short videos.
    • Input: Text prompts, reference images
    • Output: Video (1280×720, 24fps, 6-second clips)
    • Supports camera control actions (zoom, pan, tilt, dolly) and visual style guidance.
    • Ideal for marketing, advertising, social media content, and entertainment.
    • Uses asynchronous API (StartAsyncInvoke) as video generation takes several minutes.
    • Includes digital watermarking on all generated videos.

    Amazon Nova Sonic

    • Speech-to-speech foundation model enabling real-time, human-like voice conversations with low latency.
    • Input: Speech (audio), text
    • Output: Speech (audio), text
    • Unifies speech understanding and generation into a single model architecture.
    • Supports natural turn-taking, interruption handling, and expressive voices (masculine and feminine).
    • Multilingual support: English, Spanish, French, Italian, and German.
    • Integrates with Amazon Connect, telephony providers (Vonage, Twilio, AudioCodes), and conversational AI frameworks (LiveKit, Pipecat).
    • Uses bidirectional streaming API for real-time interaction.

    Second Generation Nova Models (re:Invent 2025)

    At AWS re:Invent 2025, Amazon announced the Nova 2 family with four new models, plus Nova Forge and Nova Act.

    Amazon Nova 2 Lite

    • Fast, cost-effective reasoning model for everyday workloads.
    • Context window: 1M tokens (1 million)
    • Input: Text, images, video, documents
    • Output: Text (up to 65,536 tokens)
    • Features adjustable thinking effort — developers can control how much step-by-step reasoning the model performs before responding, balancing intelligence depth with speed and cost.
    • Built-in tools:
      • Web grounding — searches the web for current information with citations
      • Code interpreter — runs code directly within the workflow
      • Remote MCP tool support
    • Excels in document processing, video information extraction, code generation, grounded answers, and multi-step agentic workflows.
    • Competitive benchmarks: Equal or better on 13/15 benchmarks vs Claude Haiku 4.5, 11/17 vs GPT-5 Mini, 14/18 vs Gemini Flash 2.5.
    • Supports customization via Nova Forge.
    • Pricing: ~$0.30–0.33/1M input tokens, ~$2.50–2.75/1M output tokens

    Amazon Nova 2 Pro

    • Amazon’s most intelligent reasoning model for highly complex tasks.
    • Context window: 1M tokens
    • Input: Text, images, video, speech
    • Output: Text (up to 65,536 tokens)
    • Ideal for agentic coding, long-range planning, and sophisticated problem-solving where highest accuracy is essential.
    • Serves as a teacher model for knowledge distillation into smaller, more efficient student models.
    • Built-in web grounding and code execution capabilities.
    • Competitive benchmarks: Equal or better on 10/16 vs Claude Sonnet 4.5, 8/16 vs GPT-5.1, 15/19 vs Gemini 2.5 Pro.
    • Strengths: Multi-document analysis, video reasoning, complex instructions, advanced math, agentic and software engineering tasks.

    Amazon Nova 2 Sonic

    • Next-generation speech-to-speech model for real-time conversational AI.
    • Context window: 1M tokens
    • Input: Speech, text
    • Output: Speech, text
    • Key improvements over Nova Sonic:
      • Expanded multilingual support with native expressivity
      • Higher accuracy and more natural voices
      • Cross-modal interaction — seamless switching between voice and text in the same session
      • Asynchronous tool calling — handles tasks in the background without interrupting conversation
      • 1M token context window for sustained interactions
    • Integrates with Amazon Connect, Vonage, Twilio, AudioCodes, LiveKit, and Pipecat.
    • Industry-leading price performance vs OpenAI gpt-realtime and Gemini 2.5 Flash realtime APIs.

    Amazon Nova 2 Omni

    • Unified multimodal reasoning AND generation model — an industry first.
    • Context window: 1M tokens
    • Input: Text, images, video, speech, documents
    • Output: Text AND images
    • Can process up to 750,000 words, hours of audio, long videos, and hundred-page documents simultaneously.
    • Eliminates the need to connect multiple specialized models — handles understanding and generation in one workflow.
    • Supports 200+ languages for text processing, 10 languages for speech input.
    • Image generation capabilities include character consistency, text rendering within images, and object/background modification.
    • Use case example: Marketing teams can analyze product details across all formats and generate complete campaigns (headlines, copy, social posts, visuals) in one workflow.
    • Status: Preview (as of December 2025)

    Amazon Nova Act

    • AWS service for building and deploying highly reliable AI agents that automate browser-based UI workflows.
    • Powered by a custom Nova 2 Lite model trained through reinforcement learning on hundreds of simulated web environments.
    • Achieves 90% reliability on early customer workflows — outperforms competing models on relevant benchmarks.
    • Key capabilities:
      • No-code playground for prototyping agents with natural language prompts
      • IDE integration (VS Code) for refinement
      • Deploy to AWS with comprehensive management tools and monitoring via Nova Act console
      • What you build locally scales in production
    • Use cases:
      • Updating data in CRM systems
      • Testing website functionality (QA automation)
      • Submitting health insurance claims
      • Reconciling payments and coordinating shipments
      • End-to-end testing across platforms
    • Customer results:
      • Hertz: 5x faster software delivery, eliminated QA bottleneck
      • 1Password: Automated logins across hundreds of websites
      • Sola Systems: Hundreds of thousands of automated workflows per month
    • Status: Generally Available (December 2025)

    Amazon Nova Forge

    • First-of-its-kind service for organizations to build their own frontier AI model variants (“Novellas”).
    • Pioneers “open training” — gives exclusive access to pre-trained, mid-trained, and post-trained Nova model checkpoints.
    • Customers can mix proprietary data with Amazon Nova-curated datasets at every stage of model training.
    • Solves the three compromises of traditional model customization:
      • Surface-level customization of proprietary models
      • Open-weights models losing capabilities during continued training
      • Building from scratch at enormous expense
    • Key capabilities:
      • Open training checkpoints — blend proprietary data at pre-training, mid-training, and post-training stages
      • Reinforcement learning “gyms” — synthetic environments for training models on simulated real-world scenarios
      • Synthetic data-based distillation — create smaller, faster models that maintain intelligence
      • Responsible AI toolkit — implement safety controls
    • Currently available with Nova 2 Lite; early access to Nova 2 Pro and Nova 2 Omni for Forge customers.
    • Custom models deploy on Amazon Bedrock with enterprise-grade security, scalability, and data privacy.
    • Customers: Booking.com, Reddit, Sony, Cosine AI, Nimbus Therapeutics, Nomura Research Institute, OpenBabylon.

    Amazon Nova Model Comparison Table

    Model Input Types Output Types Context Window Latency Price Tier Best For
    Nova Micro Text Text 128K Lowest $ (Lowest) Chat, summarization, classification
    Nova Lite Text, Image, Video Text 300K Very Low $ Multimodal Q&A, document analysis
    Nova Pro Text, Image, Video Text 300K Low $$ Agentic workflows, complex analysis
    Nova Premier Text, Image, Video Text 1M Medium $$$ Complex reasoning, model distillation
    Nova Canvas Text, Image Image N/A Medium Per image Image generation, editing
    Nova Reel Text, Image Video N/A High (async) Per video Video content creation
    Nova Sonic Speech, Text Speech, Text N/A Real-time $$ Voice assistants, IVR
    Nova 2 Lite Text, Image, Video, Docs Text 1M Low $$ Reasoning, coding, agentic tasks
    Nova 2 Pro Text, Image, Video, Speech Text 1M Medium $$$ Complex reasoning, agentic coding
    Nova 2 Sonic Speech, Text Speech, Text 1M Real-time $$ Conversational AI, async tool use
    Nova 2 Omni Text, Image, Video, Speech Text, Image 1M Medium $$$ Unified multimodal workflows
    Nova Act Natural language prompts Browser actions N/A Variable Per workflow UI automation, QA testing
    Nova Forge Training data + checkpoints Custom model N/A N/A (training) Custom Building domain-specific models

    When to Use Each Nova Model

    Scenario Recommended Model Why
    High-volume chatbot with lowest cost Nova Micro / Nova 2 Lite Lowest per-token cost, fast response times
    Document/image analysis at scale Nova 2 Lite 1M context, multimodal, cost-effective reasoning
    Complex multi-step agentic coding Nova 2 Pro Highest intelligence, built-in tools
    Building custom domain model Nova Forge + Nova 2 Lite/Pro Open training with proprietary data
    Marketing image generation Nova Canvas Studio-quality with precise controls
    Social media video creation Nova Reel Professional video from text/image prompts
    Voice-based customer service Nova 2 Sonic Real-time, natural conversation with tool use
    Unified content generation pipeline Nova 2 Omni Single model for text + image generation from any input
    Browser-based QA testing Nova Act 90% reliability, production-ready UI automation
    Knowledge distillation Nova Premier / Nova 2 Pro Best teacher models for creating efficient custom variants

    Amazon Nova vs Competitors

    Capability Amazon Nova Anthropic Claude OpenAI GPT Meta Llama
    Model range Micro to Premier + specialized (Canvas, Reel, Sonic, Act) Haiku, Sonnet, Opus GPT-4o mini, GPT-4o, GPT-5 8B, 70B, 405B (open weights)
    Multimodal input Text, image, video, speech, documents Text, image, documents Text, image, audio Text, image
    Image generation Nova Canvas, Nova 2 Omni No DALL-E (separate) No
    Video generation Nova Reel No Sora (separate) No
    Speech-to-speech Nova Sonic / Nova 2 Sonic No GPT Realtime API No
    Context window Up to 1M tokens 200K tokens 128K–1M tokens 128K tokens
    Browser automation Nova Act Computer Use (beta) Operator No
    Custom model building Nova Forge (open training) No Fine-tuning only Full open weights
    Price performance Industry-leading (75% less than comparable models) Premium pricing Premium pricing Free weights (self-host costs)
    AWS integration Native (Bedrock, Connect, S3) Via Bedrock Via Bedrock (select models) Via Bedrock

    Key Differentiators for Amazon Nova

    • Breadth of modalities: No other single model family covers text, image, video, speech generation + browser automation + custom model building.
    • Price performance: Nova models consistently offer 3-5x better cost efficiency than comparable alternatives.
    • Nova Forge uniqueness: Only platform offering “open training” with access to model checkpoints at pre/mid/post-training stages.
    • Native AWS ecosystem: Deep integration with Bedrock, Knowledge Bases, Agents, Guardrails, Connect, and S3.
    • Built-in safety: All models include safety controls; creative models include watermarking.

    Amazon Bedrock Integration

    All Nova models are accessed through Amazon Bedrock, providing:

    • Unified API: Single Converse API for all text/multimodal models; async invoke for creative models.
    • Amazon Bedrock Knowledge Bases: Enhance Nova models with proprietary information via RAG.
    • Amazon Bedrock Agents: Build multi-step agentic workflows with Nova models.
    • Amazon Bedrock Guardrails: Apply content filters, PII detection, and grounding checks.
    • Cross-Region Inference: Available for Nova Micro, Lite, Pro, and Nova 2 models across multiple regions.
    • Intelligent Prompt Routing: Automatically route between Nova Pro and Nova Lite based on prompt complexity (up to 30% cost savings).
    • Model Customization: Fine-tuning, continued pre-training, and distillation support.
    • Batch Inference: 50% lower price for high-volume offline workloads.
    • Provisioned Throughput: Guaranteed capacity for production workloads.

    Bedrock Model IDs

    • amazon.nova-micro-v1:0 – Nova Micro
    • amazon.nova-lite-v1:0 – Nova Lite
    • amazon.nova-pro-v1:0 – Nova Pro
    • amazon.nova-premier-v1:0 – Nova Premier
    • amazon.nova-canvas-v1:0 – Nova Canvas
    • amazon.nova-reel-v1:0 – Nova Reel
    • amazon.nova-sonic-v1:0 – Nova Sonic
    • amazon.nova-2-lite-v1:0 – Nova 2 Lite
    • amazon.nova-2-pro-v1:0 – Nova 2 Pro

    AWS Certification – AIF-C01 Relevance

    Amazon Nova models are highly relevant for the AWS Certified AI Practitioner (AIF-C01) exam:

    • Domain 1 – Fundamentals of AI and ML: Understanding foundation model types, model selection criteria, multimodal capabilities.
    • Domain 2 – Fundamentals of Generative AI: Foundation model families, model selection based on use case requirements (cost, latency, accuracy), understanding of text/image/video/speech generation.
    • Domain 3 – Applications of Foundation Models: RAG integration, agentic workflows, model customization (fine-tuning vs distillation vs continued pre-training vs open training).
    • Domain 4 – Guidelines for Responsible AI: Built-in safety controls, watermarking, Bedrock Guardrails integration.

    Key exam concepts related to Nova:

    • Difference between understanding models and generative models
    • Model selection based on latency, cost, and capability requirements
    • Customization methods: fine-tuning, distillation, continued pre-training, Nova Forge open training
    • Responsible AI: watermarking, safety controls, content moderation
    • Bedrock features: Guardrails, Knowledge Bases, Agents, cross-region inference
    • Agentic AI capabilities and Nova Act for UI automation

    Amazon Nova Models – Practice Questions

    1. A company needs to build a high-volume customer service chatbot that must respond to text queries with the lowest possible latency and minimal cost. Which Amazon Nova model should they choose?

    1. Amazon Nova Pro
    2. Amazon Nova Micro
    3. Amazon Nova 2 Lite
    4. Amazon Nova Premier
    Show Answer

    Answer: B –

    Explanation: Amazon Nova Micro is a text-only model designed specifically for the lowest latency responses at the lowest cost in the Nova family. It is optimized for tasks like interactive chat, text summarization, and content classification. While Nova 2 Lite also offers good performance, Nova Micro provides the absolute lowest latency for text-only use cases.

    2. A media company wants to use a single AI model to analyze product videos, customer testimonials (audio), brand guidelines (documents), and product images — then generate marketing copy AND promotional images in one unified workflow. Which Amazon Nova model enables this?

    1. Amazon Nova Pro
    2. Amazon Nova Canvas
    3. Amazon Nova 2 Omni
    4. Amazon Nova 2 Pro + Nova Canvas (pipeline)
    Show Answer

    Answer: C –

    Explanation: Amazon Nova 2 Omni is the industry’s first unified multimodal reasoning and generation model that can process text, images, video, and speech inputs while generating BOTH text AND images. This eliminates the need to chain multiple specialized models. Nova Pro and Nova 2 Pro only output text, and Nova Canvas only generates images from text/image prompts without the multimodal understanding capability.

    3. An organization wants to build a custom AI model that deeply integrates their proprietary medical research data while maintaining frontier-level reasoning capabilities. They need access to model training checkpoints to mix their data at multiple training stages. Which Amazon service should they use?

    1. Amazon Bedrock Fine-tuning
    2. Amazon SageMaker Training
    3. Amazon Nova Forge
    4. Amazon Nova 2 Pro with RAG
    Show Answer

    Answer: C –

    Explanation: Amazon Nova Forge is the only service that provides “open training” — giving organizations access to pre-trained, mid-trained, and post-trained Nova model checkpoints so they can blend their proprietary data with Nova-curated datasets at every stage of model training. Standard fine-tuning only adjusts a model’s behavior at the post-training stage. RAG augments responses but doesn’t deeply integrate knowledge into model weights.

    4. A company wants to automate end-to-end testing of their web application, including navigating pages, filling forms, and verifying UI elements. They need a solution that achieves high reliability and can scale in production on AWS. Which Amazon Nova offering should they use?

    1. Amazon Nova 2 Pro with Bedrock Agents
    2. Amazon Nova Act
    3. Amazon Nova 2 Lite with custom prompts
    4. Amazon Nova Forge
    Show Answer

    Answer: B –

    Explanation: Amazon Nova Act is specifically designed for building and deploying AI agents that automate browser-based UI workflows. It achieves 90% reliability through reinforcement learning training on hundreds of simulated web environments. It provides a no-code playground for prototyping, IDE integration for development, and production deployment on AWS with monitoring. Hertz used Nova Act to accelerate software delivery 5x by automating end-to-end testing.

    5. A developer is building a voice-based AI assistant that needs to handle real-time conversations, switch between voice and text seamlessly, execute background tasks (like booking flights) without interrupting the conversation, and maintain context over long interactions. Which Amazon Nova model is best suited? (Select TWO capabilities that make it ideal)

    1. Amazon Nova Sonic — because it supports bidirectional streaming
    2. Amazon Nova 2 Sonic — because it supports asynchronous tool calling and 1M token context window
    3. Amazon Nova 2 Lite — because it has web grounding and code interpreter
    4. Amazon Nova 2 Omni — because it generates text and images
    5. Amazon Nova 2 Sonic — because it supports cross-modal interaction (voice/text switching)
    Show Answer

    Answer: B, E

    Explanation: Amazon Nova 2 Sonic is the ideal model for this use case. It features: (1) asynchronous tool calling that lets users continue natural conversations while background tasks complete, (2) cross-modal interaction allowing seamless switching between voice and text, and (3) a 1M token context window for sustained interactions. While Nova Sonic (v1) supports real-time streaming, it lacks the async tool calling, cross-modal switching, and extended context window that Nova 2 Sonic provides.

    Frequently Asked Questions

    What are Amazon Nova models?

    Amazon Nova is AWS’s own family of foundation models available through Bedrock. It includes text models (Micro, Lite, Pro, Premier), creative models (Canvas for images, Reel for video, Sonic for speech), and agent models (Act for browser automation, Forge for custom training).

    Which Nova model should I use?

    Use Nova Micro for fast text tasks (lowest cost). Nova Lite for multimodal with budget constraints. Nova Pro for balanced performance. Nova Premier for complex reasoning. Nova 2 Lite for extended thinking with 1M token context. Nova Act for browser-based agent automation.

    How does Nova compare to Claude and GPT?

    Nova Pro offers competitive performance at lower cost than Claude 3.5 Sonnet or GPT-4o for many tasks. Nova’s key advantages are native AWS integration, lower pricing, and specialized models (Canvas, Reel, Sonic) that competitors don’t offer as integrated options.

    References

    Lambda Durable Functions – Stateful Serverless

    📢 New Service – Announced at re:Invent 2025

    AWS Lambda Durable Functions were announced at re:Invent 2025 (December 2025) and are now generally available across ~31 AWS Regions as of mid-2026. They support Python, JavaScript/TypeScript, and Java runtimes.

    Certification Relevance: DVA-C02 (Developer Associate), SAA-C03 (Solutions Architect Associate) — expect questions on choosing between Durable Functions, Step Functions, and SQS+Lambda patterns.

    What are AWS Lambda Durable Functions?

    • Lambda Durable Functions extend the Lambda programming model to build fault-tolerant, multi-step, stateful applications and AI workflows using familiar programming languages.
    • They enable multi-step coordination without idle compute costs — functions can suspend execution (wait) for up to one year without incurring compute charges.
    • Durable Functions use a checkpoint and replay mechanism (durable execution) to track progress, automatically recover from failures, and resume from where they left off.
    • You write sequential code in your preferred language (Python, JavaScript/TypeScript, Java), and the SDK handles state management, retries, and orchestration transparently.
    • Durable execution must be enabled at function creation time — it cannot be added to existing Lambda functions.
    • The open-source AWS Durable Execution SDK provides the primitives (steps, waits, callbacks, parallel, map) needed to build resilient workflows.
    Lambda Durable Functions — Checkpoint/Replay
    Step 1
    Validate Order
    Step 2
    Charge Payment
    ⏸ Wait
    Human Approval
    (up to 1 year)
    Step 3
    Ship Order
    ✅ Done
    💾 State checkpointed after each step
    💰 No charge during waits

    Architecture – Checkpoint and Replay Pattern

    • Orchestrator Pattern: A durable function acts as an orchestrator that coordinates multiple steps in a workflow using sequential code.
    • Durable Execution: The complete lifecycle of a durable function run — from start to completion — is called a durable execution.
    • Checkpointing: Each durable operation (step, wait) creates a checkpoint that records the result. Progress is persisted automatically.
    • Replay: When execution resumes after a pause or failure, the function replays from the beginning, skipping completed checkpoints using stored results instead of re-executing them.
    • Sub-invocations: A single durable execution may involve multiple Lambda invocations (sub-invocations) — the initial invocation plus resumptions after waits, retries, or infrastructure failures.
    • Determinism Requirement: Code between durable operations must be deterministic — the replay mechanism depends on consistent execution paths across replays.

    Core Primitives (Durable Operations)

    • Steps (context.step()) — Execute business logic with built-in retries and automatic checkpointing. Once completed, steps are skipped during replay.
    • Waits (context.wait()) — Suspend execution for a specified duration (seconds to one year). The function terminates and does not incur compute charges during the wait.
    • Callbacks (context.create_callback()) — Pause execution until an external event (API call, human approval) signals completion via the Lambda API.
    • Wait for Condition (context.wait_for_condition()) — Suspend until a specific condition is met, such as polling a REST API for process completion.
    • Parallel (context.parallel()) — Execute different independent operations concurrently.
    • Map (context.map()) — Apply the same operation to every item in a collection concurrently (fan-out/fan-in).

    How It Works – Flow

    1. Create a Lambda function with durable execution enabled at creation time.
    2. Add the Durable Execution SDK to your function code.
    3. Wrap your handler with @durable_execution decorator (Python) or equivalent.
    4. Use context.step() for business logic with automatic checkpointing and retries.
    5. Use context.wait() or context.create_callback() to suspend execution without compute charges.
    6. On resume, the SDK replays from the beginning, skipping completed steps using stored results.
    7. Monitor execution progress in the Lambda console Durable executions tab.

    Key Features

    Automatic State Persistence

    • Every durable operation automatically checkpoints its result to durable storage.
    • No need to manually manage state in DynamoDB, S3, or external databases.
    • State is retained for a configurable period (1–90 days, default 14 days) after execution completes.
    • Execution history is available via the GetDurableExecutionHistory API for debugging and auditing.

    Exactly-Once Execution Semantics

    • Steps that complete successfully are never re-executed during replay — their stored results are used instead.
    • Built-in idempotency: invoking a function twice with the same execution name returns the existing execution result instead of creating a duplicate.
    • Configurable retry strategies with max attempts, backoff rate, and custom error handling per step.

    Timer and Wait Support

    • Waits can suspend execution from seconds up to one year (max ExecutionTimeout: 31,622,400 seconds).
    • During wait operations, on-demand functions do not incur compute charges — you only pay for storage.
    • Ideal for scheduled delays, polling intervals, and time-based business rules.

    Human Approval Workflows

    • Callbacks allow execution to pause until an external system (or human) signals completion.
    • External systems call SendDurableExecutionCallbackSuccess or SendDurableExecutionCallbackFailure APIs.
    • Callbacks support configurable timeouts — if no response within the timeout, execution can handle the timeout gracefully.
    • Can be sent directly from the Lambda console for testing.

    Sub-Orchestrations and Concurrency

    • Parallel: Execute different independent tasks concurrently and collect results.
    • Map: Fan-out the same operation across a collection of items and fan-in the results.
    • Child contexts: Compose complex workflows from smaller, reusable durable function patterns.
    • All concurrent operations are checkpointed and replayed correctly.

    EventBridge Integration

    • Lambda automatically sends Durable Execution Status Change events to the default EventBridge bus.
    • Build downstream workflows, notifications, or monitoring based on execution state changes.
    • Event source: aws.lambda, detail-type: Durable Execution Status Change.

    Lambda Versions for Safe Deployments

    • Use Lambda versions to ensure replay always happens on the same code version that started the execution.
    • Prevents inconsistencies from code changes during long-running workflows.
    • Critical for production deployments where executions may be suspended for days or weeks.

    Lambda Durable Functions vs Step Functions

    Feature Lambda Durable Functions AWS Step Functions
    Primary Focus Application development within Lambda Workflow orchestration across AWS services
    Service Type Runs within Lambda Standalone, dedicated workflow service
    Programming Model Standard languages (Python, JS/TS, Java) Amazon States Language (ASL) / Visual Designer
    Development Tools IDE, LLM agents, unit test frameworks, SAM, CDK Visual Workflow Builder, CDK, Toolkit
    AWS Integrations Lambda event sources 220+ AWS services, 16,000+ APIs natively
    Max Execution Duration Up to 1 year Up to 1 year (Standard Workflows)
    Pricing Model Lambda compute + $8/million durable operations + data written + data retention $25/million state transitions (Standard) or per-request (Express)
    Wait Cost No compute charges during waits (storage only) No charges during waits
    Visual Design No — code-first approach Yes — Workflow Studio visual designer
    Stakeholder Visibility Requires code reading Visual graph for non-technical stakeholders
    Infrastructure Management Managed within Lambda (SDK updates needed) Fully managed, zero maintenance
    Best For Distributed transactions, stateful app logic, AI workflows Business process automation, multi-service orchestration

    When to Use Lambda Durable Functions

    • Your team prefers writing workflows in standard programming languages.
    • Application logic is primarily within Lambda functions (Lambda-centric).
    • You want fine-grained control over execution state in code.
    • Business logic and workflow are tightly coupled.
    • You want to iterate quickly without switching between code and visual/JSON designers.
    • You’re building AI agent orchestration that requires code-level control.

    When to Use Step Functions

    • You need visual workflow representation for cross-team visibility.
    • You’re orchestrating multiple AWS services and want native integrations without custom SDK code.
    • Non-technical stakeholders need to understand and validate workflow logic.
    • You want fully managed, zero-maintenance infrastructure (no patching, runtime updates, SDK bundling).
    • You need integration with 220+ AWS services without writing Lambda functions for each.

    Hybrid Architectures

    • Many applications benefit from using both services together.
    • Common pattern: Use durable functions for application-level logic within Lambda, while Step Functions coordinates high-level workflows across multiple AWS services.
    • Start with durable functions for Lambda-centric workflows; add Step Functions when multi-service orchestration is needed.

    Lambda Durable Functions vs SQS + Lambda Pattern

    Aspect Lambda Durable Functions SQS + Lambda
    State Management Automatic via SDK checkpoints Manual (DynamoDB, S3, or message attributes)
    Error Handling Built-in retries, automatic recovery Dead-letter queues, manual retry logic
    Workflow Visibility Execution history in Lambda console CloudWatch logs, custom tracing
    Long Waits Native wait up to 1 year, no compute cost SQS delay (max 15 min), needs workarounds
    Ordering Sequential by default, parallel when needed FIFO queues or custom ordering
    Code Complexity Single function, sequential code Multiple functions, queue config, DLQ setup
    Idempotency Built-in via execution names Must implement manually
    Best For Multi-step workflows, long-running processes Decoupled event-driven processing, high throughput message processing

    Use Cases

    Saga Pattern (Distributed Transactions)

    • Coordinate payments, inventory, and shipping across multiple services with automatic rollback on failures.
    • Each step is checkpointed — if a later step fails, compensating actions can be triggered for earlier steps.
    • Example: Order processing → Payment authorization → Inventory allocation → Fulfillment, with compensation logic.

    Human Approval Workflows

    • Suspend execution waiting for human decisions (loan approvals, expense reports, content moderation).
    • Use callbacks to pause for days or weeks without compute charges.
    • External approval systems call the Lambda API to resume execution with approval/rejection results.

    Fan-Out / Fan-In

    • Use map() to process a collection of items concurrently (e.g., batch image processing, parallel API calls).
    • Use parallel() for different independent tasks that must all complete before proceeding.
    • Results are automatically collected and available after all concurrent operations complete.

    Long-Running Processes

    • Employee onboarding workflows spanning days or weeks (account creation → training assignments → equipment provisioning → check-ins).
    • Insurance claim processing with document analysis, human review (7+ days), and payment processing.
    • Compliance workflows with scheduled checks and waiting periods.

    AI Agent Orchestration

    • Chain multiple LLM calls with intermediate processing, human feedback loops, and tool use.
    • Build multi-agent workflows where agents collaborate asynchronously.
    • Integrate with Amazon Bedrock for AI-powered analysis steps within durable workflows.
    • Handle long-running AI tasks (model training jobs, batch inference) with wait-and-resume patterns.

    Polling and Condition-Based Workflows

    • Poll external APIs or systems until a condition is met (e.g., payment settlement, third-party processing).
    • Use wait_for_condition() to efficiently check conditions at intervals without continuous compute.

    Pricing

    • Pay only for active compute: During wait operations, on-demand functions suspend and do not incur duration charges.
    • Standard Lambda charges apply: Requests ($0.20/million) and compute duration (per GB-second) for active execution time, including sub-invocations from replays.
    • Durable Operations: $8.00 per million operations (start execution, complete step, create wait, etc.).
    • Data Written: $0.25 per GB of data written by durable operations (step results, invocation payloads).
    • Data Retention: $0.15 per GB-month for data stored during execution and after completion (configurable 1–90 days, default 14 days, prorated).
    • Free Tier: Standard Lambda free tier (1M requests + 400,000 GB-seconds) applies to the compute portion.

    Pricing Example

    • 1 million claims processed/month, each with: 30s analysis step + 7-day human review wait + 2s payment step.
    • Compute: ~$421 (32M GB-seconds at 1GB memory).
    • Durable Operations: $32 (4M operations — 1 start + 2 steps + 1 wait per execution).
    • Data Written: $26 (104GB at $0.25/GB).
    • Data Retention: ~$11 (during wait + 14-day post-completion retention).
    • Total: ~$490/month for 1M executions with 7-day waits — no compute charges during the wait period.

    Limitations

    • Immutable configuration: Durable execution can only be enabled at function creation time — cannot be added to or removed from existing functions.
    • Language support: Currently supports Python (3.13/3.14), JavaScript/TypeScript (Node.js 22/24), and Java. No support for Go, .NET, or Ruby as of mid-2026.
    • Determinism requirement: Code between durable operations must be deterministic — no random values, timestamps, or non-deterministic API calls outside of steps.
    • SDK dependency: Requires bundling the open-source Durable Execution SDK with your function code and managing SDK version updates.
    • Max execution timeout: 31,622,400 seconds (~1 year). Executions exceeding this are terminated.
    • Retention period: Execution history retained 1–90 days after completion (default 14 days).
    • State size: Large state objects increase storage costs and can impact replay performance. Keep state minimal.
    • Replay overhead: On resume, the entire handler replays from the beginning (skipping completed steps). Complex workflows with many steps incur replay compute costs.
    • No visual designer: Unlike Step Functions, there is no graphical workflow builder — code-only approach.
    • Cold starts: Each sub-invocation (resume) is subject to normal Lambda cold start behavior.

    Supported Runtimes and Availability

    • Languages: Python 3.13/3.14, Node.js 22/24 (JavaScript/TypeScript), Java (bundled SDK).
    • Regions: Available in ~31 AWS Regions as of mid-2026.
    • SDK: Open source — Python SDK, JavaScript/TypeScript SDK.
    • IaC Support: AWS CloudFormation, AWS SAM, AWS CDK.
    • Testing: Local testing SDK available (pytest integration) + AWS SAM CLI for integration testing.

    AWS Certification Exam Relevance

    DVA-C02 (Developer Associate)

    • Understand when to use Durable Functions vs Step Functions vs SQS+Lambda.
    • Know the checkpoint/replay mechanism and determinism requirements.
    • Understand durable operations: steps, waits, callbacks, parallel, map.
    • Know that durable execution must be enabled at creation time.
    • Understand idempotency via execution names.

    SAA-C03 (Solutions Architect Associate)

    • Architecture decisions: choosing the right orchestration service for workflow requirements.
    • Cost optimization: no compute charges during waits vs Step Functions pricing model.
    • Use case mapping: saga pattern, approval workflows, long-running processes.
    • Hybrid architectures: combining Durable Functions with Step Functions.

    Practice Questions

    Question 1

    A company needs to build an order processing workflow that coordinates payment authorization, inventory allocation, and shipping across three microservices. The workflow must automatically roll back completed steps if a later step fails. The development team prefers writing workflow logic in Python rather than using a visual designer. Which solution meets these requirements with the LEAST operational overhead?

    1. AWS Step Functions with Lambda tasks and error handling states
    2. AWS Lambda durable functions with steps and compensation logic
    3. Amazon SQS queues between Lambda functions with DynamoDB for state tracking
    4. Amazon EventBridge with Lambda targets and Step Functions for rollback
    Show Answer

    Answer: B –

    Lambda durable functions provide automatic state management, built-in retries, and a code-first approach in Python. The saga pattern with compensation logic can be implemented as sequential code with steps and error handling, meeting the requirement for Python-based workflow logic with minimal operational overhead.

    Question 2

    A healthcare company is building a patient referral system where a referral is submitted, requires physician approval (which may take up to 2 weeks), and then triggers appointment scheduling. The solution must minimize costs during the waiting period. Which approach is MOST cost-effective?

    1. AWS Step Functions Standard Workflow with a Wait state
    2. Lambda function polling DynamoDB every hour using EventBridge Scheduler
    3. AWS Lambda durable functions with a callback that suspends execution until approval
    4. Amazon SQS with a delay queue and Lambda consumer
    Show Answer

    Answer: C –

    Lambda durable functions with callbacks suspend execution without incurring compute charges during the wait. The function resumes only when the physician approval triggers the callback API. This is the most cost-effective approach as there are no compute charges during the 2-week wait — only minimal data retention costs. Step Functions Standard Workflows also don’t charge during waits, but durable functions eliminate the per-state-transition cost for simple workflows.

    Question 3

    A solutions architect is designing a workflow that coordinates image processing across 10 AWS services including S3, Rekognition, DynamoDB, SNS, and SQS. The workflow needs to be understood by non-technical business stakeholders and must require minimal custom code. Which service is MOST appropriate?

    1. AWS Lambda durable functions with parallel and map operations
    2. AWS Step Functions with native service integrations
    3. Amazon EventBridge Pipes connecting the services
    4. AWS Lambda durable functions with AWS SDK calls in steps
    Show Answer

    Answer: B –

    AWS Step Functions provides native integrations with 220+ AWS services without requiring custom Lambda code, and offers a visual workflow designer that non-technical stakeholders can understand. Lambda durable functions would require writing SDK calls for each service integration and doesn’t provide a visual representation.

    Question 4

    A developer is implementing a Lambda durable function that processes financial transactions. During testing, the function occasionally produces different results when replayed. What is the MOST likely cause?

    1. The function’s memory configuration is too low for replay operations
    2. The function contains non-deterministic code (random values, timestamps) outside of durable steps
    3. The ExecutionTimeout is configured incorrectly
    4. The function is using an unsupported runtime version
    Show Answer

    Answer: B –

    Lambda durable functions use a replay mechanism that re-executes code from the beginning on resume. Code between durable operations must be deterministic — any non-deterministic operations (random number generation, current timestamps, external API calls) must be wrapped inside context.step() to be checkpointed and skipped during replay.

    Question 5

    A company wants to add durable execution capabilities to their existing production Lambda function that processes insurance claims. The function currently runs on Python 3.13 and handles 500,000 invocations per day. What should the developer do?

    1. Update the function configuration to enable DurableConfig with the appropriate ExecutionTimeout
    2. Create a new Lambda function with durable execution enabled, migrate the code, and redirect traffic
    3. Add the Durable Execution SDK to the existing function and use the @durable_execution decorator
    4. Enable durable execution on the existing function using the UpdateFunctionConfiguration API
    Show Answer

    Answer: B –

    Durable execution can only be enabled at function creation time — it cannot be added to or modified on existing Lambda functions. The developer must create a new function with durable execution enabled in the DurableConfig, migrate the code to use the Durable Execution SDK, and redirect traffic to the new function.

    Frequently Asked Questions

    What are AWS Lambda Durable Functions?

    Lambda Durable Functions let you build multi-step stateful workflows directly in Lambda code. They automatically checkpoint state, can wait for up to one year for external events, and you only pay for active compute time — not idle waiting.

    How do Durable Functions differ from Step Functions?

    Durable Functions define workflows in code (Python/Node.js) with inline orchestration logic. Step Functions use a visual designer with JSON/YAML state machine definitions. Use Durable Functions for code-first teams; Step Functions for visual workflows with 200+ service integrations.

    Do Durable Functions charge for wait time?

    No. Unlike Step Functions which charge per state transition including waits, Durable Functions only charge for active compute. Waiting for a human approval or external event costs nothing beyond state storage.

    References

    AWS Verified Access – Zero Trust Application Access

    AWS Verified Access – Zero Trust Application Access

    AWS Verified Access provides secure access to corporate applications and resources without requiring a virtual private network (VPN). It implements Zero Trust security principles by evaluating each access request in real time against fine-grained policies based on user identity and device security posture, ensuring that only authenticated and authorized users on compliant devices can reach your applications.

    📢 Key Updates (2024–2025):

    • December 2024: Non-HTTP(S) protocol support (SSH, RDP, TCP) launched in preview
    • February 2025: Non-HTTP(S) support became generally available
    • March 2025: Achieved FedRAMP High and Moderate authorization
    • 2025: RDS endpoint type added for direct database access
    • 2025: Network CIDR endpoint type for IP-range-based access
    • 2025: AWS Connectivity Client for non-HTTP resources
    AWS Verified Access — Zero Trust Flow
    User
    (Browser/Device)
    Verified Access
    1. Check Identity (Okta/IdC)
    2. Check Device (CrowdStrike)
    3. Evaluate Cedar Policy
    → Allow/Deny →
    Application
    (ALB / NI / RDS)
    ❌ No VPN needed • Per-request evaluation • Never trust, always verify

    Zero Trust Principles

    AWS Verified Access is built on the “never trust, always verify” model. Traditional perimeter-based security grants broad network access once a user connects via VPN. Zero Trust eliminates implicit trust by:

    • Verifying every request: Each application access request is evaluated independently — no persistent trust based on network location
    • Least-privilege access: Users get access only to specific applications they need, not the entire network
    • Continuous validation: Identity and device posture are checked on every request, not just at initial connection
    • Assume breach: The architecture limits lateral movement — compromising one application doesn’t grant access to others
    • Context-aware decisions: Access decisions combine multiple signals: user identity, group membership, device health, and security posture

    Architecture Components

    AWS Verified Access consists of four core components that work together to enforce zero trust access:

    Verified Access Instance

    • The top-level container that evaluates access requests and enforces policies
    • Each instance is associated with one or more trust providers
    • Supports AWS WAF integration for additional web security (SQL injection, XSS protection)
    • Logging is configured at the instance level (S3, CloudWatch Logs, Kinesis Data Firehose)
    • Can be shared across AWS accounts using AWS Resource Access Manager (RAM)

    Verified Access Trust Providers

    • External services that supply user identity and device security posture data
    • Two categories: Identity trust providers (who the user is) and Device trust providers (device health status)
    • Each Verified Access instance can have one identity provider and multiple device trust providers
    • Trust data is passed to Cedar policies for access evaluation

    Verified Access Groups

    • Logical groupings of endpoints with similar security requirements
    • Group-level access policies apply to all endpoints in the group
    • Simplifies policy management — define once, apply to many applications
    • Each group is associated with a Verified Access instance

    Verified Access Endpoints

    • Represent individual applications or resources that users access
    • Each endpoint belongs to a Verified Access group and inherits its policy
    • Optional endpoint-level policy for additional application-specific controls
    • Four endpoint types:
      • Load Balancer: Routes requests to ALB or NLB for application distribution
      • Network Interface: Sends requests to a specific ENI with protocol and port
      • Network CIDR: Routes requests to a specified IP address range
      • Amazon RDS: Provides access to RDS instances, clusters, or DB proxies

    How AWS Verified Access Works

    AWS Verified Access evaluates every access request using a combination of user identity verification and device posture assessment, eliminating the need for a VPN:

    1. User requests access to a corporate application via its Verified Access endpoint URL (e.g., app.example.com)
    2. Authentication: The user is redirected to the configured identity provider (IAM Identity Center or OIDC-compatible IdP) for authentication
    3. Device posture check: The device trust provider assesses the device’s security state (OS patch level, firewall status, disk encryption, malware protection)
    4. Policy evaluation: Verified Access evaluates Cedar policies using the identity and device trust data against group-level and endpoint-level policies
    5. Access decision: If both policies return Allow, the request is forwarded to the application; otherwise, access is denied
    6. Logging: Every access attempt (allowed or denied) is logged for audit and security analysis

    For non-HTTP(S) applications (SSH, RDP, TCP), users install the AWS Verified Access Connectivity Client on their devices. The client encrypts traffic, attaches user identity and device context, and routes it to Verified Access for policy enforcement before forwarding to the target resource.

    Trust Providers

    Identity Trust Providers

    Identity trust providers authenticate users and supply identity claims (email, groups, roles) to Cedar policies:

    Provider Type Details
    AWS IAM Identity Center Native Direct integration; supports SAML 2.0 federation with external IdPs; provides user/group attributes
    Okta OIDC OpenID Connect integration; supplies user identity, group membership, and custom claims
    Ping Identity OIDC OpenID Connect integration; enterprise identity verification and SSO
    Any OIDC Provider OIDC Any standards-compliant OIDC identity provider (Azure AD, Google Workspace, Auth0, etc.)

    Device Trust Providers

    Device trust providers assess the security posture of the user’s device and provide device health signals:

    Provider Supported Platforms Trust Signals
    CrowdStrike Windows 10, Windows 11 Zero Trust Assessment (ZTA) score, OS version, sensor status, policy compliance
    Jamf macOS Device compliance, risk score, OS patch level, FileVault encryption, firewall status
    JumpCloud Windows, macOS Device compliance status, disk encryption, OS version, screen lock, firewall
    💡 Important: You can configure one identity trust provider and multiple device trust providers per Verified Access instance. Verified Access currently supports Google Chrome and Mozilla Firefox browsers for device trust context collection.

    Cedar Policy Language

    Access policies in AWS Verified Access are written in Cedar, an open-source policy language developed by AWS. Cedar provides:

    • Human-readable syntax: Policies resemble natural language — easy to write and audit
    • Provably correct evaluation: Uses automated reasoning to ensure deterministic results
    • RBAC and ABAC support: Role-based and attribute-based access control in a single policy
    • Principal/Action/Resource model: Defines who can do what on which resource under which conditions

    Example Cedar Policy — Allow engineering team on compliant devices:

    Example Cedar Policy — Deny access from non-compliant devices:

    Integration with Application Load Balancer (ALB)

    AWS Verified Access integrates with Application Load Balancers as a primary endpoint type for HTTP(S) applications:

    • Load Balancer endpoint type: Verified Access forwards authenticated and authorized requests to an internal ALB or NLB
    • No public exposure needed: The ALB remains in a private subnet — only Verified Access endpoints are internet-facing
    • Health checks maintained: ALB continues to perform health checks on target applications
    • WAF at both layers: AWS WAF can be attached to both the Verified Access instance and the ALB for defense-in-depth
    • Signed identity headers: Verified Access injects signed user identity information into HTTP headers forwarded to the ALB, allowing applications to identify the authenticated user without separate authentication logic
    • On-premises applications: By pointing a Verified Access endpoint at an NLB with IP targets, you can provide zero trust access to on-premises applications connected via Direct Connect or VPN

    Architecture Pattern: Verified Access + ALB

    AWS WAF Integration

    • Associate an AWS WAF Web ACL with a Verified Access instance for additional protection
    • Provides protection against common exploits: SQL injection, XSS, known bad IPs
    • With IAM Identity Center: WAF inspects traffic before user authentication
    • With OIDC providers: WAF inspects traffic after user authentication
    • Rate limiting and geo-blocking rules apply at the Verified Access level

    Use Cases

    1. Replacing Traditional VPN

    • Eliminate VPN infrastructure management, licensing costs, and scalability issues
    • Remove broad network access — users access only the applications they need
    • Reduce VPN-related support tickets (connectivity issues, split tunneling, performance)
    • No client software needed for HTTP(S) applications (browser-only access)
    • Gradual migration: run Verified Access alongside Client VPN during transition

    2. BYOD (Bring Your Own Device) Access

    • Enable personal device access to corporate applications without VPN tunnel to corporate network
    • Device trust providers verify minimum security posture (encryption, patches, antivirus)
    • Conditional access: allow browser-based apps from BYOD but restrict sensitive resources to managed devices
    • No corporate certificates or VPN profiles needed on personal devices

    3. Contractor and Third-Party Access

    • Grant time-limited, application-specific access to external contractors
    • Federate contractor identities through OIDC without creating AWS or corporate accounts
    • Apply stricter device posture requirements or limit to specific applications
    • Easy revocation: update group policy or remove contractor from IdP group

    4. Multi-Account Application Access

    • Share Verified Access instances across accounts using AWS Resource Access Manager
    • Centralize access policies while applications remain in separate AWS accounts
    • Consistent security posture across organizational units

    5. Securing Non-HTTP Resources

    • Provide zero trust access to SSH sessions, RDP desktops, and TCP-based applications
    • Uses AWS Verified Access Connectivity Client on user devices
    • Supports access to RDS databases without exposing them publicly
    • Apply same identity and device trust policies to infrastructure access

    AWS Verified Access vs Client VPN vs Direct Connect vs PrivateLink

    Feature Verified Access AWS Client VPN AWS Direct Connect AWS PrivateLink
    Primary Purpose Zero trust application access without VPN Remote user VPN connectivity to VPC Dedicated private network connection from on-premises Private connectivity between VPCs and services
    Access Model Per-application, per-request Network-level (full VPC access via tunnel) Network-level (Layer 2/3) Service-specific (endpoint to service)
    Client Required No (browser for HTTP); Yes (Connectivity Client for non-HTTP) Yes (OpenVPN-compatible client) No (hardware router at on-premises) No
    Identity Verification Every request (IdP + device posture) At connection time (certificate + optional MFA) None (network-level only) None (relies on VPC security)
    Device Posture Yes (CrowdStrike, Jamf, JumpCloud) No No No
    Zero Trust Yes — core design principle No — perimeter-based once connected No — dedicated circuit Partial — limits service exposure
    Lateral Movement Risk Minimal (app-level isolation) High (VPC network access) Medium (depends on routing) Low (service-specific)
    Protocol Support HTTP(S), SSH, RDP, TCP All TCP/UDP (tunnel) All protocols (Layer 2/3) TCP (NLB-based)
    Scalability Fully managed, auto-scales Scales with VPN endpoints Fixed bandwidth (1/10/100 Gbps) Scales automatically
    Best For Remote workforce, BYOD, contractors, zero trust Full network access for remote employees Hybrid cloud, high-bandwidth on-premises connectivity Service-to-service private connectivity, SaaS delivery

    Pricing

    AWS Verified Access uses a pay-as-you-go model with no upfront commitment or minimum fees:

    HTTP(S) Applications

    Dimension Rate (US East – Ohio)
    Application hours (first 200 apps × 744 hrs) $0.27 per app-hour
    Application hours (above 148,800 app-hours/month) $0.20 per app-hour
    Data processed $0.02 per GB

    Non-HTTP(S) Applications

    Dimension Rate (US East – Ohio)
    Non-HTTP endpoint hours $0.20 per endpoint-hour
    Connections (above 100 free per endpoint/hour) $0.001 per connection-hour
    💰 Cost Example: 10 HTTP(S) applications running 24/7 for a month with 5 GB total data processed: (10 × 744 × $0.27) + (5 × $0.02) = $2,008.90/month. Additional standard AWS data transfer charges apply.

    Logging and Observability

    AWS Verified Access logs every access attempt (both allowed and denied), providing centralized visibility for security audits and incident response:

    Log Destinations

    • Amazon S3: Long-term archival, Athena queries, and compliance retention
    • Amazon CloudWatch Logs: Real-time monitoring, alarms, and dashboards
    • Amazon Kinesis Data Firehose: Stream to SIEM tools, Splunk, Datadog, or OpenSearch

    Log Contents

    • Timestamp and request ID
    • Source IP address and port
    • Verified Access instance, group, and endpoint IDs
    • Access decision (Allow or Deny)
    • User identity information (from trust provider)
    • Device trust data (optionally included)
    • HTTP method, URI, status code (for HTTP requests)
    • Policy evaluation details
    💡 Tip: Enable trust data inclusion in logs to capture the full identity and device context for each request. This aids forensic investigation but increases log volume and storage costs.

    AWS Certification Exam Relevance

    Exam Relevance Key Topics
    AWS Security Specialty (SCS-C02) ⭐⭐⭐ High Zero trust architecture, identity-based access, device posture, policy evaluation, WAF integration, logging for compliance
    Solutions Architect Professional (SAP-C02) ⭐⭐⭐ High VPN replacement patterns, hybrid access architecture, multi-account access, choosing between connectivity options
    Solutions Architect Associate (SAA-C03) ⭐⭐ Medium Understanding when to use Verified Access vs VPN vs PrivateLink; basic zero trust concepts
    Advanced Networking Specialty (ANS-C01) ⭐⭐⭐ High Endpoint types, ALB/NLB integration, DNS configuration, non-HTTP protocol support, Network Firewall integration

    AWS Verified Access Practice Questions

    1. A company wants to provide secure access to internal web applications for remote employees without deploying VPN infrastructure. They require per-request identity verification and device compliance checks. Which AWS service should they use?

      1. AWS Client VPN with MFA
      2. AWS PrivateLink with VPC endpoints
      3. AWS Verified Access
      4. Amazon CloudFront with signed URLs
      Show Answer

      Answer: C –

      Explanation: AWS Verified Access provides secure application access without VPN by evaluating each request against identity and device posture policies. Client VPN provides network-level access, not per-application zero trust. PrivateLink is for service-to-service connectivity within AWS. CloudFront signed URLs don’t provide identity/device verification.

    2. An organization is configuring AWS Verified Access and needs to enforce that users can only access applications from devices with disk encryption enabled and an up-to-date OS. Which combination of trust providers should they configure? (Choose TWO)

      1. AWS IAM Identity Center as an identity trust provider
      2. CrowdStrike as a device trust provider
      3. Amazon Cognito as an identity trust provider
      4. AWS Config as a device trust provider
      5. Amazon Inspector as a device posture provider
      Show Answer

      Answer: A, B

      Explanation: Verified Access requires an identity trust provider (IAM Identity Center or OIDC) and a device trust provider (CrowdStrike, Jamf, or JumpCloud). CrowdStrike provides device posture signals including disk encryption and OS version. Amazon Cognito, AWS Config, and Inspector are not supported as Verified Access trust providers.

    3. A security engineer is writing a Cedar policy for AWS Verified Access that should allow access only to users in the “finance” group who have a CrowdStrike ZTA assessment of “pass”. Which policy correctly implements this requirement?

      1. allow(principal in Group::"finance", action, resource) when { context.device.crowdstrike.overall_assessment == "pass" };
      2. permit(principal, action, resource) when { context.identity.groups.contains("finance") && context.device.crowdstrike.overall_assessment == "pass" };
      3. grant(principal, action, resource) when { identity.group == "finance" AND device.assessment == "pass" };
      4. permit(principal, action, resource) when { context.identity.email.endsWith("@finance.com") };
      Show Answer

      Answer: B –

      Explanation: Cedar policies use permit or forbid keywords (not “allow” or “grant”). The trust data is accessed via the context object, with identity data under context.identity and device data under context.device.[provider]. Option B correctly checks both group membership and device assessment.

    4. A company currently uses AWS Client VPN but wants to migrate to AWS Verified Access for their web applications. During the transition, they need to maintain access for applications that use SSH and RDP. What should the solutions architect recommend?

      1. Use Verified Access for all applications immediately — it supports all protocols
      2. Use Verified Access for HTTP(S) applications and deploy the AWS Verified Access Connectivity Client for SSH/RDP access to non-HTTP endpoints
      3. Continue using Client VPN for SSH/RDP; Verified Access only supports HTTP(S)
      4. Use AWS Systems Manager Session Manager for SSH/RDP and Verified Access for HTTP(S) only
      Show Answer

      Answer: B –

      Explanation: Since February 2025, AWS Verified Access supports non-HTTP(S) protocols (SSH, RDP, TCP) through the AWS Verified Access Connectivity Client. Users install the client on their devices to access non-HTTP resources with the same zero trust policy enforcement. This eliminates the need for Client VPN for these protocols.

    5. An organization needs to log all Verified Access requests for compliance auditing, including the identity claims and device posture data used in each access decision. Where can they send these logs? (Choose THREE)

      1. Amazon S3
      2. Amazon CloudWatch Logs
      3. Amazon Kinesis Data Firehose
      4. AWS CloudTrail
      5. Amazon DynamoDB
      6. Amazon SQS
      Show Answer

      Answer: A, B, C

      Explanation: AWS Verified Access supports three log destinations: Amazon S3, CloudWatch Logs, and Kinesis Data Firehose. Trust data (identity and device context) can optionally be included in these logs. CloudTrail records API calls for Verified Access management operations but does not capture per-request access logs. DynamoDB and SQS are not supported log destinations.

    Frequently Asked Questions

    What is AWS Verified Access?

    AWS Verified Access provides secure access to corporate applications without a VPN. It evaluates each request against identity and device posture policies using Cedar policy language, following zero trust principles of ‘never trust, always verify’.

    How does Verified Access replace VPN?

    Instead of granting broad network access via VPN, Verified Access grants per-application access based on user identity and device security posture. Users connect directly to applications through their browser without installing VPN clients.

    What trust providers does Verified Access support?

    For identity: IAM Identity Center, Okta, Ping Identity, and any OIDC provider. For device posture: CrowdStrike, Jamf, and JumpCloud. You can combine identity + device trust for stronger security.

    Related Posts

    References

    Amazon Q Developer & Q Business – AI Assistants

    Amazon Q – Overview

    • Amazon Q is AWS’s family of generative AI-powered assistants designed for both software development and enterprise business use cases.
    • Amazon Q encompasses two primary products: Amazon Q Developer (for builders) and Amazon Q Business (for enterprises).
    • Amazon Q is built on Amazon Bedrock and leverages foundation models including Anthropic Claude to deliver intelligent, context-aware responses.
    • Amazon Q is available across multiple interfaces: IDEs, CLI, AWS Management Console, and web applications.
    • Amazon Q respects existing identity, roles, and permissions — providing personalized, secure interactions.

    Amazon Q Developer

    • Amazon Q Developer is an AI-powered coding assistant that reimagines the entire software development lifecycle (SDLC).
    • Previously known as Amazon CodeWhisperer, it was rebranded and significantly expanded as Amazon Q Developer in April 2024.
    • Supports code generation, debugging, optimization, security scanning, code transformation, documentation generation, and operational troubleshooting.
    • Available in Visual Studio Code, JetBrains IDEs, Visual Studio, Eclipse, and from the command line (CLI).
    • Offers an agentic coding experience — can autonomously read/write files, run shell commands, generate code diffs, and execute multi-step workflows through natural language.
    • Supports Model Context Protocol (MCP) for connecting external tools and MCP servers for context-aware workflows.
    ⚠️ Important Update (May 2026): AWS announced that Amazon Q Developer IDE plugins and paid subscriptions will reach end-of-support on April 30, 2027. New signups were blocked as of May 15, 2026. The official successor is Kiro — AWS’s spec-driven agentic IDE. Amazon Q Developer continues to be available in the AWS Console, CLI, and through APIs. Existing subscribers retain access until end-of-support.

    Code Generation & Inline Completions

    • Provides real-time code suggestions as you type — completing lines, functions, doc strings, and code blocks.
    • Supports 15+ programming languages including Python, Java, JavaScript, TypeScript, C#, Go, Rust, PHP, Ruby, Kotlin, and more.
    • Generates complete functions, classes, and algorithms from natural language comments or partial code.
    • Context-aware: analyzes open files, imports, and project structure for relevant suggestions.
    • Supports up to 200,000 tokens of context with automatic @workspace indexing (Pro tier).
    • Reference tracking — flags when suggestions resemble open-source training data and provides repository/license attribution.
    • Option to suppress public code suggestions to avoid IP concerns.

    Agentic Coding

    • Amazon Q Developer agent autonomously performs multi-step software development tasks from natural language instructions.
    • Can implement features, write tests, generate documentation, refactor code, and perform code reviews.
    • Maintains real-time connection with developers — providing updates throughout the process.
    • Reads and writes files locally, generates code diffs, and runs shell commands.
    • Available in VS Code, JetBrains, Visual Studio, and CLI environments.
    • Incorporates developer feedback iteratively to deliver polished implementations.

    Debugging & Troubleshooting

    • Identifies bugs, explains error messages, and suggests fixes through conversational chat.
    • Analyzes stack traces, logs, and error patterns to pinpoint root causes.
    • In the AWS Console, the “Diagnose with Amazon Q” feature helps troubleshoot common service errors directly.
    • Accelerates CloudWatch investigations — looks for anomalies in telemetry, surfaces related signals, identifies root-cause hypotheses, and suggests remediation steps.

    Code Transformation (Upgrade Agent)

    • Amazon Q Developer agent for code transformation automates language and framework upgrades.
    • Supports Java upgrades from Java 8/11 to Java 17 and Java 21 (added Feb 2025).
    • Supports .NET upgrades and Angular upgrades for modernization.
    • Analyzes existing code, generates a transformation plan, applies code changes, updates libraries/frameworks, and runs tests.
    • Replaces deprecated API calls, upgrades libraries to latest compatible versions.
    • Selective transformation feature allows upgrading specific modules rather than entire applications.
    • Free tier: 1,000 lines of code (LOC) per month; Pro tier: 4,000 LOC per user per month (pooled at account level).
    • AWS internal teams upgraded 1,000+ applications using this capability.

    Security Scanning

    • Built-in security vulnerability scanning analyzes code for security issues, secrets exposure, and coding best practice violations.
    • Detects vulnerabilities aligned with OWASP Top 10, CWE, and AWS security best practices.
    • Scans for hardcoded credentials, injection flaws, insecure cryptography, and misconfigurations.
    • Provides remediation suggestions with one-click fix capability.
    • Supports Infrastructure as Code (IaC) analysis for CloudFormation, Terraform, and CDK templates.
    • Integrated into the development workflow — scans run automatically or on-demand.

    CLI Integration

    • Amazon Q Developer CLI brings AI assistance directly to the terminal/command line.
    • Provides natural language to command translation — describe what you want in English and get the correct CLI command.
    • Offers inline completions for shell commands (bash, zsh, fish, PowerShell).
    • Supports agentic coding directly from the command line — same capabilities as IDE agents.
    • Console-to-Code feature: record AWS Console actions and generate equivalent CLI commands, CDK, or CloudFormation code.
    • Supported on macOS (Intel/Apple Silicon), Linux, and Windows (WSL).
    • Works in VS Code terminal, JetBrains terminals, iTerm2, Terminal.app, and AWS CloudShell.

    IDE Support

    • Visual Studio Code — Full support including agentic coding, inline completions, chat, and MCP.
    • JetBrains IDEs — IntelliJ IDEA, PyCharm, WebStorm, GoLand, CLion, Rider, and more. Agentic coding added June 2025.
    • Visual Studio 2022 — All editions supported with agentic coding capabilities.
    • Eclipse — Available in Preview.
    • GitLab Duo with Amazon Q — Integrated experience for GitLab users.
    • Amazon SageMaker Studio — Native integration for ML development.

    Amazon Q Developer Free vs. Pro Tier

    Feature Free Tier Pro Tier ($19/user/month)
    Agentic Requests (Chat + Coding) 50 per month Increased limits
    Code Transformation (Java/.NET) 1,000 LOC/month 4,000 LOC/user/month (pooled)
    Admin Dashboard & Controls No Yes (user & policy management)
    IP Indemnity No Yes
    Reference Tracking Yes Yes
    Suppress Public Code Yes Yes
    Data Collection Opt-out available Automatically opted out
    Identity Center Support IAM / Builder ID IAM Identity Center + Builder ID
    Foundation Models Latest Claude models Latest Claude models
    Overage (Transformation) N/A $0.003 per LOC beyond allocation

    Amazon Q in the AWS Console

    • Amazon Q Developer is embedded directly in the AWS Management Console as a chat assistant.
    • Helps answer questions about AWS services, architecture, best practices, and billing.
    • Provides agentic capabilities (added June 2025) — functions as a resource analysis and operational troubleshooting assistant.
    • Can consult multiple information sources to resolve complex queries about your AWS environment.
    • Diagnose with Amazon Q — click button next to console errors to get AI-powered diagnosis and resolution steps.
    • Supports table and chart visualizations in responses.
    • Available in the Console, AWS Console Mobile Application, AWS Chatbot (Slack/Teams), and AWS documentation pages.
    • FinOps capabilities — answers cost-related questions, analyzes spending patterns, and provides optimization recommendations (50 queries/month free).
    • Console chat interactions are governed by Free Tier limits for all users; no Pro subscription required for console Q&A.

    Amazon Q Business

    • Amazon Q Business is a fully managed generative AI-powered assistant for enterprise knowledge management, content generation, and workflow automation.
    • Delivers quick, accurate, and relevant answers to business questions by connecting to enterprise data sources.
    • Uses Retrieval Augmented Generation (RAG) over company data — synthesizes information from multiple sources with citations.
    • Respects existing access control lists (ACLs) — provides permission-aware responses based on user identity.
    • Requires AWS IAM Identity Center for user authentication and access management.

    Data Source Connectors

    • Amazon Q Business supports over 40 data source connectors to popular enterprise applications:
    • Collaboration & Productivity: Microsoft SharePoint (Cloud/Server), OneDrive, Teams, Google Drive, Gmail, Google Calendar, Dropbox, Box
    • Knowledge Management: Confluence (Cloud/Server), Notion, Zendesk
    • Project Management: Jira, Asana (Preview)
    • Developer Tools: GitHub (Cloud/Server)
    • Databases & Storage: Amazon S3, Amazon FSx Windows, Amazon RDS, Amazon Aurora
    • CRM & Service: Salesforce, ServiceNow
    • Communication: Slack, Microsoft Exchange
    • Web: Amazon Q Web Crawler (crawl any website)
    • Custom: Amazon Q Business Custom Data Source Connector for any proprietary source
    • Connectors index ACL information along with documents — ensuring users only see data they’re authorized to access.
    • Supports configurable sync schedules, field mappings, and VPC connectivity for on-premises sources.

    Plugins & Actions

    • Amazon Q Business provides a library of over 50 built-in actions across popular business applications.
    • Plugins enable employees to take direct actions within enterprise applications through the Q Business interface.
    • Examples: create/update Jira tickets, change ServiceNow ticket priorities, move issues to sprint, manage calendar events.
    • Eliminates context-switching between different enterprise systems.
    • Administrators install and configure plugins; actions are automatically orchestrated during user chat.
    • Built-in plugins include: Jira, ServiceNow, Salesforce, Zendesk, PagerDuty, and more.
    • Custom plugins can be created using OpenAPI specifications.

    Admin Controls & Guardrails

    • Topic blocking — administrators can define topics that Amazon Q should not respond to.
    • Content guardrails — filter harmful/inappropriate responses, control response generation behavior.
    • Global controls — configure whether Q automatically orchestrates across plugins and data sources or requires explicit user selection.
    • Blocked phrases — specify exact phrases that should never appear in responses.
    • PII redaction — automatically redact sensitive personal information from responses.
    • Response scope — limit responses to only information found in connected enterprise data (no general knowledge).
    • User and group management — control access at user/group level through IAM Identity Center integration.
    • All data remains within the customer’s AWS account; Amazon Q Business does not use customer data to train models.

    Amazon Q Apps

    • Amazon Q Apps is a no-code/low-code capability that lets business users create custom generative AI applications.
    • Users can create apps from natural language descriptions or conversation prompts — no coding required.
    • Apps leverage the same enterprise data connections and permissions as the parent Q Business environment.
    • Use cases: automated report generators, knowledge Q&A bots, content creation tools, data summarizers.
    • Apps can be shared across the organization through an internal app library.
    • Available exclusively to Amazon Q Business Pro subscribers ($20/user/month).
    • Administrators control which users can create and publish Q Apps.

    Amazon Q Business Pricing

    Feature Lite ($3/user/month) Pro ($20/user/month)
    Q&A / Chat Yes (permission-aware) Yes (full suite)
    Content Generation Basic Full (summaries, reports, emails)
    Amazon Q Apps No Yes
    Amazon Q in QuickSight No Yes (Reader Pro)
    Plugins & Actions No Yes (50+ actions)
    Admin Controls & Guardrails Basic Full
    Data Source Connectors Yes (40+ connectors) Yes (40+ connectors)
    Index Types Starter & Enterprise Starter & Enterprise

    Note: Index units are charged separately based on data storage and processing capacity needs.

    Amazon Q vs. Competitors

    Feature Amazon Q Developer GitHub Copilot ChatGPT Enterprise
    Primary Focus AWS-native development & operations Universal code completion & generation General-purpose AI (coding + business)
    Pricing (Individual) Free / $19/user/month Pro Free / $10/month Pro / $39/month Pro+ Custom enterprise pricing
    Pricing (Team/Business) $19/user/month $19/user/month Business / $39 Enterprise Volume-based (contact sales)
    IDE Support VS Code, JetBrains, Visual Studio, Eclipse VS Code, JetBrains, Neovim, Xcode, Eclipse+ Web-based (no IDE plugin)
    CLI Support Yes (native terminal integration) Yes (Copilot CLI) No
    Security Scanning Built-in (code + IaC) Via GitHub Advanced Security (separate) No built-in scanning
    Code Transformation Yes (Java, .NET, Angular upgrades) No dedicated transformation agent No
    Cloud Integration Deep AWS (Console, CloudWatch, IAM) GitHub ecosystem, multi-cloud Plugins/GPTs for various services
    IP Indemnity Yes (Pro tier) Yes (Business/Enterprise) Yes (Enterprise)
    Foundation Models Anthropic Claude (via Bedrock) GPT-4o, Claude 3.5, Gemini 1.5 Pro GPT-4o, GPT-4 Turbo
    Context Window Up to 200,000 tokens Up to 128,000 tokens 128,000 tokens
    Enterprise Data RAG Yes (Q Business — separate product) Knowledge bases (Enterprise tier) Yes (company knowledge, GPTs)
    Best For AWS-centric teams, cloud operations Multi-cloud/multi-language teams General business + coding tasks

    Key Differentiators for Amazon Q

    • AWS-native integration — deep integration with Console, CloudWatch, IAM, and 200+ AWS services. No other tool offers built-in IAM policy generation.
    • Code transformation agents — unique capability for automated Java/.NET upgrades at scale.
    • Built-in security scanning — IaC analysis and vulnerability detection included in the same tool.
    • Operational troubleshooting — can diagnose AWS infrastructure issues directly in the Console.
    • Cost: competitive at $19/month — same as GitHub Copilot Business with AWS-specific features included.
    • Lowest latency in-region — 212ms p95 latency for AWS-hosted workloads.

    Amazon Q — Complete Pricing Summary

    Product Tier Price Key Inclusions
    Q Developer Free $0 50 agentic requests/month, 1K LOC transformation, Claude models
    Q Developer Pro $19/user/month Increased limits, 4K LOC, IP indemnity, admin controls
    Q Business Lite $3/user/month Q&A, permission-aware responses, 40+ connectors
    Q Business Pro $20/user/month Full suite, Q Apps, QuickSight, plugins, guardrails
    Q in Connect $40/agent/month Contact center AI assistant (Amazon Connect)

    AWS Certification Exam Relevance

    • AWS Certified AI Practitioner (AIF-C01) — Amazon Q is a key service. Understand Q Developer vs Q Business positioning, RAG concepts, and how Q Business connects to enterprise data.
    • AWS Certified Machine Learning Engineer – Associate (MLA-C01) — Know Amazon Q Developer’s role in ML development workflows, integration with SageMaker Studio.
    • AWS Certified Solutions Architect – Associate/Professional — Understand Q Business architecture: connectors, RAG pattern, IAM Identity Center requirement, data security model.
    • AWS Certified Developer – Associate — Q Developer capabilities for code generation, security scanning, debugging, and CI/CD integration.
    • AWS Certified DevOps Engineer – Professional — Code transformation agents, operational troubleshooting, CloudWatch integration, Console-to-Code.
    • Key Exam Concepts:
      • Amazon Q Business uses RAG (Retrieval Augmented Generation) over enterprise data
      • Access controls are inherited from source systems (ACL-aware)
      • IAM Identity Center is required for Q Business
      • Q Developer Free tier uses Builder ID; Pro tier supports Identity Center
      • Q Business does NOT use customer data to train foundation models
      • Q Developer provides IP indemnity only in Pro tier

    Amazon Q — Evolution & Roadmap

    • 2023 (Preview) — Amazon Q announced at re:Invent 2023 as a unified AI assistant for AWS.
    • April 2024 (GA) — Amazon Q generally available; CodeWhisperer rebranded to Amazon Q Developer.
    • 2024-2025 — Added agentic coding, MCP support, .NET/Angular transformation, Console-to-Code, GitLab integration.
    • Feb 2025 — Java 21 upgrade support added to transformation agent.
    • June 2025 — Agentic capabilities in AWS Console; agentic coding in JetBrains and Visual Studio.
    • May 2026 — IDE plugin end-of-support announced (April 2027). Kiro announced as successor for IDE/agentic coding.
    • Going forward — Q Developer continues in Console, CLI, and APIs. Kiro takes over IDE-based development. Q Business continues expanding enterprise capabilities.

    AWS Certification Exam Practice Questions

    • Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
    • AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
    • AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
    • Open to further feedback, discussion and correction.
    1. A company wants to deploy a generative AI assistant that can answer employee questions using internal documentation stored in Confluence, SharePoint, and Amazon S3. The assistant must respect existing document-level permissions. Which AWS service should be used?
      1. Amazon Q Developer
      2. Amazon Q Business
      3. Amazon Bedrock Knowledge Bases
      4. Amazon Kendra

      Explanation: Amazon Q Business is designed for enterprise knowledge retrieval with RAG over company data. It supports 40+ connectors including Confluence, SharePoint, and S3, and respects document-level ACL permissions. Amazon Q Developer is for coding assistance. While Bedrock Knowledge Bases can also do RAG, Q Business provides the fully managed enterprise assistant experience with built-in connectors and permission awareness.

    2. A development team is evaluating Amazon Q Developer Pro for their organization. Which of the following features are available ONLY in the Pro tier and NOT in the Free tier? (Choose TWO)
      1. Reference tracking for code suggestions
      2. IP indemnity for generated code
      3. Security vulnerability scanning
      4. Administrative dashboard with user and policy management
      5. Ability to suppress public code suggestions

      Explanation: IP indemnity and admin dashboard/policy management are Pro-tier only features. Reference tracking and suppressing public code suggestions are available in both Free and Pro tiers. Security scanning is available in both tiers.

    3. A Solutions Architect needs to understand the authentication requirements for Amazon Q Business. Which statement is correct?
      1. Amazon Q Business supports IAM users directly for end-user access.
      2. Amazon Q Business requires Amazon Cognito User Pools for authentication.
      3. Amazon Q Business requires AWS IAM Identity Center for user authentication and access management.
      4. Amazon Q Business can use any SAML 2.0 identity provider directly without IAM Identity Center.

      Explanation: Amazon Q Business requires AWS IAM Identity Center for managing user authentication and access. IAM Identity Center can federate with external identity providers (Okta, Azure AD, etc.) via SAML 2.0, but the integration point for Q Business is always through IAM Identity Center.

    4. A company is using Amazon Q Developer to modernize their Java applications. They have 50 Pro tier subscriptions and need to upgrade 250,000 lines of code this month. What will be the transformation overage charge?
      1. $0 — all within allocation
      2. $50
      3. $150
      4. $750

      Explanation: With 50 Pro subscriptions, the pooled allocation is 50 × 4,000 = 200,000 LOC/month. Usage is 250,000 LOC, so overage is 50,000 LOC. At $0.003/LOC: 50,000 × $0.003 = $150.

    5. Which Amazon Q product allows business users to create custom generative AI applications without writing code, using natural language descriptions?
      1. Amazon Q Developer agents
      2. Amazon Q in QuickSight
      3. Amazon Q Apps
      4. Amazon Bedrock Agents

      Explanation: Amazon Q Apps is a no-code capability within Amazon Q Business (Pro tier) that allows business users to create custom GenAI applications from natural language descriptions. These apps leverage the same enterprise data connections and permissions. Q Developer agents are for software development tasks. Bedrock Agents require developer setup.

    Frequently Asked Questions

    What is Amazon Q Developer?

    Amazon Q Developer is an AI-powered coding assistant that generates code, debugs issues, transforms legacy applications (Java 8→17, .NET to cross-platform), scans for security vulnerabilities, and provides CLI assistance — available in IDEs and the AWS Console.

    What is the difference between Q Developer and Q Business?

    Q Developer is for software development tasks (coding, debugging, AWS CLI help). Q Business is an enterprise AI assistant for business users that answers questions using company data via 40+ connectors to internal systems like SharePoint, Confluence, and Salesforce.

    How much does Amazon Q cost?

    Q Developer Free tier includes limited code suggestions. Q Developer Pro is $19/user/month with full agentic capabilities. Q Business Lite is $3/user/month (Q&A only) and Q Business Pro is $20/user/month (with plugins and actions).

    Related Posts

    References