A full AWS Certified Generative AI Developer - Professional mock exam: 75 questions in 180 minutes, scored against the real exam's pass mark. Your first one is free.
Think first How would you design, prove and roll out a GenAI solution on AWS before trusting it with real production traffic?
Why it matters: Questions describe a business need and ask which Bedrock or SageMaker AI building block, test or rollout choice fits it.
Start small: an agent can be created with only a name, and a flow needs one input node and at least one output node. Compare a new variant in a shadow test that returns no responses. Then shift traffic while CloudWatch alarms watch the green fleet during a baking period.
Reported, thanks
Step 2 of 10
Term
Meaning
Shadow variant
A model variant that gets a copy of some production requests but sends no responses back.
Baking period
The set time CloudWatch alarms watch the green fleet before SageMaker AI finishes a rollout.
Collector node
A flow node placed after an iterator node that returns the outputs as an array.
Embedding model type
A managed knowledge base setting, MANAGED or CUSTOM; it is MANAGED when omitted.
Reported, thanks
Step 3 of 10
An agent can be created with only a name. Prepared with no action groups or knowledge bases, it answers from the FM, its instructions and the base prompt templates. For cross-Region inference, put an inference profile ID in the foundationModel field.
Exam trap An agent does not keep a conversation forever. By default it drops the history after 30 minutes with no reply from the user.
Reported, thanks
Step 4 of 10
A flow has exactly one input node and at least one output node. Console-created flows start with a single prompt node. In a condition node, every condition, the default one included, must link to a downstream node. After an iterator node, add a collector node to gather the results.
Exam trap Deleting nodes does not shrink an automatically created service role. It gains permissions as you add nodes, but keeps them when nodes are removed.
Reported, thanks
Step 5 of 10
The embedding model type is fixed when the knowledge base is created. Moving from managed to custom embedding, or back, takes a new knowledge base. So decide during design, not after launch.
Managed and custom embedding in a managed knowledge base
Feature
MANAGED
CUSTOM
When it applies
Default when embeddingModelType is omitted
Only when you set it explicitly
Model fields
Leave out embeddingModelArn and embeddingModelConfiguration
Both embeddingModelArn and embeddingModelConfiguration required
Model setup
Service-managed; no selection or configuration
1024 dimensions and float32 data type
Managed reranker
Available
Not available
Exam trap A managed knowledge base is queried with managedSearchConfiguration in the Retrieve API. vectorSearchConfiguration is meant for custom knowledge bases only.
Reported, thanks
Step 6 of 10
A shadow test compares a shadow variant with the production variant. The shadow variant gets a replicated share of requests but returns nothing to callers. Each endpoint allows at most one shadow variant. A test runs 7 days by default and 30 days at most.
Exam trap Shadow tests are not for every endpoint. Serverless inference, asynchronous inference and multi-model endpoints cause validation errors.
Reported, thanks
Step 7 of 10
SageMaker AI updates models with blue/green or rolling deployments. Deployment guardrails cover only asynchronous and real-time inference endpoints. Canary shifting moves traffic in two steps; linear shifting uses n evenly spaced steps.
All at once and canary traffic shifting compared
Feature
All at once
Canary
First shift
All traffic moves to the green fleet
One small portion moves to the green fleet
During the baking period
CloudWatch alarms watch the green fleet
The canary on the green fleet is monitored
Afterwards
Blue fleet terminated if no alarm trips
Rest of the traffic shifts, then the blue fleet ends
Reported, thanks
Step 8 of 10
JumpStart solutions are one-click, end-to-end starting points. They target common machine learning use cases. They are available only in Studio Classic, so check where your team works first.
Reported, thanks
Step 9 of 10
Keep a hold-out test set for the final best prompt only. Checking only at the end shows whether prompt changes generalize to unseen data. For simple tasks such as text classification, 3 to 5 few-shot examples can be enough.
Reported, thanks
Step 10 of 10
A flow needs exactly one input node, and every condition in a condition node needs a downstream link.
Choose managed or custom embedding up front; changing it means a new knowledge base.
A shadow variant sees replicated traffic but answers no one, and an endpoint gets only one.
Canary and all at once shifting both end the blue fleet only after a clean baking period.
Think first How do you pick, run and later replace a foundation model on Bedrock without your application breaking along the way?
Why it matters: Questions describe a model's lifecycle stage, a hosting need or an outage risk and ask which configuration or action fits.
Every Bedrock model is Active, Legacy or End-of-Life (EOL). Legacy blocks new fine-tuning jobs, and you must migrate your code yourself before the EOL date. Plan for change: route across more Regions when your workload does not need one Region.
Reported, thanks
Step 2 of 11
Term
Meaning
Legacy state
The stage before EOL: new customers can't adopt the model, and new fine-tuning jobs are blocked.
Provisioned Throughput
Purchased dedicated compute with guaranteed throughput for steady performance and lower latency.
modelLifecycle
The response field of GetFoundationModel and ListFoundationModels that shows a model's state.
Public extended access
A late part of the Legacy period where active users keep the model at higher provider pricing.
Inference profile
A resource with its own ARN that you reach a model through; cross-Region ones, such as US or EU, route requests across more Regions.
Reported, thanks
Step 3 of 11
Every Bedrock model is Active, Legacy or End-of-Life (EOL). A model stays on Bedrock for at least 12 months after launch before its EOL date. States can differ by Region, so call GetFoundationModel or ListFoundationModels in the Region you use.
Exam trap Dates a provider such as Anthropic or Cohere publishes do not govern Bedrock. Only the dates on the Bedrock model card apply.
Reported, thanks
Step 4 of 11
Legacy stops new customers and new fine-tuning jobs. Most models stay in Legacy for 6 months; the other Legacy period is 45 days. Existing customers may lose access after 15 days without use.
Actions on a base model before and during Legacy
Action
Active
Legacy
New customers adopt the model
Allowed
Not allowed
New Provisioned Throughput
Allowed
Not allowed
New fine-tuning jobs
Allowed
Not allowed
New on-demand deployment of a model customized earlier
Allowed
Still allowed
Reported, thanks
Step 5 of 11
After EOL, the model leaves every Region and its requests fail. Only a private arrangement with the provider keeps access. Migration never happens on its own: update your application code to the newer model before the EOL date.
Exam trap Do not count on an inference profile to move you to a successor. A successor may simply be missing from that same inference profile.
Reported, thanks
Step 6 of 11
Late in Legacy, active users can stay on at a higher price. This rule covers models whose EOL date falls after February 1, 2026. After at least 3 months in Legacy, public extended access begins, and the provider sets the higher pricing.
Reported, thanks
Step 7 of 11
On-demand bills per use; Provisioned Throughput buys dedicated capacity. Invoke an on-demand custom model with the ARN of its custom model deployment. Customized Nova models are registered in SageMaker AI Model Registry and deploy as Bedrock imported models. Customized open weight models go to SageMaker AI Inference endpoints.
On-demand and Provisioned Throughput for custom models
Without customizationType, the job defaults to FINE_TUNING. The base model can be a foundation model or a model you already fine-tuned or distilled. Training and validation loss for each epoch land in separate files in your output location.
Exam trap Adding a VPC configuration has a side effect. The console can no longer create a new service role for that customization job.
Reported, thanks
Step 9 of 11
In-Region inference keeps processing in one Region for data residency. Workloads without that need can use global or geographic profiles, such as US or EU, which spread requests across more Regions. The exam guide pairs resilience with Step Functions circuit breakers and graceful degradation. It pairs model switching without code changes with Lambda, API Gateway and AppConfig.
Reported, thanks
Step 10 of 11
An automatic evaluation job can test an inference profile. In the API, put the profile's ARN in modelIdentifier. A human-based job compares up to two inference sources, which need not be the same type. Outside the console it also needs a SageMaker AI flow definition ARN.
Reported, thanks
Step 11 of 11
Legacy blocks new customers, new Provisioned Throughput and new fine-tuning jobs.
After EOL, requests fail in all Regions, and you must migrate your code yourself beforehand.
A model stays at least 12 months after launch, and only the Bedrock model card dates count.
Choose in-Region inference for data residency and cross-Region profiles for wider routing.
Think first What has to happen to text, audio, images and tables before a foundation model can use them reliably?
Why it matters: Questions describe messy or mixed input data and ask which validation, processing or formatting step makes it fit for the model.
Good answers start with good input. Validate data and watch it for drift. Process each data type with the right service, then send it in the format the model expects.
Reported, thanks
Step 2 of 11
Term
Meaning
Inference pipeline
A SageMaker AI model built from a linear chain of containers that process each request in turn.
Data capture
Stores inference input and output from a real-time endpoint or batch transform job in Amazon S3.
Baseline
Schema constraints and statistics for each feature, computed with Deequ on Apache Spark.
Model invocation type
The batch inference input format choice: InvokeModel by default, or Converse.
SageMaker Clarify job
A SageMaker processing job that reads an input dataset and sends requests to a model endpoint, set up in an analysis configuration.
Reported, thanks
Step 3 of 11
Check data quality before any FM sees it. For validation, the exam guide names Lambda functions, CloudWatch metrics, AWS Glue Data Quality and SageMaker Data Wrangler. To lift input quality, reformat text with Bedrock, extract entities with Comprehend and normalize data with Lambda.
Reported, thanks
Step 4 of 11
Model Monitor applies rules to spot data drift and alert you. Data capture saves endpoint or batch transform traffic to S3. A baseline job computes schema constraints and statistics for each feature with Deequ.
Exam trap Model Monitor computes metrics and statistics on tabular data only, so it does not profile raw text or images. It is also closed to new customers.
Reported, thanks
Step 5 of 11
An inference pipeline chains 2 to 15 containers in a line. Each container's response becomes the next one's request, and the client gets the final response. All containers run on every instance, so feature processing stays fast. Spark ML Serving and scikit-learn containers can reuse your training transformers.
Exam trap You cannot edit a deployed pipeline model in place, because it is immutable. Deploy a new pipeline with the UpdateEndpoint operation instead.
Reported, thanks
Step 6 of 11
Bedrock Data Automation labels, splits and screens audio. For mixed data types, the exam guide also lists Bedrock multimodal models, SageMaker Processing and Transcribe.
Bedrock Data Automation audio features
Feature
What you get
Limit or default
Speaker labels
spk_ plus a unique number
Up to 30 speakers
Channel labels
First channel is ch_0
Up to two channels
Topic summary
Timestamped topics, each summarized
Not enabled by default
Content moderation
Voice-based toxic content classified
Seven categories
Reported, thanks
Step 7 of 11
Batch inference reads every JSONL and content file at the S3 location. The location can be a folder or a single JSONL file. The timeoutDurationInHours field defaults to 24 hours and accepts 24 to 168.
Exam trap The default invocation type, InvokeModel, expects model-specific request formats. If your records use the Converse API format, choose Converse instead.
Reported, thanks
Step 8 of 11
With the OpenAI SDK, point requests at the Bedrock endpoint. Do not use the OpenAI endpoint. Closed-weight OpenAI GPT models also need a system-defined inference profile in the request, not the foundation model ID.
Reported, thanks
Step 9 of 11
Dataset, request and response formats are set separately. They do not have to match. A Parquet dataset can pair with CSV requests and JSON Lines responses.
SageMaker Clarify format parameters
Parameter
Sets the format of
Image data note
dataset_type
The input dataset
Set to application/x-image
content_type
Requests to the endpoint
Decides the file format; image/jpeg if omitted
accept_type
Responses from the endpoint
Can differ from the request format
Reported, thanks
Step 10 of 11
Check requests and responses on a real-time endpoint first. If the container supports batch requests, start with one record, then try two or more. With AWS CLI v2, add --cli-binary-format raw-in-base64-out; with v1, leave it blank.
Reported, thanks
Step 11 of 11
An inference pipeline runs 2 to 15 co-located containers and costs nothing beyond its instances.
Bedrock batch inference defaults to InvokeModel and a 24-hour timeout.
Model Monitor uses rules to detect data drift, and it computes statistics on tabular data only.
In Clarify, dataset_type, content_type and accept_type can each use a different format.
Think first How do metadata, search settings and tool discovery decide whether a model finds the right context quickly?
Why it matters: Questions describe a retrieval or search need and ask which metadata, search setting or integration choice delivers it.
Retrieval is only as precise as what you can search on. Rich metadata narrows Feature Store searches, semantic search picks the right gateway tool, and a lean agent design cuts LLM calls and latency.
Reported, thanks
Step 2 of 10
Term
Meaning
Feature parameter
A searchable key-value pair attached to a Feature Store feature; up to 25 per feature.
Discoverable feature group
A feature group another account shared and made discoverable, so your searches can find it.
Gateway semantic search
AgentCore gateway search that finds the best tools with a natural language query.
TSTALIASID
The agent alias used in an InvokeAgent request to test a prepared Bedrock agent.
Reported, thanks
Step 3 of 10
Give each feature a description and searchable parameters. A description holds up to 255 characters, and a feature takes up to 25 parameters. First confirm with DescribeFeatureGroup that the group status is Created. Update with the console or UpdateFeatureMetadata, then check with DescribeFeatureMetadata.
Exam trap A console search on a parameter needs both its key and its value. The key alone is not enough.
Reported, thanks
Step 4 of 10
You can search all features without choosing a feature group first. Use the console or the Search operation. When a Search expression has several filters, they combine with And unless you set the operator yourself.
Exam trap The feature group name field, FeatureGroupName, is not searchable in the console, so search on other fields there.
Reported, thanks
Step 5 of 10
Search finds shared groups only when they are discoverable to you. Otherwise a group must be in your own Region and account. On shared groups, tags are not searchable, and editing needs permission from the owner account.
Your own and shared feature groups in Feature Store search
Feature
Your own groups
Shared, discoverable groups
Found by search
Yes, in your Region and account
Yes, once shared and made discoverable
Tags searchable
Yes
No
Edit metadata or definitions
Yes
Only with access permission from the owner account
Reported, thanks
Step 6 of 10
Gateway semantic search helps when you have many tools. Turn it on in create_gateway by setting searchType to SEMANTIC under protocolConfiguration.mcp. Then call the x_amz_bedrock_agentcore_search tool through a POST tools/call request to the gateway's MCP endpoint.
Exam trap Semantic search is a create-time setting, not an option of the search tool. If you enabled it when creating the gateway, you can call x_amz_bedrock_agentcore_search.
Reported, thanks
Step 7 of 10
Gateway latency depends mostly on the tools behind it. Keep Lambda functions in the gateway's Region and give latency-sensitive ones provisioned concurrency. The gateway also accepts only the MCP protocol versions listed in supportedVersions.
Reported, thanks
Step 8 of 10
An agent with one knowledge base and no active action groups can skip LLM calls. When those conditions hold, the service lowers the LLM calls each request needs. Apply changes with PrepareAgent, then test with InvokeAgent and the TSTALIASID alias.
Exam trap Overriding the default orchestration prompt template sends the agent back to the standard flow, which may add LLM calls and latency. Reverting deletes your custom template.
Reported, thanks
Step 9 of 10
Studio and notebook instances allow direct internet access by default. Launch them in a VPC to restrict which traffic reaches the internet. Feature Store example notebooks need the AmazonSageMakerFeatureStoreAccess policy on the execution role. Sharing with the AWS RAM Python SDK needs the AWS RAM full access policy.
Reported, thanks
Step 10 of 10
A feature takes a description of up to 255 characters and up to 25 searchable parameters.
Tags are searchable only on your own feature groups, not on discoverable ones.
Enable gateway semantic search at creation, then query tools in natural language.
Overriding the default orchestration template may add LLM calls and latency.
Think first When a model needs outside context, how do you decide what to retrieve, from where, and how much of it?
Why it matters: Questions describe a retrieval goal and ask which chunking, search, query or Web Search setting improves the results.
Retrieval quality is set before the model answers. Split documents sensibly, search with keywords and vectors, then shape queries. When fresh facts are needed, Web Search lets the model look things up within the domain filters you set.
Reported, thanks
Step 2 of 11
Term
Meaning
Hybrid search
A search architecture that combines keyword matching and vectors to improve relevance.
search_context_size
The Web Search setting that sets how many observations the model may use; medium by default.
external_web_access
The Web Search setting that decides whether retrieval may leave the AWS boundary; true by default.
MCP
Model Context Protocol: the standard whose clients run vector queries and whose endpoint a gateway exposes.
x_amz_bedrock_agentcore_search
The AgentCore gateway tool that finds gateway tools from a natural language query.
Reported, thanks
Step 3 of 11
How you chunk documents shapes retrieval performance. The exam guide names Bedrock chunking capabilities, Lambda for fixed-size chunking and custom hierarchical chunking that follows content structure. For embeddings, pick Titan models by dimensionality and domain fit, and batch-generate vectors with Lambda.
Reported, thanks
Step 4 of 11
Hybrid search mixes keywords with vectors for better relevance. Bedrock reranker models and OpenSearch Service vector search also appear in the exam guide. For queries, it pairs expansion with Bedrock, decomposition with Lambda and transformation with Step Functions.
Reported, thanks
Step 5 of 11
Put a web_search tool in the request's tools array. The model then decides whether a request needs current information. If the first results fall short, it can rewrite its query and search again in the same turn.
Exam trap Web Search runs server-side, so calls to the Responses API on the bedrock-runtime endpoint cannot use it.
Reported, thanks
Step 6 of 11
search_context_size sets an observation budget, medium by default. Larger budgets add context but can use more input tokens.
Two search_context_size settings compared
Setting
Observation budget
Best for
medium (default)
Up to 11
Balancing coverage and input-token use
high
Up to 25
Complex or multi-hop questions
Exam trapsearch_context_size does not cap how many Search calls the model makes. It only budgets the observations.
Reported, thanks
Step 7 of 11
The filters parameter takes up to 100 allowed and 100 blocked domains. Leave the protocol prefix off each domain. Every entry also covers its subdomains, so aws.amazon.com includes docs.aws.amazon.com.
Reported, thanks
Step 8 of 11
Set external_web_access to false to keep retrieval within AWS. Cached page content is still allowed. The default is true, matching the OpenAI Responses API so existing calls need no change.
Reported, thanks
Step 9 of 11
Gateway semantic search finds the right tool among many. Enable it at creation with searchType set to SEMANTIC. Then send a POST tools/call request to the gateway's MCP endpoint. Clear parameter descriptions and required fields help agents call tools correctly.
Exam trap A gateway rejects MCP protocol versions missing from supportedVersions in protocolConfiguration.mcp.
Reported, thanks
Step 10 of 11
One knowledge base and no active action groups can mean fewer LLM calls. The agent must also keep the default orchestration template and not ask the user for more information. Confirm with ListAgentKnowledgeBases that one summary returns. Apply changes with PrepareAgent and test with the TSTALIASID alias.
Exam trap Setting promptCreationMode to DEFAULT through UpdateAgent deletes your custom template. Save it from basePromptTemplate first.
Reported, thanks
Step 11 of 11
Enable Web Search with a web_search tool; the model decides when to use it.
Medium allows up to 11 observations and high up to 25, with no cap on Search calls.
Domain filters match subdomains and go without a URL prefix.
For lower gateway latency, keep Lambda functions in the gateway's Region with provisioned concurrency.
The exam guide lists function calling and MCP clients as consistent ways to reach vector search.
Think first How do you write, manage and keep improving prompts so a model behaves the same way every time?
Why it matters: Questions describe a prompt that misbehaves or needs control and ask which technique, setting or Bedrock feature fixes it.
A prompt is a managed asset, not a one-off string. Structure it carefully, give it examples and context, store it with variables and versions, and prove each change on unseen hold-out data.
Reported, thanks
Step 2 of 11
Term
Meaning
Few-shot prompting
Giving the model paired example inputs and desired outputs; also called in-context learning.
Prompt variable
A placeholder in double curly braces that is filled in when the prompt is called.
Prompt variant
An alternative version of a prompt compared side by side during testing.
Hold-out test set
Sample data kept unseen and used only to verify the final best prompt.
Payload referencing
Prompt compression for multi-agent collaboration that cuts the primary agent's output tokens.
Reported, thanks
Step 3 of 11
Put the task or question at the end of the prompt. For classification, list the answer choices at the end too. Give a default output for when the model is unsure, so low-confidence answers do not sound right. Temperature runs from 0 to 1; lower values give more deterministic responses.
Reported, thanks
Step 4 of 11
Examples help the model match the output you expect. For text classification, 3 to 5 examples can suffice; harder tasks, such as answering without context, need more. With Claude models, wrap examples in example tags. With Titan, asking it to think step-by-step can help on complex tasks.
Reported, thanks
Step 5 of 11
Models called through the API do not remember earlier requests. Include the earlier exchange in the current prompt. For models that support the Converse API, a managed prompt can hold a system prompt plus past user and assistant messages.
Exam trap An agent session does not last forever. Reusing the session ID keeps it going only while idleSessionTTLInSeconds has not expired.
Reported, thanks
Step 6 of 11
Managed prompts use variables such as {{variable}} to fit many use cases. CreatePrompt returns an ID and ARN and starts a DRAFT version. Every prompt supports maxTokens, stopSequences, temperature and topP. You connect a prompt to your application through Bedrock Flows.
Exam trap Prompt caching needs the CHAT template type, and CHAT works only with models that support the Converse API. A TEXT prompt cannot use caching.
Reported, thanks
Step 7 of 11
Save versions while you iterate; numbering starts at 1. CreatePromptVersion returns an ID and ARN for each version. When testing, compare up to three variants and keep the one whose outputs suit your use case best.
Reported, thanks
Step 8 of 11
OptimizePrompt tunes a prompt for the model named in targetModelId. Simple optimization works best for prompts of about 1k tokens or less. To cut hallucinations, refine the prompt, add relevant data with RAG or try another model.
Exam trap Simple prompt optimization uses no evaluation data and cannot target several models at once.
Reported, thanks
Step 9 of 11
Divide sample data into development and hold-out test subsets. Try prompt changes on the development set and watch how responses shift. Touch the test set only once, to confirm the final best prompt generalizes.
Reported, thanks
Step 10 of 11
Turn on the trace to see an agent's step-by-step process. In advanced prompts, pre-processing is disabled by default for all supported models. One parser Lambda function can serve every base template, with invocation set per step. Payload referencing is on by default for the primary agent.
Exam trap Disabling the orchestration step skips its template entirely. The agent passes raw user input straight to the foundation model.
Reported, thanks
Step 11 of 11
Place the task and any answer choices at the end of the prompt.
API calls are stateless: include earlier turns in the prompt to keep context.
Prompt caching needs the CHAT template, which needs a Converse API model.
Use the hold-out test set only to verify the final prompt.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 1 quiz
23 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Thank you. It goes straight to the people who write these notes.
Test yourself in exam conditions
A full AWS Certified Generative AI Developer - Professional mock exam: 75 questions in 180 minutes, scored against the real exam's pass mark. Your first one is free.
Free to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.