Free AIP-C01 Practice Questions & Study Guide (2026)

Official Exam Details: (AIP-C01)

Exam Code:
AIP-C01
Passing Score:
70%
Total Question Bank:
176 Verified Questions
Exam Duration:
120 Minutes

Exam Format & Question Types

This certification exam features multiple-choice questions (single and multi-select), interactive Hotspots, Hot Areas, and Drag-and-Drop scenario configurations designed to test real-world technical competency.

AIP-C01 Certification Study Guide & Architectural Master Blueprint

1. Exam Overview & Profile

The AIP-C01: Cloud AI Platform Architect certification is designed for experienced cloud architects, MLOps engineers, data scientists, and solution developers who specialize in designing, implementing, and managing robust, scalable, and secure Artificial Intelligence and Machine Learning solutions on cloud platforms. This exam validates an individual’s deep expertise in leveraging cloud AI services to solve complex business problems, from data ingestion and preparation to model deployment, monitoring, and MLOps.

  • Target Audience: Professionals with 3+ years of experience in cloud architecture and 1+ year hands-on experience designing and deploying AI/ML solutions in a cloud environment.
  • Question Count: Typically 50-65 multiple-choice and multiple-response questions.
  • Duration: 120-150 minutes.
  • Passing Score: Generally, a score of 700-750 out of 1000 is required, emphasizing a comprehensive understanding across all domains.

2. Deep-Dive Domain Breakdown

This exam assesses your ability to make architectural decisions across the entire ML lifecycle within a cloud ecosystem. A strong understanding of the interplay between various cloud services is paramount.

  • Domain 1: AI Platform Fundamentals & Infrastructure (25%)

    • Managed AI Services: Deep understanding of offerings like Vertex AI, Azure Machine Learning, or AWS SageMaker, including their components (Workbench, Training, Endpoints, Pipelines).
    • Compute Resources: Selection and configuration of appropriate compute (CPUs, GPUs, TPUs, custom ASICs) based on model complexity, training time, and inference latency requirements.
    • Storage Solutions: Optimal selection of data lakes (e.g., Cloud Storage, S3, Azure Blob Storage) and purpose-built data stores for ML datasets, considering access patterns, scale, and cost.
    • Networking & Security: Implementing VPC/VNet peering, private endpoints, service perimeters, and granular IAM/RBAC for secure and isolated AI workloads.
  • Domain 2: Data Engineering for AI (25%)

    • Data Ingestion & Transformation: Designing ETL/ELT pipelines using services like Dataflow, Azure Data Factory, or AWS Glue for large-scale data preparation.
    • Data Labeling: Strategies and tools for high-quality data annotation, including human-in-the-loop processes.
    • Feature Engineering: Techniques and best practices for creating effective features, including feature stores (e.g., Vertex AI Feature Store).
    • Data Governance: Ensuring data quality, lineage, and compliance with regulatory standards.
  • Domain 3: Model Development & Training (30%)

    • Frameworks & Libraries: Expertise in TensorFlow, PyTorch, Scikit-learn, and other common ML frameworks, understanding their cloud integration.
    • Distributed Training: Architecting solutions for parallel and distributed model training for large datasets and complex models.
    • Hyperparameter Tuning: Utilizing automated services (e.g., AI Platform Vizier, SageMaker Automatic Model Tuning) for optimal model performance.
    • Experiment Tracking: Implementing robust systems (e.g., MLflow, Vertex AI Experiments) for tracking, comparing, and managing ML experiments.
    • Model Versioning: Strategies for managing model artifacts and ensuring reproducibility.
  • Domain 4: MLOps, Deployment & Monitoring (20%)

    • CI/CD for ML: Designing and implementing automated ML pipelines (e.g., Kubeflow Pipelines, Azure ML Pipelines, SageMaker Pipelines) for continuous integration, training, and deployment.
    • Model Deployment: Strategies for online prediction (low-latency APIs), batch prediction, and edge deployment, including canary releases and A/B testing.
    • Containerization: Leveraging Docker and Kubernetes (e.g., GKE, AKS, EKS) for scalable and portable model serving.
    • Model Monitoring: Implementing solutions for drift detection (data and concept drift), performance monitoring, explainability (e.g., SHAP, LIME), and alerting.
    • Security of Deployed Models: Access control, data privacy, and vulnerability management for inference endpoints.

3. High-Yield Exam Tips & Scenario Traps

  • Managed Services First: Always prioritize fully managed AI/ML services unless a specific constraint (e.g., extreme cost sensitivity, unique custom hardware) mandates a self-managed approach. Simplicity, scalability, and reduced operational overhead are key.
  • Scalability & Cost Optimization: Every architectural decision should implicitly consider these. Look for clues in the scenario regarding budget constraints or expected load. Auto-scaling, spot instances, and serverless options are frequent correct choices.
  • Security & Compliance: Implement least privilege IAM/RBAC, network isolation (VPC Service Controls, private endpoints), data encryption at rest and in transit, and robust audit logging. Data governance and residency requirements are critical.
  • Reproducibility: Emphasize versioning of data, code, environments (containers), and models. MLOps pipelines are central to achieving this.
  • Scenario Traps:
    • RAG vs. Fine-tuning: For LLM scenarios, differentiate when to use Retrieval Augmented Generation (RAG) for incorporating real-time or proprietary external knowledge (context injection) versus fine-tuning a base model for adapting to a specific style, tone, or domain-specific language. RAG is often preferred for dynamic information, fine-tuning for deeply embedding new capabilities.
    • Online vs. Batch Prediction: Carefully assess latency requirements. Online prediction demands low-latency services (e.g., Vertex AI Endpoints, SageMaker Real-time Endpoints), while batch prediction allows for cost-effective, high-throughput processing for non-real-time use cases.
    • Over-engineering: Avoid solutions that are overly complex for the given requirements. Simple, robust, and cloud-native solutions are generally preferred.
    • Ignoring Constraints: Don’t overlook details like “existing on-premises data,” “compliance regulations,” or “developers prefer Python” – these often dictate service selection.

4. Frequently Asked Questions (FAQ)

Q1: How should I structure my study time effectively for the AIP-C01 exam?
A: Adopt a phased approach. Begin by gaining a conceptual understanding of each domain through official documentation and whitepapers. Follow this with extensive hands-on experience using the respective cloud provider’s AI/ML platforms. Focus on completing labs and projects that cover the entire ML lifecycle. Finally, use practice exams to identify knowledge gaps and simulate exam conditions. Dedicate extra time to your weaker domains.

Q2: What kind of questions can I expect on the exam, and what’s the best strategy to answer them?
A: Expect scenario-based questions that describe a business problem or technical requirement, followed by multiple-choice or multiple-response options. These questions often test your ability to make architectural trade-offs (e.g., cost vs. performance, managed vs. self-managed, security implications). Read the question and all options carefully. Eliminate obviously incorrect answers first. Focus on keywords like “most cost-effective,” “highest scalability,” “lowest latency,” or “securest approach” to guide your choice.

Q3: Are hands-on labs and practical experience crucial for passing this certification?
A: Absolutely. While theoretical knowledge is important, the AIP-C01 exam heavily relies on your ability to apply that knowledge in practical, architectural scenarios. Without hands-on experience configuring services, troubleshooting common issues, and understanding the nuances of how different services integrate, you will struggle with the nuanced scenario questions. Dedicate significant time to practical labs and building small-scale projects.

Q4: What is a common mistake test-takers make, and how can I avoid it?
A: A very common mistake is not fully understanding the implicit and explicit constraints presented in a scenario. Test-takers often jump to a “favorite” solution without considering all requirements like budget, existing infrastructure, regulatory compliance, or team skill sets. To avoid this, before looking at the options, take a moment to identify all the key constraints and objectives outlined in the question prompt. This helps narrow down appropriate solutions significantly.

Free AIP-C01 Sample Practice Questions

Test your knowledge with these sample scenario questions complete with verified explanations:

General Practice Questions

QUESTION 1

An ecommerce company is developing a generative AI (GenAI) solution that uses Amazon Bedrock with Anthropic Claude to recommend products to customers. Customers report that some recommended products are not available for sale or are not relevant. Customers also report long response times for some recommendations.

The company confirms that most customer interactions are unique and that the solution recommends products not present in the product catalog.

Which solution will meet this requirement?

  • A. Increase grounding within Amazon Bedrock Guardrails. Enable automated reasoning checks. Set up provisioned throughput.
  • B. Use prompt engineering to restrict model responses to relevant products. Use streaming inference to reduce perceived latency.
  • C. Create an Amazon Bedrock Knowledge Bases and implement Retrieval Augmented Generation (RAG). Set the PerformanceConfigLatency parameter to optimized.
  • D. Store product catalog data in Amazon OpenSearch Service. Validate model recommendations against the catalog. Use Amazon DynamoDB for response caching.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Amazon Bedrock Knowledge Bases with RAG directly addresses the grounding problem by ensuring the model retrieves product information from the catalog, preventing irrelevant or unavailable recommendations. The PerformanceConfigLatency parameter optimizes the retrieval and generation process, reducing response times. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Guardrails focus on safety and harmful content, not factual grounding to an external product catalog. Provisioned throughput manages model capacity, but doesn’t solve the core grounding issue or specific RAG latency.
  • Option B is incorrect: Prompt engineering alone is insufficient for robust factual grounding from a large catalog; LLMs can still hallucinate. Streaming inference reduces perceived latency, not necessarily actual end-to-end generation time, and doesn’t solve grounding.
  • Option D is incorrect: Storing data in OpenSearch is only part of a RAG solution; this option doesn’t implement RAG. Validating post-generation is inefficient and reactive. DynamoDB caching is less effective for unique interactions and doesn’t solve the initial grounding or generation latency.

QUESTION 2

A company is developing a generative AI (GenAI) application that uses Amazon Bedrock foundation models. The application has several custom tool integrations. The application has experienced unexpected token consumption surges despite consistent user traffic.

The company needs a solution that uses Amazon Bedrock model invocation logging to monitor InputTokenCount and OutputTokenCount metrics. The solution must detect unusual patterns in tool usage and identify which specific tool integrations cause abnormal token consumption. The solution must also automatically adjust thresholds as traffic patterns change.

Which solution will meet these requirements?

  • A. Use Amazon CloudWatch Logs to capture model invocation logs. Create CloudWatch dashboards for token metrics. Configure static CloudWatch alarms with fixed thresholds for each tool integration.
  • B. Store model invocation logs in Amazon S3. Use AWS Glue and Amazon Athena to analyze token usage trends.
  • C. Use Amazon CloudWatch Logs to capture model invocation logs. Create CloudWatch metric filters to extract tool-specific invocation patterns. Apply CloudWatch anomaly detection alarms that automatically adjust baselines for each tool's token metrics.
  • D. Store model invocation logs in an Amazon S3 bucket. Use AWS Lambda to process logs in real time. Manually update CloudWatch alarm thresholds based on trends identified by the Lambda function.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: CloudWatch Logs capture Bedrock invocation logs. Metric filters extract tool-specific InputTokenCount/OutputTokenCount. CloudWatch Anomaly Detection alarms then automatically learn normal patterns and adjust baselines for each tool’s metrics, fulfilling all requirements for detecting unusual patterns and adapting to traffic changes. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Static CloudWatch alarms with fixed thresholds do not automatically adjust to changing traffic patterns, failing a key requirement.
  • Option B is incorrect: Storing logs in S3 for Glue/Athena analysis is suited for batch analytics and retrospective trend identification, not real-time anomaly detection with automatic threshold adjustments.
  • Option D is incorrect: While Lambda can process logs, this option explicitly states "Manually update CloudWatch alarm thresholds," which directly contradicts the requirement for automatic adjustment.

