Amazon certification · Exam AIP-C01

AIP-C01 Mock Exam Page 3

AWS Certified Generative AI Developer - Professional

Free AIP-C01 mock exam questions 21–30, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Free AIP-C01 questions

21–30 of 30 free
Question 21 Choose 1
A company has set up Amazon Q Developer Pro licenses for all developers at the company. The company maintains a list of approved resources that developers must use when developing applications. The approved resources include internal libraries, proprietary algorithmic techniques, and sample code with approved styling.

A new team of developers is using Amazon Q Developer to develop a new Java-based application. The company must ensure that the new developer team uses the company’s approved resources. The company does not want to make project-level modifications.

Which solution will meet these requirements?
Show answerHide answer

Correct answer: D Create an Amazon Q Developer customization that includes the approved data sources. Ensure that the developers use the customization to develop the application.

Explanation

Explanation:

This question tests the distinction between Amazon Q Developer customizations (organization-level, Pro-only feature for internal libraries/code style) versus workspace context or project rules (project-level modifications). The key requirement is enforcing approved resources without making project-level changes.

✔️ Correct Option: Option D
Amazon Q Developer customizations are designed specifically for Amazon Q Developer Pro subscribers to provide in-line code suggestions based on a company's internal codebase, including internal libraries, proprietary algorithmic techniques, and approved coding styles. Customizations are created at the organization level in the Amazon Q Developer console, connected to data sources via AWS CodeConnections or Amazon S3, and shared with user groups. This meets the requirement because developers use the customization without modifying the project itself, and it applies across all projects without project-level changes.

❌ Incorrect Option: Option A
Workspace context (using @workspace) creates a local index of the current workspace repository and requires developers to explicitly add @workspace to their questions. This is project-level because the Git repository must be included locally in each application workspace, violating the "no project-level modifications" requirement. It also relies on manual developer action rather than enforced organization-level configuration.

❌ Incorrect Option: Option B
The amazonq/rules folder name is incorrect. Project rules must be stored in .amazonq/rules (with a leading dot), not amazonq/rules. Additionally, project rules are defined in Markdown files containing prompts/guidelines—not by storing actual libraries, algorithms, or code samples. This approach requires project-level folder creation, violating the requirement.

❌ Incorrect Option: Option C
Using a generic rules folder is incorrect because Amazon Q Developer specifically requires the .amazonq/rules folder path for project rules. More importantly, project rules contain Markdown files with coding guidelines and prompts—not actual code libraries or algorithmic techniques. This solution also requires project-level folder creation, which violates the no-project-modification requirement.

🔧 Reference:
→ AWS Documentation – What is Amazon Q Developer? — Confirms that customizations enable Amazon Q Developer to provide in-line suggestions based on company codebases (internal libraries, proprietary techniques, code style) and are created at the organization level without project modifications.

→ AWS Prescriptive Guidance – Advanced capabilities of Amazon Q Developer — Confirms customizations provide suggestions based on company code repositories via Amazon S3 or AWS CodeConnections, distinct from workspace context.
Question 22 Choose 1
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?
Show answerHide answer

Correct answer: 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.

Explanation

Explanation:

This question tests near real-time monitoring strategies for generative AI applications on Amazon Bedrock, focusing on hallucination detection in clinical summaries, token usage anomalies, and cost control with minimal custom code and maintenance.

✅ Correct Option C:
Configuring model invocation logging to S3 with text output enables detailed capture of inputs and outputs. Amazon Bedrock guardrails with contextual grounding checks detect hallucinations by validating responses against source documents in near real-time. CloudWatch anomaly detection on token metrics provides early warnings for abnormal consumption and cost spikes without heavy custom development.

❌ Incorrect Option A:
CloudWatch alarms monitor token counts effectively, but using AWS Glue and Athena for hallucination detection relies on batch querying of S3 logs, which is not near real-time and requires more maintenance for ongoing analysis.

❌ Incorrect Option B:
Bedrock evaluation jobs are suitable for periodic offline assessments rather than near real-time monitoring. Adding a Lambda function for notifications increases custom development and maintenance overhead compared to built-in features.

