AWS Certified Generative AI Developer - Professional Exam-style mock test
AWS Certified Generative AI Developer Professional Practice Exams|Practice test
Full explanations
Exam format
Pass line 75%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Generative AI Fundamentals & Amazon Bedrock
A B2B SaaS company builds an email-drafting feature on a foundation model and plans to add contract summarization later. An engineer asks why one foundation model can serve both features without separate training runs. Which characteristic of foundation models best explains this capability?
✓They are trained on vast unlabeled data and then adapted to many downstream tasks through prompting or lightweight tuning.
Correct. Foundation models are pretrained on large-scale unlabeled corpora, giving broad general capabilities that can be adapted to diverse downstream tasks via prompting, few-shot examples, or lightweight fine-tuning.
・They are compiled into task-specific binaries that the inference runtime selects automatically based on the user request.
Incorrect. Foundation models are not compiled into per-task binaries; a single set of weights generalizes across tasks without separate compiled artifacts.
・They store a labeled dataset for every possible task and retrieve the closest matching dataset for each new request.
Incorrect. They do not store per-task labeled datasets for retrieval; their generalization comes from pretrained parameters, not a dataset lookup table.
・They include a built-in orchestration layer that routes each prompt to a separately trained small model per feature.
Incorrect. There is no internal mechanism routing each prompt to a distinct small model per feature; the same model handles varied tasks through its learned representations.
Explanation
A core property of foundation models is broad pretraining on unlabeled data followed by adaptation to many tasks, which is why a single model can serve multiple features.
Example2 · Prompt Engineering & Model Selection
A B2B SaaS company builds an invoice-parsing assistant on Amazon Bedrock. The model must extract vendor, total, and due date, but it occasionally guesses values when a field is missing from the document. Which prompt engineering technique most directly reduces these fabricated field values?
・Lower the temperature to 0 and raise top_p so the model samples from a broader distribution of likely completions
Incorrect. Temperature 0 helps determinism, but raising top_p widens sampling and works against reducing fabrication, so this combination is self-defeating.
✓Instruct the model to return null for any field that is not explicitly present and to never infer missing values
Correct. Explicitly instructing the model to emit null for absent fields and forbidding inference removes the pressure to guess, directly cutting fabricated values.
・Add three fully worked few-shot examples that each demonstrate a different invoice layout and vendor format
Incorrect. Few-shot examples improve formatting and layout handling but do not by themselves stop the model from guessing when a field is genuinely absent.
・Increase the max token limit so the model has enough room to reason through every field before answering
Incorrect. A larger token budget gives more room to write but does nothing to discourage inventing values for fields that are missing from the source.
Explanation
Fabrication of absent fields is best addressed by an explicit instruction to return null and not infer, which removes the incentive to guess rather than tuning sampling or token limits.
Example3 · Retrieval-Augmented Generation & Knowledge Bases
A B2B SaaS company ingests long product manuals into an Amazon Bedrock knowledge base. Retrieval frequently returns fragments that cut off mid-sentence and lose the surrounding context, so the model answers incompletely. The team wants chunks that stay within token limits while preserving enough neighboring context for coherent answers. Which chunking approach should they configure?
・Disable chunking entirely so each full document is stored as one vector, letting the embedding model capture the complete semantic meaning of the manual at once
Incorrect. Storing a whole long manual as a single vector dilutes semantic meaning and usually exceeds embedding token limits, degrading retrieval quality.
・Use fixed-size chunking with a small token count and no overlap so every chunk is uniform and the index stays as compact as possible for faster search
Incorrect. Small fixed chunks with zero overlap maximize the mid-sentence truncation and lost-context problem the team is already experiencing.
✓Apply fixed-size chunking with a reasonable token size and an overlap percentage so consecutive chunks share boundary text and context is preserved
Correct. Fixed-size chunking with overlap keeps chunks within token limits while sharing boundary text between neighbors, preserving context and reducing truncated answers.
・Switch the embedding model to a larger dimensionality so each vector encodes more of the document and chunk boundaries no longer matter for retrieval
Incorrect. Embedding dimensionality controls vector richness, not how source text is split; boundaries still determine what context each chunk carries.
Explanation
Chunk size caps token usage and overlap carries context across chunk boundaries, directly addressing truncated, context-poor retrievals. Dimensionality and single-vector storage do not solve boundary context loss.
Example4 · Agents, Orchestration & Tool Use
A healthcare services firm builds an Amazon Bedrock agent that lets staff look up a patient's upcoming appointments through a Lambda-backed scheduling service. The developer must declare which operations the agent can call and what parameters each needs. Which configuration lets the agent discover and invoke the scheduling operation correctly?
・Place the scheduling logic in the agent's foundation model prompt and let the model format the REST call from its own training data about the API
Incorrect. The model cannot reliably reconstruct a private internal API from training data, and this bypasses the structured action-group contract agents require.
✓Create an action group whose OpenAPI schema defines the operation, its parameters, and the Lambda function that executes the appointment lookup
Correct. An action group ties an OpenAPI schema (operations and parameters) to a Lambda executor, which is exactly how a Bedrock agent discovers and calls a backend tool.
・Add the scheduling service URL to the agent's knowledge base so retrieval returns the endpoint during each conversation turn
Incorrect. Knowledge bases supply retrieved text for grounding, not executable tool definitions, so the agent still could not invoke the operation.
・Configure a guardrail that pattern-matches appointment keywords and forwards the raw user text directly to the scheduling Lambda
Incorrect. Guardrails filter and block content; they do not define callable operations or route structured parameters to a tool.
Explanation
Agents expose backend tools through action groups, which bind an API schema (operations plus typed parameters) to a Lambda function that performs the work.
Example5 · Security, Responsible AI, Evaluation & Deployment
A healthcare services firm runs a patient-facing symptom chatbot built on Amazon Bedrock. Leadership requires that the assistant never provides a definitive medical diagnosis or recommends specific prescription dosages, regardless of how the model is prompted. Which approach most directly enforces this requirement across every response?
✓Configure an Amazon Bedrock Guardrail with denied topics for diagnosis and dosage, and attach it to the model invocations
Correct. Bedrock Guardrails with denied topics are evaluated independently of the prompt, so diagnosis and dosage content is blocked on every invocation regardless of user manipulation.
・Add a system prompt instruction telling the model it must refuse to diagnose conditions or suggest dosages to any user
Incorrect. System prompt instructions can be overridden through jailbreak or adversarial prompting, so they cannot reliably enforce the requirement on every response.
・Fine-tune the base model on a curated dataset of safe clinical conversations that avoid diagnoses and dosages entirely
Incorrect. Fine-tuning shifts default behavior but does not guarantee blocking, since a determined or crafted prompt can still elicit a diagnosis from the model.
・Lower the model temperature so that its generated responses stay deterministic and avoid unpredictable clinical claims
Incorrect. Temperature only affects randomness of token selection and has no bearing on whether the model discusses diagnoses or dosages.
Explanation
Guardrails apply policy-based filtering outside the model's generation logic, making them the reliable enforcement layer for prohibited topics; prompt- and training-based controls can be bypassed.
Example6 · Generative AI Fundamentals & Amazon Bedrock
A healthcare services firm wants to summarize long clinical discharge notes into short patient-friendly paragraphs using Amazon Bedrock. The team needs a managed model that handles long input context and produces coherent summaries without hosting any infrastructure. Which approach best fits this requirement?
・Provision a GPU cluster and fine-tune an open-source model so the firm fully controls the serving stack and can scale the discharge-note summarization endpoint on its own hardware
Incorrect. Self-managing a GPU cluster and fine-tuning adds heavy operational overhead and contradicts the stated requirement to avoid hosting infrastructure.
✓Invoke a text foundation model with a large context window through the Bedrock InvokeModel API
Correct. Calling a Bedrock text foundation model with a large context window via InvokeModel is fully managed and natively supports summarizing long documents.
・Deploy a custom summarization container to Amazon ECS and route discharge notes through an internal load balancer for processing
Incorrect. Building and deploying a custom container on ECS means the firm operates its own serving infrastructure, which the scenario explicitly wants to avoid.
・Use Amazon Comprehend entity detection to extract medical terms and then concatenate the detected entities together as the summary text
Incorrect. Comprehend detects entities but does not generate fluent patient-friendly summaries, and concatenating entities produces disjointed text, not coherent paragraphs.
Explanation
Bedrock provides managed foundation models accessed through InvokeModel, and a model with a large context window suits long clinical notes while removing all infrastructure management.
Example7 · Generative AI Fundamentals & Amazon Bedrock
UrbanThread, an online apparel retailer, is briefing its engineering team on why it chose a foundation model approach over building a classic supervised classifier for product description generation. Which statement best characterizes how a foundation model differs from a traditional task-specific ML model in this context?
✓A foundation model is pretrained on broad data and adapts to many downstream tasks through prompting or light tuning, unlike a narrow model trained for one labeled task
Correct. Foundation models are pretrained on large, broad corpora and generalize to many downstream tasks via prompting, few-shot examples, or light fine-tuning, unlike single-purpose supervised models.
・A foundation model requires a fully labeled dataset for every single product category before it can generate any usable description for the catalog
Incorrect. A key advantage of foundation models is that they work from broad pretraining and do not require a fully labeled dataset per category to produce output.
・A foundation model can only perform classification and regression, so it cannot be used for open-ended text generation tasks like descriptions
Incorrect. Generative foundation models are specifically capable of open-ended generation such as writing product descriptions, not limited to classification and regression.
・A foundation model must be retrained from scratch whenever UrbanThread adds a new product line to its storefront
Incorrect. Foundation models adapt through prompting or light tuning; adding a product line does not require retraining the base model from scratch.
Explanation
Foundation models are broadly pretrained and reusable across tasks, which is why UrbanThread chose one over a narrow, task-specific classifier.
Example8 · Generative AI Fundamentals & Amazon Bedrock
UrbanThread wants a single managed way to call multiple foundation models from different providers without hosting any infrastructure, and to switch models by changing a model ID. Which statement best describes how Amazon Bedrock serves this need?
・Bedrock provisions dedicated GPU clusters that the retailer must patch, scale, and manage directly before any model can be invoked at runtime
Incorrect. Bedrock is serverless; the retailer does not provision, patch, or scale GPU clusters to invoke models.
・Bedrock requires each provider's model weights to be downloaded into the retailer's own VPC and served from self-managed containers
Incorrect. Model weights are not downloaded into the customer VPC; models are accessed through Bedrock's managed API.
✓Bedrock is a fully managed service offering access to multiple foundation models through a unified serverless API with no infrastructure to manage
Correct. Amazon Bedrock is a fully managed, serverless service that provides access to multiple foundation models from several providers through a unified API.
・Bedrock only exposes a single Amazon-built model, so the retailer cannot compare outputs across different model providers
Incorrect. Bedrock exposes models from multiple providers, enabling comparison across different model families.
Explanation
Amazon Bedrock offers unified, serverless access to many providers' foundation models, matching UrbanThread's goal of no infrastructure and easy model switching.
Example9 · Generative AI Fundamentals & Amazon Bedrock
UrbanThread needs to generate on-brand lifestyle images for seasonal campaigns directly from text prompts describing outfits. The team is choosing among Bedrock model categories. Which selection best matches this requirement?
・An embedding model, because it converts the campaign text prompts into dense vectors that the storefront renders as finished marketing images
Incorrect. Embedding models produce vectors for search and similarity, not rendered images from prompts.
✓A text-to-image foundation model, since it generates campaign imagery from the natural-language outfit descriptions the team provides
Correct. A text-to-image foundation model is purpose-built to generate images from natural-language prompts, which fits generating campaign visuals from outfit descriptions.
・A large language model used only for chat, because conversational models are the standard way to produce high-resolution campaign photographs
Incorrect. Chat-oriented LLMs generate text, not photographic campaign images.
・A speech-to-text model, because transcription of the marketing brief is what ultimately produces the seasonal campaign visuals
Incorrect. Speech-to-text models transcribe audio and do not generate images.
Explanation
Generating images from text requires a text-to-image foundation model; embedding, chat, and transcription models serve other modalities.
Example10 · Generative AI Fundamentals & Amazon Bedrock
A financial services firm is building an internal assistant that must summarize long quarterly earnings transcripts and answer analyst questions grounded in those transcripts. The team wants to choose an Amazon Bedrock foundation model primarily on the capability that matters most for this workload. Which model characteristic should most strongly drive their selection?
✓The maximum context window the model supports for input tokens
Correct. Summarizing long earnings transcripts and answering questions grounded in them depends on fitting large amounts of source text into a single request, so a large context window is the decisive capability for this workload.
・The number of image resolutions the model is able to process per request
Incorrect. Image resolution handling is irrelevant to a text summarization and question-answering task over earnings transcripts, so it should not drive model selection here.
・The regional pricing tier offered under the provisioned throughput model
Incorrect. Regional pricing tiers affect cost planning but do not determine whether the model can handle long transcripts, so this is not the primary selection driver.
・The default temperature value configured when the model is first invoked
Incorrect. The default temperature influences output randomness and can be adjusted at invocation, so it is a tuning parameter rather than a capability that drives model choice.
Explanation
For summarizing and reasoning over lengthy documents, the supported context window length is the key capability, because it governs how much source material the model can consider at once.
Example11 · Generative AI Fundamentals & Amazon Bedrock
A developer at an investment bank notices that their Amazon Bedrock bill scales with the amount of text sent to and returned from the model, and they want to explain to compliance why costs vary per request. How should they describe what a token represents in this context?
✓A unit of text, often a word fragment, that the model processes and that is counted for both input and output
Correct. A token is a chunk of text such as a word or sub-word fragment, and Bedrock pricing counts input and output tokens, which explains why cost varies with the amount of text per request.
・A randomly generated security credential that authorizes each individual call made to the Bedrock runtime service
Incorrect. A token in this generative AI context is a unit of text for the model, not a security credential, so this confuses it with authentication concepts.
・A fixed-size block of exactly one thousand characters that Bedrock uses to segment every prompt before inference
Incorrect. Tokens are not fixed thousand-character blocks; tokenization splits text into variable-length word fragments, so this description is inaccurate.
・A cached embedding vector stored by Bedrock so repeated prompts are billed only one time per account
Incorrect. Tokens are not cached embedding vectors and repeated prompts are not billed only once, so this misrepresents both tokenization and pricing.
Explanation
Tokens are the sub-word units that models consume and generate, and Bedrock meters usage by input and output tokens, which is why request size drives cost.
Example12 · Generative AI Fundamentals & Amazon Bedrock
A manufacturing distributor wants to generate product descriptions, summarize supplier emails, and answer warehouse staff questions using one underlying model. The data science lead explains why a foundation model fits better than training separate traditional supervised models. Which characteristic of foundation models best supports this decision?
✓They are pretrained on broad data and can be adapted to many downstream tasks without task-specific training from scratch
Correct. Foundation models are pretrained on large, broad datasets and generalize across many tasks through prompting or lightweight adaptation, so one model can cover descriptions, summaries, and Q&A.
・They require a separately labeled dataset and a dedicated training pipeline for each individual business task
Incorrect. Needing a separate labeled dataset and pipeline per task describes traditional supervised ML, which is precisely what the distributor is trying to avoid.
・They operate only on structured tabular data and cannot process free-form natural language input from users
Incorrect. Foundation models excel at free-form natural language and are not limited to structured tabular inputs.
・They must be fully retrained end to end whenever the distributor adds a new product line to the catalog
Incorrect. Adding a product line typically needs prompting or retrieval context, not a full end-to-end retrain of the foundation model.
Explanation
Foundation models gain their value from broad pretraining and adaptability, letting one model serve multiple tasks without bespoke per-task training.
Example13 · Generative AI Fundamentals & Amazon Bedrock
A manufacturing distributor needs a generative AI feature that produces vector embeddings from thousands of SKU descriptions so similar parts can be matched in a semantic search index. A developer is choosing an Amazon Bedrock model for this specific step. Which choice is appropriate?
✓Use an Amazon Titan Text Embeddings model to convert each SKU description into a numeric vector representation
Correct. An embeddings model turns text into vectors, which is exactly what semantic similarity search over SKU descriptions requires.
・Use a text generation foundation model to write a fresh paragraph describing every SKU before indexing
Incorrect. A text generation model produces new prose but does not create the vector representations needed for similarity matching.
・Use an image generation model to render a product thumbnail that will be stored alongside each SKU record
Incorrect. Image generation creates pictures and has no role in converting text descriptions into search vectors.
・Use a speech transcription service to convert recorded SKU descriptions into plain text for the index
Incorrect. Speech transcription converts audio to text, but the SKU descriptions are already text and still need embedding.
Explanation
Semantic search depends on embeddings; a Titan Text Embeddings model is the right Bedrock choice for vectorizing SKU text.
Example14 · Generative AI Fundamentals & Amazon Bedrock
A telecom operator wants to build a feature in Amazon Bedrock that summarizes long technical fault tickets and also generates short customer-facing status messages. The team needs a single text model family that supports both long-context summarization and controllable short generation through the Bedrock API. Which selection approach best fits these requirements?
✓Pick a large language text model that supports a long context window and instruction prompting, then adjust prompts and inference parameters for each task.
Correct. A long-context instruction-following text model handles both summarization and short controllable generation, and inference parameters plus prompts tune each task.
・Pick a dedicated image generation model because it handles both textual summaries and the customer status messages in one endpoint.
Incorrect. Image generation models produce images, not the text summaries or customer status messages this telecom feature requires.
・Pick an embeddings model so the same vectors can produce both the ticket summaries and the customer-facing status text directly.
Incorrect. Embeddings models output numeric vectors for search and similarity; they cannot generate readable summaries or status text.
・Pick a speech-to-text transcription model and route its transcript output into the customer status generation step as the summary.
Incorrect. Transcription models convert audio to text and do not perform summarization or controlled text generation on their own.
Explanation
Matching the model modality and context capabilities to the task is the core skill; a long-context text model covers both summarization and short generation.
Example15 · Generative AI Fundamentals & Amazon Bedrock
A telecom operator's platform team is evaluating Amazon Bedrock to avoid managing model-serving infrastructure for several foundation models. A developer asks what Bedrock fundamentally provides beyond the models themselves. Which description best explains Bedrock's core value in this scenario?
・It automatically fine-tunes every available foundation model on the operator's ticket data before any inference request can be sent.
Incorrect. Bedrock does not automatically fine-tune all models; fine-tuning is an optional, explicit, and separate workflow.
・It requires the operator to provision and manage GPU clusters for each foundation model they intend to call from the application.
Incorrect. Avoiding GPU cluster management is precisely the burden Bedrock removes as a fully managed service.
✓It offers a single managed API to invoke multiple foundation models without the operator provisioning or operating the underlying serving infrastructure.
Correct. Bedrock exposes multiple foundation models through one managed API while AWS operates the serving infrastructure for the customer.
・It converts all foundation models into local containers that the operator deploys and scales inside their own on-premises data centers.
Incorrect. Bedrock is a managed cloud service; it does not export models as containers for on-premises deployment.
Explanation
Bedrock's defining trait is unified, serverless API access to many foundation models without infrastructure management.
▶ Try 10 free questions (graded)