QUESTION 3

A financial services company is building a customer support application that retrieves relevant financial regulation documents from a database based on semantic similarity to user queries. The application must integrate with Amazon Bedrock to generate responses. The application must search documents in English, Spanish, and Portuguese. The application must filter documents by metadata such as publication date, regulatory agency, and document type.

The database stores approximately 10 million document embeddings. To minimize operational overhead, the company wants a solution that minimizes management and maintenance effort while providing low-latency responses for real-time customer interactions.

Which solution will meet these requirements?

  • A. Use Amazon OpenSearch Serverless to provide vector search capabilities and metadata filtering. Integrate with Amazon Bedrock Knowledge Bases to enable Retrieval Augmented Generation (RAG) using an Anthropic Claude foundation model.
  • B. Deploy an Amazon Aurora PostgreSQL database with the pgvector extension. Store embeddings and metadata in tables. Use SQL queries for similarity search and send results to Amazon Bedrock for response generation.
  • C. Use Amazon S3 Vectors to configure a vector index and non-filterable metadata fields. Integrate S3 Vectors with Amazon Bedrock for RAG.
  • D. Set up an Amazon Neptune Analytics database with a vector index. Use graph-based retrieval and Amazon Bedrock for response generation.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon OpenSearch Serverless provides scalable vector search and robust metadata filtering, essential for 10 million embeddings and diverse filtering criteria. Its serverless nature minimizes operational overhead. Native integration with Amazon Bedrock Knowledge Bases simplifies RAG for low-latency, real-time multilingual interactions. ❌ Why the other choices are incorrect:

  • Option B is incorrect: While Aurora PostgreSQL with pgvector offers vector search, optimizing its performance for 10 million embeddings with low latency often requires significant tuning, increasing operational overhead. It lacks the seamless RAG integration of Bedrock Knowledge Bases.
  • Option C is incorrect: Amazon S3 Vectors, as stated, uses "non-filterable metadata fields." This directly fails the critical requirement to filter documents by metadata like publication date, regulatory agency, and document type.
  • Option D is incorrect: Amazon Neptune Analytics supports vector indexing, but its primary focus is graph-based retrieval. Using a graph database primarily for simple semantic search and metadata filtering, without leveraging graph relationships, is an overly complex and potentially less efficient solution than a specialized search service.

QUESTION 4

Example Corp provides a personalized video generation service that millions of enterprise customers use. Customers generate marketing videos by submitting prompts to the company’s proprietary generative AI (GenAI) model. To improve output relevance and personalization, Example Corp wants to enhance the prompts by using customer-specific context such as product preferences, customer attributes, and business history.

The customers have strict data governance requirements. The customers must retain full ownership and control over their own data. The customers do not require real-time access. However, semantic accuracy must be high and retrieval latency must remain low to support customer experience use cases.

Example Corp wants to minimize architectural complexity in its integration pattern. Example Corp does not want to deploy and manage services in each customer’s environment unless necessary.

Which solution will meet these requirements?

  • A. Ensure that each customer sets up an Amazon Q Business index that includes the customer's internal data. Ensure that each customer designates Example Corp as a data accessor to allow Example Corp to retrieve relevant content by using a secure API to enrich prompts at runtime.
  • B. Use federated search with Model Context Protocol (MCP) by deploying real-time MCP servers for each customer. Retrieve data in real time during prompt generation.
  • C. Ensure that each customer configures an Amazon Bedrock knowledge base. Allow cross-account querying so Example Corp can retrieve structured data for prompt augmentation.
  • D. Configure Amazon Kendra to crawl customer data sources. Share the resulting indexes across accounts so Example Corp can query each customer's Amazon Kendra index to retrieve augmentation data.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Customers create and control their Amazon Q Business index, ensuring data ownership and governance. Example Corp acts as a data accessor via a secure API, minimizing its architectural complexity. Amazon Q provides high semantic accuracy and low retrieval latency, perfect for prompt enrichment. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Deploying "real-time MCP servers for each customer" directly violates Example Corp’s requirement to minimize architectural complexity and avoid deploying services in customer environments.
  • Option C is incorrect: While Bedrock Knowledge Bases support RAG, the "cross-account querying" model might introduce more management complexity for Example Corp than Amazon Q’s dedicated "data accessor" role, which is specifically designed for such scenarios involving third-party access.
  • Option D is incorrect: Configuring Amazon Kendra to "crawl customer data sources" by Example Corp, or sharing indexes, may not align as cleanly with customer data ownership and control compared to customers setting up their own Amazon Q index and explicitly granting access.

QUESTION 5

A company upgraded its Amazon Bedrock–powered foundation model (FM) that supports a multilingual customer service assistant. After the upgrade, the assistant exhibited inconsistent behavior across languages. The assistant began generating different responses in some languages when presented with identical questions.

The company needs a solution to detect and address similar problems for future updates. The evaluation must be completed within 45 minutes for all supported languages. The evaluation must process at least 15,000 test conversations in parallel. The evaluation process must be fully automated and integrated into the CI/CD pipeline. The solution must block deployment if quality thresholds are not met.

Which solution will meet these requirements?

  • A. Create a distributed traffic simulation framework that sends translation-heavy workloads to the assistant in multiple languages simultaneously. Use Amazon CloudWatch metrics to monitor latency, concurrency, and throughput. Run simulations before production releases to identify infrastructure bottlenecks.
  • B. Deploy the assistant in multiple AWS Regions with Amazon Route 53 latency-based routing and AWS Global Accelerator to improve global performance. Store multilingual conversation logs in Amazon S3. Perform weekly post-deployment audits to review consistency.
  • C. Create a pre-processing pipeline that normalizes all incoming messages into a consistent format before sending the messages to the assistant. Apply rule-based checks to flag potential hallucinations in the outputs. Focus evaluation on normalized text to simplify testing across languages.
  • D. Set up standardized multilingual test conversations with identical meaning. Run the test conversations in parallel by using Amazon Bedrock model evaluation jobs. Apply similarity and hallucination thresholds. Integrate the process into the CI/CD pipeline to block releases that fail.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Amazon Bedrock model evaluation jobs directly address the scenario. They enable running standardized multilingual test conversations in parallel (meeting the 15,000+ in 45 minutes requirement), apply similarity/hallucination thresholds to detect inconsistent responses across languages, and integrate into CI/CD pipelines to block deployments. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Focuses on infrastructure performance (latency, throughput) and bottlenecks via CloudWatch. It does not evaluate the semantic consistency or quality of multilingual responses from the foundation model.
  • Option B is incorrect: Primarily addresses global performance and stores logs. Weekly post-deployment audits are manual, too slow, and do not provide automated, pre-deployment blocking within the CI/CD pipeline.
  • Option C is incorrect: Normalizing input simplifies testing but doesn’t inherently evaluate the FM’s output consistency across languages. Rule-based hallucination checks are less robust than advanced model evaluation and lack specified scalability or CI/CD integration for blocking.

QUESTION 6

A company is using Amazon Bedrock to develop an AI-powered application that uses a foundation model (FM) that supports cross-Region inference and provisioned throughput. The application must serve users in Europe and North America with consistently low latency. The application must comply with data residency regulations that require European user data to remain within Europe-based AWS Regions.

During testing, the application experiences service degradation when Regional traffic spikes reach service quotas. The company needs a solution that maintains application resilience and minimizes operational complexity.

Which solution will meet these requirements?

  • A. Deploy separate Amazon Bedrock instances in North American and European Regions. Use a custom routing layer that directs traffic based on user location. Configure Amazon CloudWatch alarms to monitor Regional service usage. Use Amazon SNS to send email alerts when usage approaches thresholds.
  • B. Use Amazon Bedrock cross-Region inference profiles by specifying geographical codes in profile IDs when calling the InvokeModel API. Configure separate Amazon API Gateway HTTP APIs to direct European and North American users to the appropriate Regional endpoints.
  • C. Deploy a multi-Region Amazon API Gateway HTTP API and AWS Lambda functions that implement retry logic to handle throttling. Configure the Lambda functions to call the FM in the nearest secondary Region when quotas are reached.
  • D. Configure provisioned throughput for Amazon Bedrock in multiple Regions. Implement failover logic in application code to switch Regions when throttling occurs. Use AWS Global Accelerator to route traffic based on user location.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Separate Amazon API Gateway HTTP APIs provide low-latency regional routing and enforce data residency. Using Bedrock’s cross-Region inference profiles with geographical codes directs InvokeModel calls to provisioned throughput within the respective regions, maintaining resilience to regional quota spikes with minimal operational complexity. ❌ Why the other choices are incorrect:

  • Option A is incorrect: A "custom routing layer" introduces significant operational complexity. Monitoring alarms only detect issues; they don’t solve quota-related service degradation.
  • Option C is incorrect: Implementing retry/failover logic in Lambda functions increases operational complexity. Calling an FM in a "nearest secondary Region when quotas are reached" violates data residency for European users.
  • Option D is incorrect: Implementing failover logic in application code is complex. Switching Regions due to throttling directly violates data residency requirements for European users.

QUESTION 7

A company is using Amazon Bedrock and Anthropic Claude 3 Haiku to develop an AI assistant. The AI assistant normally processes 10,000 requests each hour but experiences surges of up to 30,000 requests each hour during peak usage periods. The AI assistant must respond within 2 seconds while operating across multiple AWS Regions.

The company observes that during peak usage periods, the AI assistant experiences throughput bottlenecks that cause increased latency and occasional request timeouts. The company must resolve the performance issues.

Which solution will meet this requirement?

  • A. Purchase provisioned throughput and sufficient model units (MUs) in a single Region. Configure the application to retry failed requests with exponential backoff.
  • B. Implement token batching to reduce API overhead. Use cross-Region inference profiles to automatically distribute traffic across available Regions.
  • C. Set up auto scaling AWS Lambda functions in each Region. Implement client-side round-robin request distribution. Purchase one model unit (MU) of provisioned throughput as a backup.
  • D. Implement batch inference for all requests by using Amazon S3 buckets across multiple Regions. Use Amazon SQS to set up an asynchronous retrieval process.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Token batching efficiently reduces API overhead, directly addressing throughput bottlenecks by sending more data per call to Bedrock. Cross-Region inference profiles distribute the load across multiple AWS Regions, utilizing combined capacity to handle surges and meet the 2-second latency requirement while ensuring multi-region operation. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Purchasing provisioned throughput "in a single Region" fails to meet the explicit requirement of operating "across multiple AWS Regions" for resilience and distributed performance.
  • Option C is incorrect: AWS Lambda is not the primary scaling mechanism for Bedrock model inference capacity. Purchasing "one model unit (MU)" is grossly insufficient for the described normal and peak loads across multiple regions.
  • Option D is incorrect: Batch inference using S3 and SQS is inherently asynchronous and designed for offline processing. This solution cannot meet the strict "respond within 2 seconds" real-time latency requirement for an AI assistant.