❌ Incorrect Option D:
AWS CloudTrail logs API calls for auditing but lacks detailed token usage metrics. SageMaker Model Monitor is designed for custom SageMaker models, not Bedrock-hosted foundation models, making it a poor fit with higher complexity.

🔧 Reference:
→ Amazon Bedrock User Guide - Contextual Grounding Check
Confirms guardrails detect hallucinations in model responses using grounding checks.

→ Amazon Bedrock User Guide - Model Invocation Logging
Details logging to S3/CloudWatch and integration with anomaly detection for token usage monitoring.
Question 23 Choose 2
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 Service Control Policies (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 eucentral- 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? (Select TWO.)
Show answerHide answer

Correct answer: B, D Extend the existing SCPs to enable CRI for the eu.amazon.nova-pro-v1:0 inference profileValidate 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

Explanation

Explanation:

The error occurs because the SCP blocks access to eu-west-3, which is a destination region for the EU Nova Pro inference profile. The solution must allow CRI while preserving regional governance. This requires both SCP exceptions for the inference profile and proper IAM permissions for developers.

✔️ Option B
Extend the existing SCPs to enable CRI for the eu.amazon.nova-pro-v1:0 inference profile.
The SCP is explicitly denying the action on the eu-west-3 region resource. The EU Nova Pro inference profile routes requests across eu-central-1, eu-north-1, eu-west-1, and eu-west-3. If any destination region in the profile is blocked by SCPs, the request fails even if other regions remain allowed. You must extend the SCP to create an exception for bedrock:InvokeModel* actions on the eu.amazon.nova-pro-v1:0 inference profile to allow cross-region inference while maintaining other regional restrictions. This preserves existing governance controls while enabling CRI.

✔️ Option 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.
IAM roles need permissions for bedrock:InvokeModel* actions on the inference profile resource. You must validate that the IAM role policies include the inference profile ARN and not just the base model ID. The eu.amazon.nova-pro-v1:0 inference profile ARN should be specified as the modelId for cross-region inference. Additionally, SCPs and IAM policies work together to control where cross-region inference is allowed, so both must be validated for all destination regions in the EU inference profile.

❌ Option A
Add an AdministratorAccess policy to the GenAI developer IAM role.
AdministratorAccess is an over-permissive policy that violates least privilege principles and the company's precise access control requirement. Moreover, the error is caused by an SCP denial, not insufficient IAM permissions. Adding AdministratorAccess would not resolve the SCP restriction and would create a significant security risk.

❌ Option C
Enable Amazon Bedrock model access for Amazon Nova Pro in the eu-west-3 Region.
The company's data residency policy requires using only the eu-central-1 region for all operations. Enabling model access in eu-west-3 would violate this policy. Furthermore, with CRI, you do not need to separately enable model access in destination regions because requests are routed through the inference profile from the source region.

❌ Option E
Extend the existing SCP to enable CRI for the eu-* inference profile.
The eu-* wildcard is too broad and would create an exception for all EU inference profiles, violating the precise access control requirement. The solution must target only the specific inference profile needed: eu.amazon.nova-pro-v1:0. A wildcard exception could inadvertently allow access to other models or profiles that are not approved.

🔧 Reference:
→ Supported Regions and models for inference profiles - Amazon Bedrock - Confirms that the EU Nova Pro inference profile routes requests across eu-central-1, eu-north-1, eu-west-1, and eu-west-3.

→ Increase throughput with cross-Region inference - Amazon Bedrock - Confirms that SCPs must allow all destination regions in a profile and that IAM policies control which roles can run inference.
Question 24 Choose 1
A book publishing company wants to build a book recommendation system that uses an AI assistant. The AI assistant will use ML to generate a list of recommended books from the company's book catalog. The system must suggest books based on conversations with customers.

The company stores the text of the books, customers' and editors' reviews of the books, and extracted book metadata in Amazon S3. The system must support low-latency responses and scale efficiently to handle more than 10,000 concurrent users.

Which solution will meet these requirements?
Show answerHide answer

Correct answer: A Use Amazon Bedrock Knowledge Bases to generate embeddings. Store the embeddings as a vector store in Amazon OpenSearch Service. Create an AWS Lambda function that queries the knowledge base. Configure Amazon API Gateway to invoke the Lambda function when handling user requests.

Explanation

Explanation:

This question tests RAG (Retrieval-Augmented Generation) architecture at scale using Amazon Bedrock, focusing on:

semantic search over large unstructured + structured text (books, reviews, metadata)
low-latency retrieval for conversational recommendations
high scalability for 10,000+ concurrent users
proper vector storage for embeddings

The key requirement is fast semantic retrieval + scalable vector search backend.

🟢 Correct Option:

A. Bedrock Knowledge Bases + OpenSearch vector store
Amazon Bedrock Knowledge Bases automatically converts S3 data into embeddings and supports RAG workflows. Amazon OpenSearch Service is optimized for high-performance vector similarity search, making it suitable for low-latency recommendation queries at scale. Lambda acts as a lightweight orchestration layer, while API Gateway provides scalable access for thousands of concurrent users. This combination ensures fast, semantic, and scalable recommendation responses.

🔴 Incorrect Options:

B. Using DynamoDB as a vector store
DynamoDB is not designed for vector similarity search or embedding-based retrieval. It excels at key-value access, not semantic search. Using it as a vector store would result in poor relevance and inefficient retrieval performance, especially under high concurrency and large embedding datasets.

C. SageMaker endpoint recommendation engine
SageMaker can host ML models, but it is not optimized for RAG-based conversational retrieval from large unstructured document corpora. It would require custom feature engineering, lacks built-in knowledge ingestion from S3, and increases operational complexity for a use case that Bedrock Knowledge Bases already solves natively.

D. Amazon Kendra GenAI Enterprise Edition
Kendra is good for enterprise search, but it is not the best fit for custom generative AI recommendation systems requiring embedding-based conversational RAG pipelines. It also introduces tighter indexing constraints and less flexibility compared to Bedrock + OpenSearch for large-scale generative recommendation workloads.

🔧 Reference:
→ Amazon Bedrock Knowledge Bases
Explains how Bedrock Knowledge Bases convert documents into embeddings and support RAG workflows using vector stores.

→ Amazon OpenSearch Service Vector Search
Describes OpenSearch support for high-performance vector similarity search used in large-scale AI retrieval systems.
Question 25 Choose 1
A company has a recommendation system. The system's applications run on Amazon EC2 instances. The applications make API calls to Amazon Bedrock foundation models (FMs) to analyze customer behavior and generate personalized product recommendations.

The system is experiencing intermittent issues. Some recommendations do not match customer preferences. The company needs an observability solution to monitor operational metrics and detect patterns of operational performance degradation compared to established baselines. The solution must also generate alerts with correlation data within 10 minutes when FM behavior deviates from expected patterns.

Which solution will meet these requirements?
Show answerHide answer

Correct answer: C Enable Amazon CloudWatch Application Insights for the application resources. Create custom metrics for recommendation quality, token usage, and response latency by using the CloudWatch embedded metric format with dimensions for request types and user segments. Configure CloudWatch anomaly detection on the model metrics. Establish log pattern analysis by using CloudWatch Logs Insights.

Explanation

Explanation:

This question tests your ability to design an observability and alerting architecture for generative AI systems on AWS. It focuses on tracking model performance degradation against baselines, analyzing multidimensional telemetry, and leveraging machine learning-driven anomaly detection to trigger alerts within a strict time window.

✅ Correct Option:

Option C
This option fulfills all observability, baseline monitoring, and rapid alerting criteria. Amazon CloudWatch Application Insights automatically monitors the underlying application resources. Utilizing the CloudWatch embedded metric format allows the system to ingest high-cardinality custom metrics (like quality and token usage) with rich dimensions. CloudWatch anomaly detection continuously models these metrics against historical baselines, instantly triggering alarms within the 10-minute threshold when model behavior drifts.

❌ Incorrect options:

Option A
CloudWatch Container Insights is explicitly designed to monitor containerized environments such as Amazon ECS or Amazon EKS. Because this specific recommendation system's applications run directly on Amazon EC2 instances rather than containers, deploying Container Insights is architecturally incorrect and fails to monitor the target infrastructure.

Option B
While AWS X-Ray and CloudTrail provide valuable distributed tracing and API audit logs, this combination lacks a native mechanism to automatically detect operational performance degradation against established baselines. Furthermore, utilizing Amazon QuickSight for real-time operational alerting within 10 minutes introduces unnecessary complexity and dashboard latency compared to native CloudWatch alarms.

Option D
Deploying Amazon OpenSearch Service alongside Amazon Kinesis creates an excessively complex architecture with high operational overhead. While it can ingest and query data using Piped Processing Language (PPL), it does not provide the seamless, automated, machine learning-backed baseline anomaly detection and native 10-minute threshold alerting that CloudWatch offers out of the box.

🔧 Reference:
→ Learn about automated resource monitoring and baseline tracking via Amazon CloudWatch Application Insights.

→ Review how to detect statistical deviations and behavior changes using CloudWatch Anomaly Detection.
Question 26 Choose 1
A university recently digitized a collection of archival documents, academic journals, and manuscripts. The university stores the digital files in an AWS Lake Formation data lake.

The university hires a GenAI developer to build a solution to allow users to search the digital files by using text queries. The solution must return journal abstracts that are semantically similar to a user's query. Users must be able to search the digitized collection based on text and metadata that is associated with the journal abstracts. The metadata of the digitized files does not contain keywords. The solution must match similar abstracts to one another based on the similarity of their text. The data lake contains fewer than 1 million files.

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

Correct answer: D Use Amazon Titan Embeddings in Amazon Bedrock to create vector representations of the digitized files. Store embeddings in an Amazon Aurora PostgreSQL Serverless database that has the pgvector extension.

Explanation

Explanation:

This question tests the optimal AWS solution for semantic search (vector similarity) with text and metadata filtering while minimizing operational overhead for under 1 million files. Key requirements include: vector embeddings for text similarity, metadata-based filtering, and no keyword metadata.

✔️ Correct Option: Option D
Amazon Titan Embeddings in Amazon Bedrock is a fully managed, serverless API service that requires zero infrastructure provisioning, endpoint management, or model deployment—delivering near-zero operational overhead. Amazon Aurora PostgreSQL Serverless with pgvector automatically scales compute and storage based on demand, pauses during inactivity to eliminate idle costs, and supports vector similarity search with HNSW indexing. This combination enables efficient semantic search with metadata filtering (PostgreSQL's native query capabilities) while requiring minimal operational management compared to managed OpenSearch clusters or SageMaker endpoints.

❌ Incorrect Option: Option A
Amazon OpenSearch Service with the Neural plugin requires managing OpenSearch Compute Units (OCUs) with a minimum of 2 OCUs for production (~$350/month idle cost), dedicated OCUs for vector collections, and cluster maintenance. While OpenSearch supports semantic search, it has significantly higher operational overhead than Aurora Serverless due to OCUs provisioning, cluster scaling, and indexing management. Additionally, OpenSearch Serverless vector collections cannot share OCUs with other collection types, increasing complexity and cost for this use case.

❌ Incorrect Option: Option B
Amazon Comprehend extracts topics/sentiment but does not create vector embeddings required for semantic similarity matching based on text similarity. Topic extraction produces categorical labels rather than dense vector representations, making it impossible to "match similar abstracts to one another based on the similarity of their text" as required. Aurora PostgreSQL without pgvector cannot perform vector similarity search, and Comprehend topics don't support the semantic similarity requirement for journal abstract matching.

❌ Incorrect Option: Option C
Amazon SageMaker AI requires deploying and managing a sentence-transformer model endpoint (e.g., Hugging Face), which involves provisioning inference instances (ml.g5.xlarge ~$1.21/hr = ~$875/month idle cost), endpoint monitoring, and model maintenance. This creates significantly higher operational overhead than Bedrock's serverless API approach. While pgvector in Aurora PostgreSQL is correct for storage, the SageMaker deployment requirement makes this option more complex than using Bedrock's managed Titan Embeddings service.

🔧 Reference:
→ AWS Documentation – Amazon Titan Text Embeddings models
— Confirms Titan Embeddings on Bedrock is completely serverless with no provisioning required, seamlessly integrating with Lambda and RDS/Aurora out of the box.

→ AWS What's New – Amazon Aurora PostgreSQL now supports pgvector
— Confirms Aurora PostgreSQL supports pgvector for storing embeddings from Bedrock/SageMaker and performing efficient similarity searches for semantic search and RAG applications.
Question 27 Choose 1
A company is building a generative AI (GenAI) application that uses Amazon Bedrock APIs to process complex customer inquiries. During peak usage periods, the application experiences intermittent API timeouts that cause issues such as broken response chunks and delayed data delivery. The application struggles to ensure that prompts remain within token limits when handling complex customer inquiries of varying lengths. Users have reported truncated inputs and incomplete responses. The company has also observed foundation model (FM) invocation failures.

The company needs a retry strategy that automatically handles transient service errors and prevents overwhelming Amazon Bedrock during peak usage periods. The strategy must also adapt to changing service availability and support response streaming and tokenaware request handling.

Which solution will meet these requirements?
Show answerHide answer

Correct answer: B Implement an adaptive retry strategy that uses exponential backoff with jitter and a circuit breaker pattern that temporarily disables retries when error rates exceed a predefined threshold. Implement a streaming response handler that monitors for chunk delivery timeouts. Configure the handler to buffer successfully received chunks and intelligently resume streaming from the last received chunk when connections are reestablished.

Explanation

Explanation:

This question evaluates resilient retry mechanisms for Amazon Bedrock API calls in high-load GenAI applications. It focuses on handling transient errors, preventing service overload, supporting response streaming with chunk recovery, token-aware processing, and adaptive behavior during peak periods.

✅ Correct Option B:
An adaptive retry strategy with exponential backoff and jitter automatically handles transient errors while preventing thundering herd issues that could overwhelm Bedrock. The circuit breaker pattern temporarily halts retries during high error rates, adapting to service availability. The streaming handler monitors chunk timeouts, buffers received data, and intelligently resumes from the last successful point, ensuring complete responses and token-aware handling.

❌ Incorrect Option A:
A fixed 1-second delay and simple retry limit do not adapt to changing conditions or prevent overload effectively. Basic stream restart loses partial progress and lacks intelligent token management for complex inquiries.

❌ Incorrect Option C:
Standard retry mode from the AWS SDK is less adaptive than the recommended approach for throttling-heavy workloads. While it includes some custom logic, the combination increases complexity without a circuit breaker and may not optimally handle streaming resumption or dynamic token limits.

❌ Incorrect Option D:
Static timeouts, load shedding, and fixed token caps provide basic protection but lack adaptive retries with jitter and proper circuit breaker behavior. This does not fully address streaming chunk recovery or dynamic adaptation to service availability.

🔧 Reference:
→ Amazon Bedrock Documentation - Optimize applications for scale and reliability
Confirms adaptive retries with exponential backoff, jitter, and circuit breakers for Bedrock resilience.

→ AWS Prescriptive Guidance - Retry with backoff pattern
Details exponential backoff with jitter and circuit breaker integration for transient error handling.
Question 28 Choose 1
A company runs a generative AI (GenAI)-powered summarization application in an application AWS account that uses Amazon Bedrock. The application architecture includes an Amazon API Gateway REST API that forwards requests to AWS Lambda functions that are attached to private VPC subnets. The application summarizes sensitive customer records that the company stores in a governed data lake in a centralized data storage account. The company has enabled Amazon S3, Amazon Athena, and AWS Glue in the data storage account.

The company must ensure that calls that the application makes to Amazon Bedrock use only private connectivity between the company's application VPC and Amazon Bedrock.The company's data lake must provide fine-grained column-level access across the company's AWS accounts.

Which solution will meet these requirements?
Show answerHide answer

Correct answer: A In the application account, create interface VPC endpoints for Amazon Bedrock runtimes. Run Lambda functions in private subnets. Use IAM conditions on inference and data-plane policies to allow calls only to approved endpoints and roles. In the data storage account, use AWS Lake Formation LF-tag-based access control to create table-level and column-level cross-account grants.

Explanation

Explanation:

This question assesses your knowledge of private connectivity to Amazon Bedrock and fine-grained data access across AWS accounts. The application needs to ensure Bedrock API calls remain within the VPC without traversing the public internet. The data lake requires column-level access controls for sensitive customer records. The correct solution combines VPC endpoints with IAM conditions and AWS Lake Formation for cross-account data governance.

✔️ Option A
In the application account, create interface VPC endpoints for Amazon Bedrock runtimes. Run Lambda functions in private subnets. Use IAM conditions on inference and data-plane policies to allow calls only to approved endpoints and roles. In the data storage account, use AWS Lake Formation LF-tag-based access control to create table-level and column-level cross-account grants.
Interface VPC endpoints for Bedrock runtime services enable private connectivity between the application VPC and Bedrock. Running Lambda functions in private subnets ensures traffic stays within the VPC. IAM conditions with aws:sourceVpce restrict Bedrock API calls to only those made through the approved VPC endpoints. In the data storage account, AWS Lake Formation LF-tags provide fine-grained column-level access controls across accounts, meeting the data lake requirement.

❌ Option B
Run Lambda functions in private subnets. Configure a NAT gateway to provide access to Amazon Bedrock and the data lake. Use S3 bucket policies and ACLs to manage permissions. Export AWS CloudTrail logs to Amazon S3 to perform weekly reviews.
A NAT gateway routes traffic through the public internet, violating the private connectivity requirement. S3 bucket policies and ACLs provide only coarse-grained access, not fine-grained column-level control across accounts. Weekly reviews are not an active governance solution for this requirement.

❌ Option C
Create a gateway endpoint only for Amazon S3 in the application account. Invoke Amazon Bedrock through public endpoints. Use database-level grants in AWS Lake Formation to manage data access. Stream AWS CloudTrail logs to Amazon CloudWatch Logs. Do not set up metric filters or alarms.
Invoking Bedrock through public endpoints violates the private connectivity requirement. Gateway endpoints are for S3 only and do not support Bedrock, which requires interface VPC endpoints. Database-level grants do not provide the required column-level granularity, and no alarms or filters fail to meet operational governance expectations.

❌ Option D
Use VPC endpoints to provide access to Amazon Bedrock and Amazon S3 in the application account. Use only IAM path-based policies to manage data lake access. Send AWS CloudTrail logs to Amazon CloudWatch Logs. Periodically create dashboards and allow public fallback for cross-Region reads to reduce setup time.
IAM path-based policies do not support the required column-level data lake access controls across accounts. Allowing public fallback for cross-Region reads violates the private connectivity and security requirements. This approach compromises both requirements for the sake of reduced setup time.

🔧 Reference:
→ Amazon Bedrock VPC Endpoints - AWS PrivateLink - Confirms that interface VPC endpoints for Bedrock runtime and data plane provide private connectivity between VPC and Bedrock.

→ AWS Lake Formation Cross-Account Access - Confirms that Lake Formation supports table-level and column-level permissions across AWS accounts using LF-tags and named resources.
Question 29 Choose 1
An ecommerce company is using Amazon Bedrock to build a generative AI (GenAI) application. The application uses AWS Step Functions to orchestrate a multi-agent workflow to produce detailed product descriptions. The workflow consists of three sequential states: a description generator, a technical specifications validator, and a brand voice consistency checker. Each state produces intermediate reasoning traces and outputs that are passed to the next state. The application uses an Amazon S3 bucket for process storage and to store outputs.

During testing, the company discovers that outputs between Step Functions states frequently exceed the 256 KB quota and cause workflow failures. A GenAI Developer needs to revise the application architecture to efficiently handle the Step Functions 256 KB quota and maintain workflow observability. The revised architecture must preserve the existing multi-agent reasoning and acting (ReAct) pattern.

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

Correct answer: B Configure an Amazon Bedrock integration to use the S3 bucket URI in the input parameters for large outputs. Use the ResultPath and ResultSelector fields to route S3 references between the agent steps while maintaining the sequential validation workflow.

Explanation

Explanation:

This question is about Step Functions payload limits (256 KB) and how to design a scalable multi-agent GenAI pipeline using ReAct while minimizing operational overhead.

Key constraints:

Step Functions hard limit: 256 KB per state input/output
Intermediate reasoning traces are large
Must preserve sequential multi-agent workflow (ReAct pattern)
Must maintain low operational complexity

The correct design pattern is:

externalize large payloads to S3
pass only lightweight references (S3 URIs) between states
preserve orchestration flow using Step Functions fields like ResultPath

🟢 Correct Option:

B. S3-based payload offloading with Step Functions reference passing
This approach is the standard AWS pattern for handling large Step Functions payloads. Instead of passing full reasoning traces between states, outputs are stored in Amazon S3 and only the S3 URI is passed forward. ResultPath and ResultSelector allow controlled shaping of state input/output while preserving sequential execution. This maintains observability, supports the ReAct pattern, and avoids hitting the 256 KB payload limit without introducing additional infrastructure complexity.

🔴 Incorrect Options:

A. DynamoDB storage with Map state retrieval
This introduces unnecessary complexity and higher operational overhead. DynamoDB is not optimized for large sequential artifact storage like reasoning traces. Using a Map state also adds orchestration overhead and breaks the simple sequential ReAct flow. It increases read/write costs and latency without improving Step Functions payload handling efficiency.

C. Lambda compression/decompression
This approach adds unnecessary compute overhead and operational complexity. Compressing and decompressing every state increases latency, introduces failure points, and complicates debugging. It also does not align with AWS best practices for handling large Step Functions payloads, which recommend external storage instead of transformation within execution.

D. Multiple state machines + EventBridge coordination
This significantly increases architectural complexity and operational overhead. Splitting a single sequential ReAct workflow into multiple state machines reduces observability and makes debugging harder. EventBridge coordination introduces additional latency and failure domains, and still does not address the core issue as cleanly as S3 reference passing.

🔧 Reference:
→ AWS Step Functions service quotas
Explains the 256 KB payload limit and recommends using external storage like Amazon S3 for large data transfers between states.

→ AWS Discover service integration patterns in Step Functions
Describes how Step Functions can pass S3 references between states using input/output processing fields like ResultPath.
Question 30 Choose 1
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?
Show answerHide answer

Correct answer: 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.

Explanation

Explanation:

This question tests your ability to design an automated, scalable model evaluation architecture for generative AI applications. The goal is to detect language-based performance drift and inconsistent responses in parallel across thousands of test cases, while integrating automated quality gates directly into a CI/CD pipeline.

✅ Correct Option:

Option D
This option efficiently meets all performance and automation requirements. Amazon Bedrock model evaluation jobs are fully managed, highly parallelizable, and capable of executing 15,000+ test conversations well within the 45-minute window. By defining identical-meaning multilingual datasets and establishing strict similarity and hallucination thresholds, the pipeline can programmatically evaluate outputs and block deployment if quality gates fail.

❌ Incorrect options:

Option A
This solution designs a load testing and traffic simulation framework focused on infrastructure and performance metrics like latency, concurrency, and throughput. While it helps identify physical resource bottlenecks, it does not evaluate model output quality, semantic consistency, or language-specific response accuracy across updates.

Option B
Deploying the application globally via Route 53 and Global Accelerator improves localized network performance and availability, but fails to solve the underlying problem. Relying on weekly post-deployment audits creates a lagging feedback loop that allows low-quality or hallucinated responses to reach production users instead of blocking them during building.

Option C
Normalizing input formats via a pre-processing pipeline does not prevent an upgraded foundation model from producing inconsistent or varying translations across languages. Relying strictly on rule-based checks is highly brittle for generative outputs and fails to scale dynamically across 15,000 parallel test conversations within a fast CI/CD pipeline.

🔧 Reference:
→ Learn about automated evaluation setups and quality assessment in Model evaluation.

→ Review dataset formatting and benchmarking metrics using Creating a model evaluation job.

That's the last free question

You've seen the free 30% (30 of 103 questions). Full access unlocks every question and full-length AIP-C01 mock exams, a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the AIP-C01 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AIP-C01 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AIP-C01 mock exam
  • —questions per mock
  • —time limit
  • 103questions in the bank
  • Newmock on every attempt