QUESTION 8

A healthcare company uses Amazon Bedrock to deploy an application that generates summaries of clinical documents. The application experiences inconsistent response quality with occasional factual hallucinations. Monthly costs exceed the company’s projections by 40%. A GenAI developer must implement a near real-time monitoring solution to detect hallucinations, identify abnormal token consumption, and provide early warnings of cost anomalies. The solution must require minimal custom development work and maintenance overhead.

Which solution will meet these requirements?

  • A. Configure Amazon CloudWatch alarms to monitor InputTokenCount and OutputTokenCount metrics to detect anomalies. Store model invocation logs in an Amazon S3 bucket. Use AWS Glue and Amazon Athena to identify potential hallucinations.
  • B. Run Amazon Bedrock evaluation jobs that use LLM-based judgments to detect hallucinations. Configure Amazon CloudWatch to track token usage. Create an AWS Lambda function to process CloudWatch metrics. Configure the Lambda function to send usage pattern notifications.
  • C. Configure Amazon Bedrock to store model invocation logs in an Amazon S3 bucket. Enable text output logging. Configure Amazon Bedrock guardrails to run contextual grounding checks to detect hallucinations. Create Amazon CloudWatch anomaly detection alarms for token usage metrics.
  • D. Use AWS CloudTrail to log all Amazon Bedrock API calls. Create a custom dashboard in Amazon QuickSight to visualize token usage patterns. Use Amazon SageMaker Model Monitor to detect quality drift in generated summaries.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Bedrock Guardrails offer near real-time contextual grounding checks to detect hallucinations with minimal custom work. Storing logs enables text output analysis. CloudWatch anomaly detection on token usage metrics efficiently identifies abnormal consumption, providing early cost warnings with low maintenance overhead. This directly meets all specified requirements. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Using AWS Glue and Amazon Athena for hallucination detection requires significant custom NLP development and is not near real-time, violating the minimal custom development constraint.
  • Option B is incorrect: Bedrock evaluation jobs are for offline assessment, not real-time production monitoring. A Lambda function adds custom development and maintenance that CloudWatch Anomaly Detection handles natively.
  • Option D is incorrect: AWS CloudTrail logs API calls, not detailed token usage for quality analysis. SageMaker Model Monitor requires extensive custom development for GenAI hallucination detection, violating the minimal effort constraint.

QUESTION 9 (Multi-Select)

A company is using AWS Lambda and REST APIs to build a reasoning agent to automate support workflows. The system must preserve memory across interactions, share the relevant agent state, and support event-driven invocation and synchronous invocation. The system must also enforce access control and session-based permissions.

Which combination of steps provides the MOST scalable solution? (Choose two.)

  • A. Use Amazon Bedrock AgentCore to manage memory and session-aware reasoning. Deploy the agent with built-in identity support, event handling, and observability.
  • B. Register the Lambda functions and the REST APIs as actions by using Amazon API Gateway and Amazon EventBridge. Enable Amazon Bedrock AgentCore to invoke the Lambda functions and the REST APIs without custom orchestration code.
  • C. Use Amazon Bedrock Agents for reasoning and conversation management. Use AWS Step Functions and Amazon SQS queues for orchestration. Store the agent state in Amazon DynamoDB to maintain memory between steps.
  • D. Deploy the reasoning logic as a container on Amazon ECS behind Amazon API Gateway. Use Amazon Aurora to store memory data and identity data.
  • E. Build a custom RAG pipeline by using Amazon Kendra and Amazon Bedrock. Use AWS Lambda to orchestrate tool invocations. Store the agent state in Amazon S3.
Click to View Verified Solution & Explanation

Correct Option: A,B

Explanation: ✅

Reasoning: Amazon Bedrock AgentCore natively manages memory and session-aware

Reasoning: , fulfilling requirements for state preservation. Its built-in identity support, event handling, and observability make it a highly scalable, managed service for access control and various invocation patterns.


✅

Reasoning: Registering Lambda functions and REST APIs via Amazon API Gateway and Amazon EventBridge as actions for Amazon Bedrock AgentCore enables it to directly invoke these tools. This eliminates custom orchestration, simplifying integration and ensuring a scalable, managed solution for leveraging existing logic. ❌ Why the other choices are incorrect:

  • Option C is incorrect: Using AWS Step Functions and Amazon SQS for orchestration and DynamoDB for state introduces custom complexity and operational overhead, duplicating or complicating functionalities Bedrock AgentCore provides natively for agent orchestration and memory.
  • Option D is incorrect: Deploying

Reasoning: logic on Amazon ECS with Amazon Aurora for memory and identity requires significant custom development and operational management, making it less scalable and more complex than leveraging a fully managed service like Bedrock AgentCore.

  • Option E is incorrect: Building a custom RAG pipeline with Lambda orchestration and S3 for agent state involves extensive custom coding for tool invocation and state management, which is less scalable and increases maintenance compared to Bedrock AgentCore’s integrated features.

QUESTION 10

An ecommerce company is developing a generative AI (GenAI) solution that uses Amazon Bedrock with Anthropic Claude to recommend products to customers. Customers report that some of the recommended products are not available for sale on the website or are not relevant to the customer. Customers also report that the solutions takes a long time to generate some recommendations.

The company investigates the issues and finds that most interactions between customers and the product recommendation solution are unique. The company confirms that the solutions recommends products that are not in the company’s product catalog. The company must resolve these issues.

Which solution will meet this requirement?

  • A. Increase grounding within Amazon Bedrock Guardrails. Enable Automated Reasoning checks. Set up provisioned throughput.
  • B. Use prompt engineering to restrict the model responses to relevant products. Use streaming techniques such as the Invoke Model With Response Stream action to reduce perceived latency for the customers.
  • C. Create an Amazon Bedrock knowledge base. Implement Retrieval Augmented Generation (RAG). Set the Performance ConfigLatency parameter to optimized.
  • D. Store product catalog data in Amazon OpenSearch Service. Validate the model's product recommendations against the product catalog. Use Amazon DynamoDB to implement response caching.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: An Amazon Bedrock knowledge base combined with Retrieval Augmented Generation (RAG) is the definitive solution to ground the LLM with the company’s specific product catalog. This prevents the model from hallucinating or recommending unavailable/irrelevant products. The latency optimization directly addresses the slow recommendation generation. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Bedrock Guardrails focus on safety policies (e.g., hate speech, violence), not factual grounding to an external product catalog. Automated

Reasoning: checks are not a standard Bedrock feature for this type of factual grounding.

  • Option B is incorrect: Relying solely on prompt engineering for a large, dynamic product catalog with unique interactions is prone to hallucinations and insufficient to ensure factual accuracy. While streaming reduces perceived latency, it doesn’t solve the core grounding issue.
  • Option D is incorrect: Storing data in OpenSearch is a component, but validating recommendations after generation is reactive and inefficient. Caching responses with DynamoDB is ineffective for "unique" interactions, and it doesn’t proactively prevent incorrect recommendations.

QUESTION 11

A company is building an AI advisory application by using Amazon Bedrock. The application will provide recommendations to customers. The company needs the application to explain its reasoning process and cite specific sources for data. The application must retrieve information from company data sources and show step-by-step reasoning for recommendations. The application must also link data claims to source documents and maintain response latency under 3 seconds.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Use Amazon Bedrock Knowledge Bases with source attribution enabled. Use the Anthropic Claude Messages API with RAG to set high-relevance thresholds for source documents. Store reasoning and citations in Amazon S3 for auditing purposes.
  • B. Use Amazon Bedrock with Anthropic Claude models and extended thinking. Configure a 4,000-token thinking budget. Store reasoning traces and citations in Amazon DynamoDB for auditing purposes.
  • C. Configure Amazon SageMaker AI with a custom Anthropic Claude model. Use the model's reasoning parameter and AWS Lambda to process responses. Add source citations from a separate Amazon RDS database.
  • D. Use Amazon Bedrock with Anthropic Claude models and chain-of-thought reasoning. Configure custom retrieval tracking with the Amazon Bedrock Knowledge Bases API. Use Amazon CloudWatch to monitor response latency metrics.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon Bedrock Knowledge Bases with source attribution enabled directly addresses the requirements for retrieving information from company data sources, citing specific sources, and linking claims to source documents with the least operational overhead due to its fully managed nature. Anthropic Claude models are effective for

Reasoning: . Storing audit logs in S3 is a standard, low-overhead practice. ❌ Why the other choices are incorrect:

  • Option B is incorrect: While using Claude models, it lacks a managed solution like Knowledge Bases for RAG and automated source attribution, leading to higher operational overhead for implementation.
  • Option C is incorrect: Using Amazon SageMaker AI with a custom Claude model significantly increases operational overhead compared to using Bedrock’s fully managed service. Custom citation logic via RDS and Lambda also adds complexity.
  • Option D is incorrect: While using Bedrock Knowledge Bases is correct, "custom retrieval tracking" is unnecessary; Bedrock Knowledge Bases natively provide source attribution. Monitoring with CloudWatch doesn’t address the core functional requirements.

QUESTION 12

A media company must use Amazon Bedrock to implement a robust governance process for AI-generated content. The company needs to manage hundreds of prompt templates. Multiple teams use the templates across multiple AWS Regions to generate content. The solution must provide version control with approval workflows that include notifications for pending reviews. The solution must also provide detailed audit trails that document prompt activities and consistent prompt parameterization to enforce quality standards.

Which solution will meet these requirements?

  • A. Configure Amazon Bedrock Studio prompt templates. Use Amazon CloudWatch to create dashboards that display prompt usage metrics. Store the approval status of content in Amazon DynamoDB. Use AWS Lambda functions to enforce approvals.
  • B. Use Amazon Bedrock Prompt Management to implement version control. Configure AWS CloudTrail for audit logging. Use IAM policies to control approval permissions. Create parameterized prompt templates by specifying variables.
  • C. Use AWS Step Functions to create an approval workflow. Store prompts as documents in Amazon S3. Use tags to implement version control. Use Amazon EventBridge to send notifications.
  • D. Deploy Amazon SageMaker Canvas with prompt templates that are stored in Amazon S3. Use AWS CloudFormation to implement version control. Use AWS Config to enforce approval policies.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon Bedrock Prompt Management natively provides version control and parameterized prompt templates. AWS CloudTrail ensures detailed audit logging of prompt activities. IAM policies are the standard mechanism to control approval permissions for prompt versions. This combination directly addresses all specified requirements for robust governance. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Bedrock Studio offers basic templates but lacks advanced versioning or built-in approval workflows. DynamoDB, Lambda, and CloudWatch would require extensive custom development to meet the governance requirements.
  • Option C is incorrect: Storing prompts in S3 with tags for version control is not a robust, scalable solution for hundreds of templates. AWS Step Functions provides workflows but not integrated prompt management capabilities, making it a custom, less efficient approach.
  • Option D is incorrect: Amazon SageMaker Canvas is a low-code ML platform, not designed for enterprise-level Bedrock prompt governance. AWS CloudFormation manages infrastructure, not content versioning. AWS Config enforces compliance rules, not content approval policies for prompts.

QUESTION 13 (Multi-Select)

A company uses an organization in AWS Organizations with all features enabled to manage multiple AWS accounts. Employees use Amazon Bedrock across multiple accounts. The company must prevent specific topics and proprietary information from being included in prompts to Amazon Bedrock models. The company must ensure that employees can use only approved Amazon Bedrock models. The company centrally manages IAM roles for employees.

Which combination of solutions will meet these requirements? (Choose two.)

  • A. Create an IAM permissions boundary for each employee's IAM role. Configure the permissions boundary to require an approved Amazon Bedrock guardrail identifier to invoke Amazon Bedrock models. Create an SCP that allows employees to use only approved models.
  • B. Create an SCP that allows employees to use only approved models. Configure the SCP to require employees to specify a guardrail identifier in calls to invoke an approved model.
  • C. Create an SCP that prevents an employee from invoking a model if a centrally deployed guardrail identifier is not specified in a call to the model. Create a permissions boundary on each employee's IAM role that allows each employee to invoke only approved models.
  • D. Use AWS CloudFormation to create a custom Amazon Bedrock guardrail that has a block filtering policy. Use stack sets to deploy the guardrail to each account in the organization.
  • E. Use AWS CloudFormation to create a custom Amazon Bedrock guardrail that has a mask filtering policy. Use stack sets to deploy the guardrail to each account in the organization.
Click to View Verified Solution & Explanation

Correct Option: B,D

Explanation: ✅

Reasoning: An SCP restricting model use to approved ARNs addresses "only approved models". Requiring a guardrail identifier in the SCP ensures the company’s content filtering policy is always applied.


✅

Reasoning: Creating a custom Bedrock guardrail with a block filtering policy directly addresses preventing specific topics/proprietary information. Deploying it via CloudFormation StackSets ensures central, consistent deployment across all accounts. ❌ Why the other choices are incorrect:

  • Option A is incorrect: While permissions boundaries can enforce guardrail usage, they don’t define the guardrail’s content (block policy). Managing PBs on each employee role is less centralized for content filtering than a single, deployed guardrail.
  • Option C is incorrect: This option uses an SCP for guardrail enforcement but a permissions boundary for model restriction. An SCP is generally more effective for centralized model restriction across an organization than individual PBs. Crucially, it still lacks the step of creating the guardrail’s actual content filtering policy.
  • Option E is incorrect: A mask filtering policy replaces sensitive content with asterisks. The requirement is to "prevent specific topics and proprietary information from being included", which implies blocking the content, not just masking it. A block filtering policy (as in D) is required.

QUESTION 14

An insurance company uses existing Amazon SageMaker AI infrastructure to support a web-based application that allows customers to predict what their insurance premiums will be. The company stores customer data that is used to train the SageMaker AI model in an Amazon S3 bucket. The dataset is growing rapidly. The company wants a solution to continuously re-train the model. The solution must automatically re-train and re-deploy the model to the application when an employee uploads a new customer data file to the S3 bucket.

Which solution will meet these requirements?

  • A. Use AWS Glue to run an ETL job on each uploaded file. Configure the ETL job to use the AWS SDK to invoke the Sage Maker AI model endpoint. Use real-time inference with the endpoint to re-deploy the model after it is re-trained on the updated customer dataset.
  • B. Create an AWS Lambda function and webhook handlers to generate an event when an employee uploads a new file. Configure SageMaker Pipelines to re-deploy the model after it is re-trained on the updated customer dataset. Use Amazon EventBridge to create an event bus. Set the Lambda function event as the source and SageMaker Pipelines as the target.
  • C. Create an AWS Step Functions Express workflow with AWS SDK integrations to retrieve the customer data from the S3 bucket when an employee uploads a new file to the S3 bucket. Use a SageMaker Data Wrangler flow to export the data from the S3 bucket to SageMaker Autopilot. Use SageMaker Autopilot to re-deploy the model after it has been re-trained on the updated customer dataset.
  • D. Create an AWS Step Functions Standard workflow. Configure the first state to call an AWS Lambda function to respond when an employee uploads a new file to the S3 bucket. Use a pipeline in SageMaker Pipelines to re-deploy the model after it has been re-trained on the updated customer dataset. Use the next state in the workflow to run the pipeline when the first state receives a response.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: An AWS Step Functions Standard workflow is ideal for orchestrating long-running, stateful processes like ML pipelines. S3 can trigger a Lambda function, which then initiates the Step Functions workflow. SageMaker Pipelines are purpose-built for MLOps, handling automated re-training and re-deployment efficiently. This architecture provides robust, automated, and observable continuous integration/continuous delivery (CI/CD) for machine learning models. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Invoking a SageMaker AI model endpoint uses real-time inference and does not trigger model re-training or re-deployment.
  • Option B is incorrect: While viable, "webhook handlers" are unnecessarily complex for direct S3-to-Lambda integration. Step Functions offers more explicit state management and orchestration capabilities for complex MLOps workflows compared to purely EventBridge-driven execution.
  • Option C is incorrect: AWS Step Functions Express workflows are for short-duration, high-event-rate tasks, not long-running ML training and deployment. SageMaker Autopilot might fit, but Express Workflows are not suitable for this orchestration.

QUESTION 15

A GenAI developer is building a Retrieval Augmented Generation (RAG)-based customer support application that uses Amazon Bedrock foundation models (FMs). The application needs to process 50 GB of historical customer conversations that are stored in an Amazon S3 bucket as JSON files. The application must use the processed data as its retrieval corpus. The application’s data processing workflow must extract relevant data from customer support documents, remove customer personally identifiable information (PII), and generate embeddings for vector storage. The processing workflow must be cost-effective and must finish within 4 hours.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Use AWS Lambda and Amazon Comprehend to process files in parallel, remove PII, and call Amazon Bedrock APIs to generate vectors. Configure Lambda concurrency limits and memory settings to optimize throughput.
  • B. Create an AWS Glue ETL job to run PII detection scripts on the data. Use Amazon SageMaker Processing to run the HuggingFaceProcessor to generate embeddings by using a pre-trained model. Store the embeddings in Amazon OpenSearch Service.
  • C. Deploy an Amazon EMR cluster that runs Apache Spark with user-defined functions (UDFs) that call Amazon Comprehend to detect PII. Use Amazon Bedrock APIs to generate vectors. Store outputs in Amazon Aurora PostgreSQL with the pgvector extension.
  • D. Implement a data processing pipeline that uses AWS Step Functions to orchestrate a workload that uses Amazon Comprehend to detect PII and Amazon Bedrock to generate embeddings. Directly integrate the workflow with Amazon OpenSearch Serverless to store vectors and provide similarity search capabilities.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: AWS Step Functions orchestrates a serverless workflow using Amazon Comprehend for PII detection and Amazon Bedrock for generating embeddings. Integrating directly with Amazon OpenSearch Serverless provides a fully managed, scalable, and low-operational-overhead vector store. This combination effectively processes 50GB within 4 hours while minimizing management burden. ❌ Why the other choices are incorrect:

  • Option A is incorrect: While serverless, managing Lambda concurrency and memory settings for 50GB within 4 hours can incur significant optimization effort and operational overhead.
  • Option B is incorrect: "PII detection scripts" implies custom code, adding operational overhead. Amazon SageMaker Processing requires managing SageMaker job resources.
  • Option C is incorrect: Deploying and managing an Amazon EMR cluster, including Spark UDFs, represents high operational overhead, directly contradicting the requirement.

QUESTION 16

A financial services company is creating a Retrieval Augmented Generation (RAG) application that uses Amazon Bedrock to generate summaries of market activities. The application relies on a vector database that stores a small proprietary dataset that has a low index count. The application must perform similarity searches. The Amazon Bedrock model’s responses must maximize accuracy and maintain high performance.

The company needs to configure the vector database and integrate it with the application.

Which solution will meet these requirements?

  • A. Launch an Amazon MemoryDB cluster and configure the index by using the Flat algorithm. Configure a horizontal scaling policy based on performance metrics.
  • B. Launch an Amazon MemoryDB cluster and configure the index by using the Hierarchical Navigable Small World (HNSW) algorithm. Configure a vertical policy based on performance metrics.
  • C. Launch an Amazon Aurora PostgresSQL cluster and configure the index by using the Inverted File with Flat Compression (IVFFlat) algorithm. Configure the instance class to scale to a larger size when the load increases.
  • D. Launch an Amazon DocumentDB cluster that has an Inverted File with Flat Compression (IVFFlat) index and a high probe value. Configure connections to the cluster as a replica set Distribute reads to replica instances.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon MemoryDB, using Redis Stack, is excellent for high-performance, in-memory vector storage. The HNSW algorithm provides an optimal balance of very high accuracy (recall) and superior performance for similarity searches, crucial for RAG applications. Vertical scaling directly boosts computational resources for complex vector operations. ❌ Why the other choices are incorrect:

  • Option A is incorrect: The Flat algorithm guarantees 100% accuracy but is computationally exhaustive and can hinder "high performance" compared to HNSW, even for small datasets, as query load increases. Horizontal scaling is less direct for single-index performance.
  • Option C is incorrect: While Aurora PostgreSQL can host vector data with pgvector, the IVFFlat algorithm typically provides lower recall than HNSW, thus not "maximizing accuracy" as effectively for this scenario.
  • Option D is incorrect: Amazon DocumentDB is a document database not natively designed or optimized for efficient vector similarity search, making it an unsuitable choice for a RAG vector database.

QUESTION 17

A company uses Amazon Bedrock to build a Retrieval Augmented Generation (RAG) system. The RAG system uses an Amazon Bedrock knowledge base that is based on an Amazon S3 bucket as the data source for emergency news video content. The system retrieves transcripts, archived reports, and related documents from the S3 bucket.

The RAG system uses state-of-the-art embedding models and a high-performing retrieval setup. However, users report slow responses and irrelevant results, which cause decreased user satisfaction. The company notices that vector searches are evaluating too many documents across too many content types and over long periods of time.

The company determines that the underlying models will not benefit from additional fine tuning. The company must improve retrieval accuracy by applying smarter constraints. The company wants a solution that requires minimal changes to the existing architecture.

Which solution will meet these requirements?

  • A. Enhance embeddings by using a domain-adapted model that is specifically trained on emergency news content for improved vector similarity.
  • B. Migrate to Amazon OpenSearch Service. Use vector fields and metadata filters to define the scope of results retrieval.
  • C. Enable metadata-aware filtering within the Amazon Bedrock knowledge base by indexing S3 object metadata.
  • D. Migrate to an Amazon Q Business index to perform structured metadata filtering and document categorization during retrieval.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Amazon Bedrock knowledge bases inherently support metadata-aware filtering. By indexing S3 object metadata (e.g., content type, timestamp, origin), the retrieval process can apply specific filters before or during the vector search. This directly allows for "smarter constraints" to scope down results, reducing the number of documents evaluated, improving relevance, and speeding up responses with minimal architectural change. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Enhancing embeddings improves the quality of semantic similarity but does not address the root cause of too many documents being evaluated. It doesn’t provide a mechanism to apply constraints to limit the search scope.
  • Option B is incorrect: Migrating to Amazon OpenSearch Service from an existing Bedrock knowledge base constitutes a significant architectural change. This violates the explicit requirement for "minimal changes to the existing architecture."
  • Option D is incorrect: Migrating to an Amazon Q Business index involves a substantial architectural shift. This solution directly contradicts the requirement for implementing a solution with "minimal changes" to the current RAG architecture.

QUESTION 18

An enterprise application uses an Amazon Bedrock foundation model (FM) to process and analyze 50 to 200 pages of technical documents. Users are experiencing inconsistent responses and receiving truncated outputs when processing documents that exceed the FM’s context window limits.

Which solution will resolve this problem?

  • A. Configure fixed-size chunking at 4,000 tokens for each chunk with 20% overlap. Use application-level logic to link multiple chunks sequentially until the FM's maximum context window of 200,000 tokens is reached before making inference calls.
  • B. Use hierarchical chunking with parent chunks of 8,000 tokens and child chunks of 2,000 tokens. Use Amazon Bedrock Knowledge Bases built-in retrieval to automatically select relevant parent chunks based on query context. Configure overlap tokens to maintain semantic continuity.
  • C. Use semantic chunking with a breakpoint percentile threshold of 95% and a buffer size of 3 sentences. Use the Amazon Bedrock Retrieve And Generate API call to dynamically select the most relevant chunks based on embedding similarity scores.
  • D. Create a pre-processing AWS Lambda function that analyzes document token count by using the FM's tokenizer. Configure the lambda function to split documents into equal segments that fit within 80% of the context window. Configure the Lambda function to process each segment independently before aggregating the results.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Semantic chunking ensures meaningful text segments, preventing inconsistency from broken context. The Amazon Bedrock Retrieve And Generate API dynamically selects the most relevant chunks using embedding similarity, effectively addressing truncation by only passing necessary information within the FM’s context window for comprehensive document analysis. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Fixed-size chunking without semantic awareness often breaks sentences/paragraphs, causing inconsistencies. Sequential linking until a large window is reached doesn’t guarantee relevance and may still truncate documents exceeding that massive limit.
  • Option B is incorrect: While hierarchical chunking and Knowledge Bases are valid RAG strategies, the Bedrock Retrieve And Generate API with semantic chunking provides a more direct and integrated solution for the specific problem of "inconsistent responses" and "truncated outputs" during extensive document analysis.
  • Option D is incorrect: Splitting documents into equal segments disregards semantic boundaries, leading to inconsistent analysis. Processing segments independently and then aggregating results is complex and prone to losing holistic context required for technical document analysis.

QUESTION 19

A financial services company needs to build a document analysis system that uses Amazon Bedrock to process quarterly reports. The system must analyze financial data, perform sentiment analysis, and validate compliance across batches of reports. Each batch contains 5 reports. Each report requires multiple foundation model (FM) calls. The solution must finish the analysis within 10 seconds for each batch. Current sequential processing takes 45 seconds for each batch.

Which solution will meet these requirements?

  • A. Use AWS Lambda functions with provisioned concurrency to process each analysis type sequentially. Configure the Lambda function timeouts to 10 seconds. Configure automatic retries with exponential backoff.
  • B. Use AWS Step Functions with a Parallel state to invoke separate AWS Lambda functions for each analysis type simultaneously. Configure Amazon Bedrock client timeouts. Use Amazon CloudWatch metrics to track execution time and model inference latency.
  • C. Create an Amazon SQS queue to buffer analysis requests. Deploy multiple AWS Lambda functions with reserved concurrency. Configure each Lambda function to process different aspects of each report sequentially and then combine the results.
  • D. Deploy an Amazon ECS cluster that runs containers that process each report sequentially. Use a load balancer to distribute batch workloads. Configure an auto-scaling policy based on CPU utilization to handle demand fluctuations.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: AWS Step Functions with a Parallel state allows simultaneous execution of multiple analysis types (financial, sentiment, compliance) for reports. This parallelism is crucial to reduce the 45-second sequential processing time to under 10 seconds. Separate Lambda functions offer modularity, and Bedrock client timeouts enhance robustness. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Sequential processing for each analysis type, even with provisioned concurrency, will not meet the 10-second deadline as the current sequential approach takes 45 seconds.
  • Option C is incorrect: Although SQS and multiple Lambdas offer scalability, the core processing within each Lambda is described as "sequentially," which won’t achieve the required speedup for each batch.
  • Option D is incorrect: Deploying ECS containers that "process each report sequentially" will not meet the 10-second per-batch requirement, as the existing sequential process is too slow.

QUESTION 20

A company is building a generative AI (GenAI) application that produces content based on a variety of internal and external data sources. The company wants to ensure that the generated output is fully traceable. The application must support data source registration and enable metadata tagging to attribute content to its original source. The application must also maintain audit logs of data access and usage throughout the pipeline.

Which solution will meet these requirements?

  • A. Use AWS Lake Formation to catalog data sources and control access. Apply metadata tags directly in Amazon S3. Use AWS CloudTrail to monitor API activity.
  • B. Use AWS Glue Data Catalog to register and tag data sources. Use Amazon CloudWatch Logs to monitor access patterns and application behavior.
  • C. Store data in Amazon S3 and use object tagging for attribution. Use AWS Glue Data Catalog to manage schema information. Use AWS CloudTrail to log access to S3 buckets.
  • D. Use AWS Glue Data Catalog to register all data sources. Apply metadata tags to attribute data sources. Use AWS CloudTrail to log access and activity across services.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: AWS Glue Data Catalog excels at registering diverse data sources and attaching custom metadata tags for attribution. AWS CloudTrail comprehensively logs API calls and user activity across all AWS services, essential for auditing data access and usage throughout the GenAI pipeline. ❌ Why the other choices are incorrect:

  • Option A is incorrect: While Lake Formation uses Glue Data Catalog, S3 object tagging is for individual objects, not a central attribution mechanism for registered data sources. Lake Formation primarily focuses on access control, not primary metadata tagging for attribution.
  • Option B is incorrect: Amazon CloudWatch Logs is primarily for application logs and metrics. AWS CloudTrail is the dedicated service for logging API access and activity across AWS services, which is critical for audit logs of data access and usage.
  • Option C is incorrect: S3 object tagging is specific to S3 data, not a universal metadata tagging solution for diverse registered data sources. Glue Data Catalog manages schema, but the solution lacks a comprehensive audit trail across all services, only S3 access via CloudTrail.

QUESTION 21 (Multi-Select)

Company configures a landing zone in AWS Control Tower. The company handles sensitive data that must remain within the European Union. The company must use only the eu-central-1 Region. The company uses SCPs to enforce data residency policies. GenAI developers at the company are assigned IAM roles that have full permissions for Amazon Bedrock.

The company must ensure that GenAI developers can use the Amazon Nova Pro model through Amazon Bedrock only by using cross-Region inference (CRI) and only in eu-central-1. The company enables model access for the GenAI developer IAM roles in Amazon Bedrock. However, when a GenAI developer attempts to invoke the model through the Amazon Bedrock Chat/Text playground, the GenAI developer receives the following error.

User: arn:aws:sts::123456789012:assumed-role/AssumedDevRole/DevUserName

Action: bedrock:InvokeModelWithResponseStream

On resource(s): arn:aws:bedrock:eu-west-3::foundation-model/amazon.nova-pro-v1:0

Context: a service control policy explicitly denies the action

The company needs a solution to resolve the error. The solution must retain the company’s existing governance controls and must provide precise access control. The solution must comply with the company’s existing data residency policies.

Which combination of solutions will meet these requirements? (Choose two.)

  • A. Add an AdministratorAccess policy to the GenAI developer IAM role.
  • B. Extend the existing SCPs to enable CRI for the eu.amazon.nova-pro-v1:0 inference profile.
  • C. Enable Amazon Bedrock model access for Amazon Nova Pro in the eu-west-3 Region.
  • D. Validate that the GenAI developer IAM roles have permissions to invoke Amazon Nova Pro through the eu.amazon.nova-pro.v1:0 inference profile on all European Union AWS Regions that can serve the model.
  • E. Extend the existing SCP to enable CRI for the eu.* inference profile.
Click to View Verified Solution & Explanation

Correct Option: B,D

Explanation: ✅

Reasoning: The error explicitly states an SCP denies the action, specifically for a model in eu-west-3. To use cross-Region inference (CRI) from eu-central-1 for Nova Pro while adhering to EU data residency, the SCP must be updated to allow invocation of the eu.amazon.nova-pro-v1:0 inference profile. This permits the eu-central-1 endpoint to access models physically hosted in other EU regions.


✅

Reasoning: Even with "full permissions for Amazon Bedrock," IAM roles need explicit validation to ensure they permit invoking the specific eu.amazon.nova-pro.v1:0 inference profile for models served across all relevant EU regions (e.g., eu-west-3 per the error). This ensures the IAM layer, in conjunction with SCPs, allows the necessary cross-region model access for CRI while respecting the EU boundary. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Adding AdministratorAccess grants excessive permissions, violating the "precise access control" and "existing governance controls" requirements.
  • Option C is incorrect: Model access is typically enabled at the account level; the problem isn’t about general access but an SCP and regional restriction. Enabling access in eu-west-3 doesn’t resolve the SCP denial or the eu-central-1 primary region requirement.
  • Option E is incorrect: Enabling eu.* inference profiles is too broad, violating the "precise access control" requirement for specific model usage (Amazon Nova Pro).

QUESTION 22

A company is designing an API for a generative AI (GenAI) application that uses a foundation model (FM) that is hosted on a managed model service. The API must stream responses to reduce latency, enforce token limits to manage compute resource usage, and implement retry logic to handle model timeouts and partial responses.

Which solution will meet these requirements with the LEAST operational overhead?

  • A. Integrate an Amazon API Gateway HTTP API with an AWS Lambda function to invoke Amazon Bedrock. Use Lambda response streaming to stream responses. Enforce token limits within the Lambda function. Implement retry logic for model timeouts by using Lambda and API Gateway timeout configurations.
  • B. Connect an Amazon API Gateway HTTP API directly to Amazon Bedrock. Simulate streaming by using client-side polling. Enforce token limits on the frontend. Configure retry behavior by using API Gateway integration settings.
  • C. Connect an Amazon API Gateway WebSocket API to an Amazon ECS service that hosts a containerized inference server. Stream responses by using the WebSocket protocol. Enforce token limits within Amazon ECS. Handle model timeouts by using ECS task lifecycle hooks and restart policies.
  • D. Integrate an Amazon API Gateway REST API with an AWS Lambda function that invokes Amazon Bedrock. Use Lambda response streaming to stream responses. Enforce token limits within the Lambda function. Implement retry logic by using Lambda and API Gateway timeout configurations.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: This solution uses serverless components (API Gateway REST API, AWS Lambda, Amazon Bedrock), ensuring the least operational overhead. Lambda response streaming directly handles streaming. Token limits are enforced securely within the Lambda function. Retry logic is implemented effectively using Lambda’s SDK retries and API Gateway’s integration timeout configurations for robustness against model timeouts and partial responses. ❌ Why the other choices are incorrect:

  • Option A is incorrect: While similar to D and generally viable, REST APIs offer a more comprehensive feature set for enterprise-grade APIs, including more granular control over integration, error handling, and retry configurations, which can ultimately lead to lower operational overhead for complex scenarios.
  • Option B is incorrect: Client-side polling is not true streaming and increases latency. Enforcing token limits on the frontend is insecure and can be bypassed.
  • Option C is incorrect: Hosting an inference server on Amazon ECS introduces significant operational overhead compared to a fully serverless solution, negating the "least operational overhead" requirement. ECS task lifecycle hooks primarily manage container health, not direct application-level model timeouts or partial responses.

QUESTION 23

A company is developing a new AI-powered application that needs to integrate with various specialized tools. These tools currently run as Model Context Protocol (MCP) servers on the local machines of developers and do not maintain states between invocations. The company plans to deploy each MCP server as an AWS Lambda function to support the company’s production application.

The solution must be accessible to both internal applications and authorized third-party partners. The solution must use strict authentication and authorization controls.

Which additional steps will meet these requirements with the LEAST operational overhead?

  • A. Create a custom Lambda invocation transport by using the Lambda Invoke API. Implement IAM authentication and grant InvokeFunction permissions to authorized users and roles.
  • B. Expose the Lambda functions through Amazon API Gateway REST API endpoints. Implement API keys for authentication. Configure the applications that need to access the MCP servers to use standard HTTP requests instead of the MCP protocol.
  • C. Create Lambda function URLs and enable a custom Streamable HTTP transport and SigV4. Implement AWS IAM authentication. Grant InvokeFunctionUrl permissions to authorized users and roles.
  • D. Expose the Lambda function through Amazon API Gateway HTTP API endpoints with the Streamable HTTP transport. Use Amazon Cognito to implement OAuth authentication. Configure API Gateway to validate OAuth tokens.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Lambda function URLs offer the lowest operational overhead for exposing a Lambda function via HTTP. Enabling SigV4 with AWS IAM authentication provides strict, granular access control for internal and external users. The direct "Streamable HTTP transport" capability allows the Lambda function to handle custom HTTP-based protocols like MCP directly, fulfilling the requirements without an API Gateway. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Requires clients to implement a custom transport for the Lambda Invoke API, increasing client-side development overhead and potentially incompatible with the MCP protocol.
  • Option B is incorrect: API keys are primarily for usage throttling, not strict authentication. Forcing clients to switch from MCP to standard HTTP introduces significant migration overhead for existing tools.
  • Option D is incorrect: While robust, implementing API Gateway HTTP APIs with Amazon Cognito adds more setup and ongoing management overhead compared to the simpler Lambda function URLs with direct IAM authentication.

QUESTION 24

A company provides a service that helps users from around the world discover new restaurants. The service has 50 million monthly active users. The company wants to implement a semantic search solution across a database that contains 20 million restaurants and 200 million reviews. The company currently stores the data in a PostgresQL database.

The solution must support complex natural language queries and return results for at least 95% of queries within 500 ms. The solution must maintain data freshness for restaurant details that update hourly. The solution must also scale cost-effectively during peak usage periods.

Which solution will meet these requirements with the LEAST development effort?

  • A. Migrate the restaurant data to Amazon OpenSearch Service. Implement keyword-based search rules that use custom analyzers and relevance tuning to find restaurants based on attributes such as cuisine type, feature, and location. Create Amazon API Gateway HTTP API endpoints to transform user queries into structured search parameters.
  • B. Migrate the restaurant data to Amazon OpenSearch Service. Use a foundation model (FM) in Amazon Bedrock to generate vector embeddings from restaurant descriptions, reviews, and menu items. When users submit natural language queries, convert the queries to embeddings by using the same FM. Perform k-nearest neighbors (k-NN) searches to find semantically similar results.
  • C. Keep the restaurant data in PostgresQL and implement a pgvector extension. Use a foundation model (FM) in Amazon Bedrock to generate vector embeddings from restaurant data. Store the vector embeddings directly in PostgreSQL. Create an AWS Lambda function to convert natural language queries to vector representations by using the same FM. Configure the Lambda function to perform similarity searches within the database.
  • D. Migrate restaurant data to an Amazon Bedrock knowledge base by using a custom ingestion pipeline. Configure the knowledge base to automatically generate embeddings from restaurant information. Use the Amazon Bedrock Retrieve API with built-in vector search capabilities to query the knowledge base directly by using natural language input.AWS Certified Generative AI Developer – Professional AIP-C01 Exam Questions
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: This solution leverages Amazon OpenSearch Service for scalable, high-performance vector search (k-NN) and Amazon Bedrock FMs for generating high-quality embeddings. This directly addresses semantic search, complex natural language queries, sub-500ms latency, and cost-effective scalability, while minimizing development effort by using managed services. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Keyword-based search with custom rules does not provide true semantic search for complex natural language queries, failing a primary requirement.
  • Option C is incorrect: While pgvector supports vector search, PostgreSQL may not scale cost-effectively or meet the 500ms latency requirement for 50M active users and 220M vectors without significant development and operational overhead.
  • Option D is incorrect: Amazon Bedrock knowledge bases are optimized for RAG over documents. Mapping 20 million structured restaurant entities and 200 million reviews for precise attribute-based semantic search might require a complex custom ingestion pipeline, increasing development effort over OpenSearch’s flexible schema.

QUESTION 25

A company is building a legal research AI assistant that uses Amazon Bedrock with an Anthropic Claude foundation model (FM). The AI assistant must retrieve highly relevant case law documents to augment the FM’s responses. The AI assistant must identify semantic relationships between legal concepts, specific legal terminology, and citations. The AI assistant must perform quickly and return precise results.

Which solution will meet these requirements?

  • A. Configure an Amazon Bedrock knowledge base to use a default vector search configuration. Use Amazon Bedrock to expand queries to improve retrieval for legal documents based on specific terminology and citations.
  • B. Use Amazon OpenSearch service to deploy a hybrid search architecture that combines vector search with keyword search. Apply an Amazon Bedrock reranker model to optimize result relevance.
  • C. Enable the Amazon Kendra query suggestion feature for end users. Use Amazon Bedrock to perform post-processing of search results to identify semantic similarity in the documents and to produce precise results.
  • D. Use Amazon OpenSearch Service with vector search and Amazon Bedrock Titan embeddings to index and search legal documents. Use custom AWS Lambda functions to merge results with keyword-based filters that are stored in an Amazon RDS database.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: OpenSearch Service with hybrid search (vector + keyword) directly addresses identifying semantic relationships (vector search) and specific legal terminology/citations (keyword search). Applying a Bedrock reranker model is purpose-built to optimize result relevance and precision, meeting the "highly relevant," "precise," and "quickly" requirements for legal research. ❌ Why the other choices are incorrect:

  • Option A is incorrect: A default vector search configuration alone in a Bedrock knowledge base might struggle with specific legal terminology and exact citations. While query expansion can help, it is less comprehensive and precise than a dedicated hybrid search combined with a reranker for optimal relevance.
  • Option C is incorrect: Amazon Kendra query suggestion is primarily for end-user experience, not the core retrieval and relevance optimization for an AI assistant. Generic "post-processing" for semantic similarity is less effective than using a specialized reranker model to achieve high precision and relevance.
  • Option D is incorrect: Using custom AWS Lambda functions to merge OpenSearch vector results with keyword filters from an Amazon RDS database is overly complex and less efficient. OpenSearch Service natively supports hybrid search, providing a more performant and integrated solution than custom merging from separate data stores.

QUESTION 26

A hotel company wants to enhance a legacy Java-based property management system (PMS) by adding AI capabilities. The company wants to use Amazon Bedrock Knowledge Bases to provide staff with room availability information and hotel-specific details. The solution must maintain separate access controls for each hotel that the company manages. The solution must provide room availability information in near real time and must maintain consistent performance during peak usage periods.

Which solution will meet these requirements?

  • A. Deploy a single Amazon Bedrock knowledge base that contains combined data for all hotels. Configure AWS Lambda functions to synchronize data from each hotel's PMS database through direct API connections. Implement AWS CloudTrail logging with hotel-specific filters to audit access logs for each hotel's data.
  • B. Create an Amazon EventBridge rule for each hotel that is invoked by changes to the PMS database for each hotel. Configure the rule to send updates to a centralized Amazon Bedrock knowledge base in a management AWS account. Configure resource-based policies to enforce hotel-specific access controls for hotel staff.
  • C. Implement one Amazon Bedrock knowledge base for each hotel in a multi-account structure. Use direct data ingestion to provide real-time room availability information. Schedule regular synchronization for less critical information.
  • D. Build a centralized Amazon Bedrock agent that uses multiple knowledge bases. Implement AWS IAM Identity Center with hotel-specific permission sets to control hotel staff data access.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: A multi-account structure with one Bedrock knowledge base per hotel naturally provides strong, separate access controls and isolation. Direct data ingestion enables near real-time updates for critical information like room availability, while scheduled synchronization covers less critical data. Distributing knowledge bases enhances performance consistency during peak usage by preventing contention. ❌ Why the other choices are incorrect:

  • Option A is incorrect: A single Bedrock knowledge base for all hotels makes enforcing strict, separate access controls for each hotel’s data within the KB highly complex and prone to misconfiguration, even with CloudTrail auditing.
  • Option B is incorrect: A centralized Bedrock knowledge base suffers from the same access control challenges as Option A. Resource-based policies can control KB access but not granular data access within a shared KB per hotel staff.
  • Option D is incorrect: While an agent can use multiple KBs, this option doesn’t explicitly state multi-account KBs for isolation. IAM Identity Center controls access to resources, but robust data separation and access within a Bedrock KB for different hotels is best achieved through physical separation or multi-tenancy at the KB level.

QUESTION 27

A healthcare company is using Amazon Bedrock to develop a real-time patient care AI assistant to respond to queries for separate departments that handle clinical inquiries, insurance verification, appointment scheduling, and insurance claims. The company wants to use a multi-agent architecture.

The company must ensure that the AI assistant is scalable and can onboard new features for patients. The AI assistant must be able to handle thousands of parallel patient interactions. The company must ensure that patients receive appropriate domain-specific responses to queries.

Which solution will meet these requirements?

  • A. Isolate data for each agent by using separate knowledge bases. Use IAM filtering to control access to each knowledge base. Deploy a supervisor agent to perform natural language intent classification on patient inquiries. Configure the supervisor agent to route queries to specialized collaborator agents to respond to department-specific queries. Configure each specialized collaborator agent to use Retrieval Augmented Generation (RAG) with the agent's department-specific knowledge base.
  • B. Create a separate supervisor agent for each department. Configure individual collaborator agents to perform natural language intent classification for each specialty domain within each department. Integrate each collaborator agent with department-specific knowledge bases only. Implement manual handoff processes between the supervisor agents.
  • C. Isolate data for each department in separate knowledge bases. Use IAM filtering to control access to each knowledge base. Deploy a single general-purpose agent. Configure multiple action groups within the general-purpose agent to perform specific department functions. Implement rule-based routing logic within the general-purpose agent instructions.
  • D. Implement multiple independent supervisor agents that run in parallel to respond to patient inquiries for each department. Configure multiple collaborator agents for each supervisor agent. Integrate all agents with the same knowledge base. Use external routing logic to merge responses from multiple supervisor agents.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: This approach uses a supervisor agent for centralized intent classification and intelligent routing. Specialized collaborator agents, each with a dedicated, isolated knowledge base and RAG, ensure accurate, domain-specific responses. This modular design is highly scalable and allows easy onboarding of new features. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Multiple supervisor agents and manual handoffs are inefficient and not scalable for thousands of parallel interactions. Collaborator agents performing primary intent classification is also an anti-pattern.
  • Option C is incorrect: A single general-purpose agent with rule-based routing lacks the modularity and dynamic intent classification benefits of a multi-agent system, hindering scalability and feature onboarding. Action groups are primarily for tools, not direct RAG routing.
  • Option D is incorrect: Multiple independent supervisor agents lead to redundant logic and complexity. Crucially, using the same knowledge base for all agents prevents domain-specific responses and introduces relevance issues, failing a core requirement.

QUESTION 28

A financial technology company is using Amazon Bedrock to build an assessment system for the company’s customer service AI assistant. The AI assistant must provide financial recommendations that are factually accurate, compliant with financial regulations, and conversationally appropriate. The company needs to combine automated quality evaluations at scale with targeted human reviews of critical interactions.

What solution will meet these requirements?

  • A. Configure a pipeline in which financial experts manually score all responses for accuracy, compliance, and conversational quality. Use Amazon SageMaker notebooks to analyze results to identify improvement areas.
  • B. Configure Amazon Bedrock evaluations that use Anthropic Claude Sonnet as a judge model to assess response accuracy and appropriateness. Configure custom Amazon Bedrock guardrails to check responses for compliance with financial policies. Add Amazon Augmented AI (Amazon A2I) human reviews for flagged critical interactions.
  • C. Create an Amazon Lex bot to manage the customer service interactions. Configure AWS Lambda functions to check responses against a static compliance database. Configure intents in the bot that call the Lambda functions to check the responses. Add an additional intent to collect end-user reviews.
  • D. Configure Amazon CloudWatch to monitor response patterns from the AI assistant. Configure CloudWatch alerts for potential compliance violations. Establish a team of human evaluators to review flagged interactions.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon Bedrock evaluations with a judge model (Claude Sonnet) provide scalable automated assessment for accuracy and appropriateness. Custom Amazon Bedrock guardrails ensure automated compliance checks against financial policies. Amazon A2I enables targeted human reviews for flagged critical interactions, addressing all stated requirements effectively within the Bedrock ecosystem. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Manually scoring all responses is not a scalable "automated quality evaluation" and fails to provide targeted reviews of critical interactions, instead reviewing all.
  • Option C is incorrect: This solution pivots to Amazon Lex and lacks the integrated, scalable automated accuracy/appropriateness evaluations offered by Bedrock, and does not provide expert human review for critical interactions.
  • Option D is incorrect: Amazon CloudWatch monitors patterns and alerts, but does not perform content-based, automated evaluations for factual accuracy, detailed compliance, or conversational appropriateness at the level required.

QUESTION 29

A company wants to create an annual rewards program for its customers. The rewards that customers earn vary based on different parameters such as the categories of the items ordered and the customers’ purchase history.

The company needs a generative AI (GenAI) solution that uses three Amazon Bedrock agents to help customers during online catalog browsing. The agents must use knowledge bases and action groups to handle the search, recommendation, and order modules. The modules must operate sequentially. An AWS Lambda function must calculate estimated rewards for each recommended item. The solution must provide graceful degradation during service disruptions.

Which solution will meet these requirements with the MOST operational efficiency?

  • A. Define an Amazon API Gateway REST API behind each agent. Create a second Lambda function to orchestrate the calls to the agents and the rewards Lambda function. Configure the second Lambda function with a retry/fallback mechanism.
  • B. Create an AWS Step Functions state machine with four tasks that run the agents and the rewards Lambda function. Set up retry and catch branches for each of the task steps.
  • C. Configure each agent with a separate retry/fallback mechanism. Create a second Lambda function to orchestrate the calls to the agents and the rewards Lambda function. Define an Amazon API Gateway REST API behind the second Lambda function.
  • D. Create a second Lambda function to orchestrate the calls to the agents and the rewards Lambda function. Create an AWS Step Functions state machine with one task that runs the second Lambda function. Set up retry and catch branches for the task step.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: AWS Step Functions is ideal for orchestrating sequential, multi-step workflows involving Amazon Bedrock agents and Lambda functions. Its built-in retry and catch mechanisms for each task provide robust graceful degradation and fault tolerance, directly meeting the operational efficiency and service disruption requirements by natively managing state and error handling. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Orchestrating complex sequential workflows with retry/fallback logic within a single Lambda function becomes cumbersome, less observable, and less resilient than using a dedicated workflow orchestrator.
  • Option C is incorrect: Distributing retry/fallback logic across individual agents and an orchestrating Lambda is less efficient than a centralized workflow manager. Lambda orchestration struggles with state management across sequential calls.
  • Option D is incorrect: While using Step Functions, running all orchestration logic inside a single Lambda function defeats the purpose of Step Functions’ fine-grained control. If one internal step fails, the entire Lambda is retried, re-executing preceding successful steps, which is inefficient.

QUESTION 30

A company is developing a generative AI (GenAI)-powered customer support application that uses Amazon Bedrock foundation models (FMs). The application must maintain conversational context across multiple interactions with the same user. The application must run clarification workflows to handle ambiguous user queries. The company must store encrypted records of each user conversation to use for personalization. The application must be able to handle thousands of concurrent users while responding to each user quickly.

Which solution will meet these requirements?

  • A. Use an AWS Step Functions Express workflow to orchestrate conversation flow. Invoke AWS Lambda functions to run clarification logic. Store conversation history in Amazon RDS and use session IDs as the primary key.
  • B. Use an AWS Step Functions Standard workflow to orchestrate clarification workflows. Include Wait for a Callback patterns to manage the workflows. Store conversation history in Amazon DynamoDPurchase on-demand capacity and configure server-side encryption.
  • C. Deploy the application by using an Amazon API Gateway REST API to route user requests to an AWS Lambda function to update and retrieve conversation context. Store conversation history in Amazon S3 and configure server-side encryption. Save each interaction as a separate JSON file.
  • D. Use AWS Lambda functions to call Amazon Bedrock inference APIs. Use Amazon SQS queues to orchestrate clarification steps. Store conversation history in an Amazon ElastiCache (Redis OSS) cluster. Configure encryption at rest.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: AWS Step Functions Standard workflows orchestrate complex, stateful clarification processes using Callback patterns for external interaction. Amazon DynamoDB, with on-demand capacity and server-side encryption, provides highly scalable, low-latency storage for encrypted conversational context across thousands of concurrent users. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Step Functions Express workflows are for short-duration tasks and lack callback patterns for interactive clarification. Amazon RDS struggles with the scale and low-latency throughput required for dynamic conversation history updates across thousands of concurrent users compared to DynamoDB.
  • Option C is incorrect: Storing each interaction as a separate JSON file in Amazon S3 and retrieving/updating for every query is inefficient and introduces high latency for thousands of concurrent users needing quick responses, as S3 is object storage, not a transactional database for dynamic state.
  • Option D is incorrect: Amazon SQS is a message queue, not a stateful workflow orchestrator. Amazon ElastiCache (Redis) is primarily a cache and not ideal as the durable, auditable record store for encrypted user conversation personalization data.

QUESTION 31 (Multi-Select)

An ecommerce company is building an internal platform to develop generative AI applications by using Amazon Bedrock foundation models (FMs). Developers need to select models based on evaluations that are aligned to ecommerce use cases. The platform must display accuracy metrics for text generation and summarization in dashboards. The company has custom ecommerce datasets to use as standardized evaluation inputs.

Which combination of steps will meet these requirements with the LEAST operational overhead? (Choose two.)

  • A. Import the datasets to an Amazon S3 bucket. Provide appropriate IAM permissions and cross-origin resource sharing (CORS) permissions to give the evaluation jobs access to the datasets.
  • B. Import the datasets to an Amazon S3 bucket. Provide appropriate IAM permissions and a VPC endpoint configuration to give the evaluation jobs access to the datasets.
  • C. Configure an AWS Lambda function to create model evaluation jobs on a schedule in the Amazon Bedrock console. Provide the URI of the S3 bucket that contains the datasets as an input. Configure the evaluation jobs to measure the real world knowledge (RWK) score for text generation and BERT Score for summarization. Configure a second Lambda function to check the status of the jobs and publish custom logs to Amazon CloudWatch. Create a custom Amazon CloudWatch Logs Insights dashboard.
  • D. Use Amazon SageMaker Clarify on a schedule to create model evaluation jobs. Use open source frameworks to create and run standardized evaluations. Publish results to Amazon CloudWatch namespaces. Use the word error rate score for text generation and toxicity for summarization as metrics for accuracy. Configure an AWS Lambda function to check the status of the jobs and publish custom logs to CloudWatch. Create a custom Amazon CloudWatch Logs Insights dashboard.
  • E. Run an Amazon SageMaker AI notebook job on a schedule by using the fmevals or ragas framework to run evaluations that use the datasets in the S3 bucket. Write Python code in the notebook that makes direct InvokeModel API calls to the FMs and processes their responses for evaluation. Publish job status and results to Amazon CloudWatch Logs to measure the real world knowledge (RWK) score for text generation and toxicity for summarization as metrics for accuracy. Create a custom CloudWatch Logs Insights dashboard.
Click to View Verified Solution & Explanation

Correct Option: A,C

Explanation: ✅

Reasoning: Storing custom datasets in Amazon S3 is the standard, lowest-overhead approach. Appropriate IAM permissions are essential for Bedrock evaluation jobs to securely access these datasets. CORS might be required depending on the access method, but S3 and IAM are fundamental.


✅

Reasoning: Leveraging Amazon Bedrock’s native model evaluation service via scheduled Lambda functions significantly reduces operational overhead. Bedrock’s built-in evaluation supports relevant metrics like Real-World Knowledge (RWK) for text generation and BERT Score for summarization. CloudWatch provides low-overhead monitoring and dashboarding. ❌ Why the other choices are incorrect:

  • Option B is incorrect: A VPC endpoint for S3 access adds configuration complexity and overhead, which is not strictly necessary for Bedrock evaluation jobs unless specific private network requirements exist.
  • Option D is incorrect: SageMaker Clarify focuses on bias/explainability, not core accuracy. Using open-source frameworks and custom evaluations demands significantly higher operational overhead than Bedrock’s managed evaluation. WER and toxicity are inappropriate accuracy metrics for the specified tasks.
  • Option E is incorrect: Running custom evaluation code in SageMaker notebooks with frameworks like fmevals or ragas involves substantial development and maintenance overhead compared to Bedrock’s integrated solution. Toxicity is not an accuracy metric for summarization.

QUESTION 32

A company uses AWS Lambda functions to build an AI agent solution. A GenAI developer must set up a Model Context Protocol (MCP) server that accesses user information. The GenAI developer must also configure the AI agent to use the new MCP server. The GenAI developer must ensure that only authorized users can access the MCP server.

Which solution will meet these requirements?

  • A. Use a Lambda function to host the MCP server. Grant the AI agent Lambda functions permission to invoke the Lambda function that hosts the MCP server. Configure the AI agent's MCP client to invoke the MCP server asynchronously.
  • B. Use a Lambda function to host the MCP server. Grant the AI agent Lambda functions permission to invoke the Lambda function that hosts the MCP server. Configure the AI agent to use the STDIO transport with the MCP server.
  • C. Use a Lambda function to host the MCP server. Create an Amazon API Gateway HTTP API that proxies requests to the Lambda function. Configure the AI agent solution to use the Streamable HTTP transport to make requests through the HTTP API. Use Amazon Cognito to enforce OAuth 2.1.
  • D. Use a Lambda layer to host the MCP server. Add the Lambda layer to the AI agent Lambda functions. Configure the agentic AI solution to use the STDIO transport to send requests to the MCP server. In the AI agent's MCP configuration, specify the Lambda layer ARN as the command. Specify the user credentials as environment variables.AWS Certified Generative AI Developer – Professional AIP-C01 Exam Questions
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Hosting the MCP server on Lambda and exposing it via API Gateway HTTP API with Streamable HTTP transport is the recommended pattern. Amazon Cognito, integrated with API Gateway, provides robust OAuth 2.1 authorization, directly meeting the "only authorized users" requirement for secure access. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Asynchronous invocation is unsuitable for an MCP server that expects a synchronous response. It also lacks a clear mechanism for external user authorization.
  • Option B is incorrect: STDIO transport is not designed for communication between separate Lambda functions. It’s typically for collocated processes, not HTTP-based communication across distinct compute environments.
  • Option D is incorrect: A Lambda layer stores code/dependencies, not a running server. STDIO transport and using a layer ARN as a command is not a valid pattern for hosting or accessing an external MCP server, nor does it provide robust user authorization.

QUESTION 33

A healthcare company is using Amazon Bedrock to build a Retrieval Augmented Generation (RAG) application that helps practitioners make clinical decisions. The application must achieve high accuracy for patient information retrievals, identify hallucinations in generated content, and reduce human review costs.

Which solution will meet these requirements?

  • A. Use Amazon Comprehend to analyze and classify RAG responses and to extract medical entities and relationships. Use AWS Step Functions to orchestrate automated evaluations. Configure Amazon CloudWatch metrics to track entity recognition confidence scores. Configure CloudWatch to send an alert when accuracy falls below specified thresholds.
  • B. Implement automated large language model (LLM)-based evaluations that use a specialized model that is fine-tuned for medical content to assess all responses. Deploy AWS Lambda functions to parallelize evaluations. Publish results to Amazon CloudWatch metrics that track relevance and factual accuracy.
  • C. Configure Amazon CloudWatch Synthetics to generate test queries that have known answers on a regular schedule, and track model success rates. Set up dashboards that compare synthetic test results against expected outcomes.
  • D. Deploy a hybrid evaluation system that uses an automated LLM-as-a-judge evaluation to initially screen responses and targeted human reviews for edge cases. Use Amazon SageMaker Feature Store to maintain evaluation datasets. Use a built-in Amazon Bedrock evaluation to track retrieval precision and hallucination rates.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation:

✅ Option D (Correct)A hybrid evaluation system combining automated LLM-as-a-judge with targeted human reviews for edge cases is a best practice for high-stakes applications like healthcare. The LLM-as-a-judge component can efficiently screen responses for initial quality and identify potential hallucinations, significantly reducing the volume of content requiring human review, thus lowering costs. By focusing human review on critical edge cases, the system ensures high accuracy where it matters most for clinical decisions. Furthermore, Amazon Bedrock now offers built-in evaluation capabilities that can track key RAG metrics such as retrieval precision and hallucination rates directly, providing a comprehensive and integrated solution to meet all requirements. Using Amazon SageMaker Feature Store for evaluation datasets provides a robust way to manage the data used for ongoing assessment.

❌ Why the other choices are incorrect:

  • Option A is incorrect: While Amazon Comprehend Medical is excellent for extracting medical entities and relationships, and identifying inconsistencies at an entity level, it does not provide a holistic evaluation of LLM-generated RAG responses for overall factual accuracy or hallucination detection in the broader context of the generated text. It’s more about data extraction than full RAG quality assessment.
  • Option B is incorrect: While implementing automated LLM-based evaluations with a specialized model is a strong approach for accuracy and hallucination detection, Option D’s hybrid approach, which includes targeted human review for edge cases and explicit mention of built-in Bedrock evaluation for tracking, is generally more robust and realistic for critical healthcare applications where absolute trust in automation for all cases might be insufficient.
  • Option C is incorrect: Amazon CloudWatch Synthetics is primarily designed for monitoring application availability, performance, and basic user journeys by simulating user interactions. It is not suitable for deep, nuanced evaluation of the quality, relevance, or hallucination of LLM-generated content. While it can track basic success rates for known queries, it lacks the sophisticated capabilities needed to assess generative AI outputs.

Reference: https://docs.aws.amazon.com/bedrock/latest/userguide/evaluation-automated-human.html

QUESTION 34 (Multi-Select)

A company deploys multiple Amazon Bedrock based generative AI (GenAI) applications across multiple business units for customer service, content generation, and document analysis. Some applications show unpredictable token consumption patterns. The company requires a comprehensive observability solution that provides real-time visibility into token usage patterns across multiple models. The observability solution must support custom dashboards for multiple stakeholder groups and provide alerting capabilities for token consumption across all the foundational models that the company’s applications use.

Which combination of solutions will meet these requirements with the LEAST operational overhead? (Choose two.)

  • A. Use Amazon CloudWatch metrics as data sources to create custom Amazon QuickSight dashboards that show token usage trends and usage patterns across FMs.
  • B. Use Amazon CloudWatch Logs Insights to analyze Amazon Bedrock invocation logs for token consumption patterns and usage attribution by application. Create custom queries to identify high-usage scenarios. Add log widgets to dashboards to enable continuous monitoring.
  • C. Create custom Amazon CloudWatch dashboards that combine native Amazon Bedrock token and invocation CloudWatch metrics. Set up CloudWatch alarms to monitor token usage thresholds.
  • D. Create dashboards that show token usage trends and patterns across the company's FMs by using an Amazon Bedrock zero-ETL integration with Amazon Managed Grafana.
  • E. Implement Amazon EventBridge rules to capture Amazon Bedrock model invocation events. Route token usage data to an Amazon Data Firehose delivery stream that targets Amazon OpenSearch Serverless. Use OpenSearch dashboards to analyze usage patterns.
Click to View Verified Solution & Explanation

Correct Option: B,C

Explanation: ✅

Reasoning: CloudWatch native metrics for Bedrock provide real-time token and invocation counts for dashboards. Setting CloudWatch alarms directly fulfills the alerting requirement with minimal operational overhead, centralizing monitoring within a core AWS service.


✅

Reasoning: CloudWatch Logs Insights analyzes detailed Bedrock invocation logs for specific token consumption patterns and usage attribution, crucial for understanding unpredictable usage. Log widgets on dashboards integrate this granular data, complementing metrics for comprehensive observability with low overhead. ❌ Why the other choices are incorrect:

  • Option A is incorrect: QuickSight adds another service and management complexity, increasing operational overhead compared to using CloudWatch dashboards alone.
  • Option D is incorrect: Amazon Bedrock does not offer a native zero-ETL integration with Amazon Managed Grafana for this purpose, and Grafana introduces additional management overhead.
  • Option E is incorrect: This solution involves multiple services (EventBridge, Firehose, OpenSearch Serverless), resulting in significantly higher operational overhead for setup and maintenance.

QUESTION 35

An elevator service company has developed an AI assistant application by using Amazon Bedrock. The application generates elevator maintenance recommendations to support the company’s elevator technicians. The company uses Amazon Kinesis Data Streams to collect the elevator sensor data.

New regulatory rules require that a human technician must review all AI-generated recommendations. The company needs to establish human oversight workflows to review and approve AI recommendations. The company must store all human technician review decisions for audit purposes.

Which solution will meet these requirements?

  • A. Create a custom approval workflow by using AWS Lambda functions and Amazon SQS queues for human review of AI recommendations. Store all review decisions in Amazon DynamoDB for audit purposes.
  • B. Create an AWS Step Functions workflow that has a human approval step that uses the waitForTaskToken API to pause execution. After a human technician completes a review, use an AWS Lambda function to call the SendTaskSuccess API that has the approval decision. Store all review decisions in Amazon DynamoDB.
  • C. Create an AWS Glue workflow that has a human approval step. After the human technician review, integrate the application with an AWS Lambda function that calls the SendTaskSuccess API. Store all human technician review decisions in Amazon DynamoDB.
  • D. Configure Amazon EventBridge rules with custom event patterns to route AI recommendations to human technicians for review. Create AWS Glue jobs to process human technician approval queues. Use Amazon ElastiCache to cache all human technician review decisions.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: AWS Step Functions excels at orchestrating complex, stateful workflows, including human approval. The waitForTaskToken pattern pauses execution precisely until an external human review is complete. An AWS Lambda function then uses SendTaskSuccess to resume the workflow with the decision. DynamoDB is ideal for durable storage of audit-ready review decisions. ❌ Why the other choices are incorrect:

  • Option A is incorrect: While feasible, building a robust human approval workflow with only Lambda and SQS requires significant custom state management, which Step Functions inherently provides.
  • Option C is incorrect: AWS Glue workflows are primarily for ETL orchestration, not for general human approval processes. SendTaskSuccess is a Step Functions API, not directly applicable to Glue workflows in this context.
  • Option D is incorrect: EventBridge routes events but doesn’t orchestrate stateful human workflows. AWS Glue jobs are for ETL. ElastiCache is a caching service, not suitable for durable audit storage.

Need the Full Exam Simulator?

Practice the complete question bank in a realistic, timed environment with advanced tracking.

Access Full CertoMetrics Engine →

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top