Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 11 Total 161 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Content Domain 1: Foundation Model Integration, Data Management, and Compliance

Skill tested: Designs document ingestion, embedding generation, and vector retrieval for a Bedrock knowledge base.

A financial services team is building a Bedrock knowledge base over policy manuals stored in Amazon S3. The manuals are revised weekly, and the application must retrieve relevant passages without sending the full corpus to the foundation model on every request. The team wants managed ingestion and retrieval, while keeping the source documents under its control and choosing an embedding model supported by the knowledge base configuration. Which design best meets these requirements?

Correct Answer: C. Configure the S3 data source and a supported embedding model for the knowledge base, select a compatible vector store, and run ingestion when source content changes.
Explanation:

A Bedrock knowledge base can connect an S3 data source with an embedding model and compatible vector store, then ingest documents by parsing, chunking, embedding, and indexing them for retrieval. The team can trigger ingestion after source updates while retaining control of its source files. Sending every full manual with every request defeats retrieval augmentation and increases latency and token cost. An agent action group invokes tools; it does not replace knowledge-base ingestion. S3 object listing is not semantic vector search.

Question 2

New Multiple answers

Topic: Content Domain 1: Foundation Model Integration, Data Management, and Compliance

Skill tested: Selects RAG retrieval and generation settings that balance relevance, grounding, and response length.

A support assistant answers questions from a collection of product guides through a Bedrock knowledge base. Evaluation shows that many retrieved passages are only loosely related to the question, while answers sometimes omit relevant details because the prompt includes too little evidence. The response must remain grounded in retrieved content, and the team wants to improve retrieval without switching embedding models or altering source files. Which TWO changes are the best next steps? Select TWO.

Correct Answer: A. Review and tune chunking strategy and chunk size so retrieved units preserve useful context without becoming excessively broad.; C. Tune the number of retrieved results and use retrieval filters where appropriate to reduce irrelevant context.
Explanation:

Retrieval quality depends on which chunks are indexed and how many, and which are returned for a query. Tuning result count and applying meaningful metadata filters can reduce noise; reviewing chunk boundaries can preserve enough context for the model to answer accurately. Increasing output length does not improve evidence quality and can produce longer unsupported answers. Disabling retrieval conflicts with the grounding requirement. Lower temperature may reduce variation, but it does not fix poor retrieval or replace evaluation.

Question 3

New Single answer

Topic: Content Domain 1: Foundation Model Integration, Data Management, and Compliance

Skill tested: Configures a SageMaker-hosted foundation model as a component of a retrieval-augmented generation workflow.

A research organization has a foundation model deployed to a SageMaker real-time endpoint and must keep using it because the model is customized for its domain. It also needs answers grounded in a changing internal corpus, which is already indexed in a vector store. The application team wants to add retrieval while preserving the existing inference endpoint and avoiding a duplicate model deployment. Which architecture is most appropriate?

Correct Answer: C. Retrieve relevant passages from the vector store, construct a prompt containing the user question and passages, and invoke the existing SageMaker endpoint.
Explanation:

A RAG workflow can remain model-agnostic: retrieve relevant documents, assemble them with the question into the model's expected input format, and call the existing SageMaker endpoint. This preserves the customized deployment while allowing changing corpus content to be updated in the vector store independently. Rebuilding model containers for document updates is unnecessarily costly. A Bedrock knowledge base should not be assumed to support an arbitrary SageMaker endpoint as an embedding integration. Vector stores retrieve indexed content; they do not themselves generate grounded prose.

Question 4

New Multiple answers

Topic: Content Domain 1: Foundation Model Integration, Data Management, and Compliance

Skill tested: Applies data-handling controls to sensitive knowledge-base sources and retrieved content.

A healthcare organization is preparing a Bedrock RAG application using documents that contain sensitive operational information. The security review requires encryption at rest, tightly scoped access to source material, and avoidance of unnecessary exposure in application logs. The application still needs to retrieve passages and provide them to an authorized model invocation. Which THREE actions best address these requirements? Select THREE.

Correct Answer: B. Restrict the knowledge-base service role and application permissions to the specific S3 objects, vector resources, and model operations required.; C. Review application and service logging to avoid recording sensitive prompt and retrieval content unnecessarily, while retaining appropriate operational metadata.; E. Use encryption controls supported by the relevant storage services, including customer-managed keys where the organization's policy requires them.
Explanation:

Least-privilege roles and resource policies limit which source data, vector resources, and model operations the workflow can access. Encryption at rest should be configured through the applicable storage services and key policies, using customer-managed keys when required by policy. Logging should support operations and audit needs without indiscriminately storing sensitive prompts or retrieved text. Plaintext, indefinite content logging increases exposure, and public bucket access is neither necessary nor an acceptable substitute for authorized service access.

Question 5

New Single answer

Topic: Content Domain 2: Implementation and Integration

Skill tested: Configures Bedrock inference requests with model-appropriate parameters and request formats.

An application invokes a foundation model through Amazon Bedrock. After a model migration, requests begin failing because the team reused the prior model's request body and inference parameters. The application must preserve its prompt template and support controlled output length and randomness. What should the team do first?

Correct Answer: D. Consult the new model's Bedrock request schema and supported inference parameters, then update and validate the request body accordingly.
Explanation:

Bedrock provides model access, but model request and response schemas and supported inference parameters can differ. The application should use the selected model's documented payload format and parameter names, then validate its handling of output length and randomness. Changing only the model identifier does not make an incompatible body valid. InvokeModel does not universally translate arbitrary schemas, and nulling fields is not a reliable schema-compatibility strategy.

Question 6

New Multiple answers

Topic: Content Domain 2: Implementation and Integration

Skill tested: Designs Bedrock agent action groups with secure, reliable external API integration.

A travel company is implementing a Bedrock agent that can check reservation status and request a cancellation through an internal API. The API requires authenticated calls, cancellation must occur only after the user confirms the specific reservation, and the agent should not receive broad access to unrelated company systems. Which TWO design choices best satisfy these constraints? Select TWO.

Correct Answer: A. Define narrowly scoped action-group operations and validate required reservation identifiers and user confirmation before executing a cancellation.; C. Use the action group's configured API integration and credentials or authorization mechanism, with least-privilege permissions for the target API.
Explanation:

Action groups expose defined operations to an agent, so the API surface should be narrow and the cancellation operation should enforce the business confirmation and identifier checks before execution. Authentication should be handled through the supported integration configuration and protected credentials, with permissions limited to the required API. Administrator access is excessive. A model-generated URL is not a secure authorization boundary, and secrets must not be placed in instructions that may enter model context.

Question 7

New Single answer

Topic: Content Domain 2: Implementation and Integration

Skill tested: Builds explicit model-routing logic based on request complexity and application requirements.

A document-review application receives short classification requests and complex legal analysis requests. The team has selected a low-cost model for straightforward classification and a more capable model for difficult analysis. It needs predictable routing, auditable decisions, and the ability to apply different prompts to each path. Which approach is most appropriate?

Correct Answer: B. Implement application-level routing logic that classifies the request, selects the intended model and prompt, and records routing metadata.
Explanation:

Explicit application-level routing provides deterministic control over which model and prompt handle each request and creates a place to record the decision for auditing and optimization. This aligns cost and capability to request complexity. Having one model informally choose another call is less controllable and leaves routing opaque. Calling both models for every request raises cost and still requires a reliable selection policy. A single model cannot be assumed to reproduce the capability and cost characteristics of two distinct models.

Question 8

New Single answer

Topic: Content Domain 3: AI Safety, Security, and Governance

Skill tested: Applies least-privilege IAM roles for Bedrock knowledge-base ingestion and inference.

An application uses a Bedrock knowledge base with an S3 source and a vector store. Ingestion fails with access-denied errors, although the developer's own identity can read the documents and call the model interactively. The knowledge base is configured with a service role. The organization prohibits broad wildcard permissions and wants the durable fix to preserve separation between ingestion and application invocation. What should the administrator do next?

Correct Answer: B. Update the knowledge-base service role's trust and permissions so Bedrock can assume it and it can access only the required source, encryption key, and vector resources.
Explanation:

The identity performing setup is distinct from the service role used by the knowledge base during ingestion. The service role must have an appropriate trust relationship and narrowly scoped permissions for the configured data source, encryption key if applicable, and vector resources. Expanding the developer's privileges may not fix the service-role failure and violates the policy. Public access is unsafe, while combining all permissions into a broad runtime role removes least-privilege separation.

Question 9

New Multiple answers

Topic: Content Domain 3: AI Safety, Security, and Governance

Skill tested: Combines Bedrock Guardrails with application authorization and output handling controls.

A customer-facing assistant uses a foundation model to answer questions and can submit service requests through an API. The organization requires screening for disallowed content, protection of sensitive information, and prevention of unauthorized account changes. It also recognizes that model-level controls alone cannot establish whether a caller owns an account. Which THREE controls should be implemented? Select THREE.

Correct Answer: A. Apply an appropriately configured Bedrock Guardrail to supported model interactions and evaluate its behavior against the organization's policies.; B. Authenticate and authorize the caller in the application before exposing account data or executing account-changing API operations.; D. Use application-side validation and appropriate handling of sensitive input and output, including controls for data that should not be disclosed.
Explanation:

Bedrock Guardrails can apply configured safety controls to supported model inputs and outputs, but they do not replace identity, authorization, or business-rule enforcement. The application must verify the caller's identity and account-level permissions before returning protected information or changing state. Application-side data handling is also needed to meet confidentiality requirements, including validating what is sent to external operations and what is returned. A guardrail is not proof of ownership, and unrestricted credentials would create an unacceptable privilege boundary.

Question 10

New Single answer

Topic: Content Domain 4: Operational Efficiency and Optimization for GenAI Applications

Skill tested: Chooses Bedrock inference capacity according to workload predictability and latency needs.

An analytics team runs a large set of independent prompts every night. Results are needed by the following morning, but users do not require interactive responses. The volume is predictable, and the team wants an inference approach suited to queued workloads rather than reserving capacity for immediate requests. Which approach is most appropriate?

Correct Answer: A. Use Bedrock batch inference for the offline prompt workload, after verifying the selected model and job configuration are supported.
Explanation:

Batch inference is designed for offline workloads where responses are not required immediately, making it a suitable fit for an overnight set of independent prompts. The team should verify model and job compatibility and account for the job's operational lifecycle. Provisioned throughput is aimed at predictable, sustained inference capacity, not automatically the best choice for queued offline work. Aggressive interactive retries can increase throttling and cost, and an unrelated endpoint migration adds complexity without meeting a stated need.

Question 11

New Multiple answers

Topic: Content Domain 4: Operational Efficiency and Optimization for GenAI Applications

Skill tested: Optimizes model choice and request profiles against latency, quality, and inference cost.

A commerce application faces increased inference cost and tail latency during peak periods. Traffic includes simple product-category questions and a smaller set of nuanced comparison requests. The team can modify application routing and prompt construction, but cannot accept a measurable quality regression on the nuanced requests. Which TWO actions are the most appropriate optimization experiments? Select TWO.

Correct Answer: C. Route simple requests to a lower-cost model only after evaluating quality, and retain the more capable model for requests requiring nuanced reasoning.; D. Measure token usage and latency by request class, then reduce unnecessary prompt and output tokens while preserving required context.
Explanation:

Cost and latency should be optimized using measured request profiles and differentiated model selection, while preserving the stronger model for requests whose quality needs demand it. Reducing unnecessary prompt and output tokens can lower inference cost and often improve latency without discarding essential context. Larger output limits do not inherently prevent retries. A blanket quality reduction violates the requirement, and parallel calls increase cost while potentially returning a less suitable result simply because it arrived first.

Question 12

New Single answer

Topic: Content Domain 5: Testing, Validation, and Troubleshooting

Skill tested: Diagnoses RAG retrieval failures by tracing ingestion, embedding, and retrieval evidence.

A RAG application recently began returning answers that omit passages from newly updated manuals. Older documents still appear in answers, and model invocation metrics show successful requests with normal latency. The team uses a Bedrock knowledge base backed by an S3 data source. Before changing the generation prompt or model, what is the best next troubleshooting action?

Correct Answer: D. Inspect knowledge-base data-source sync and ingestion status, then verify that the changed documents were parsed, embedded, and indexed.
Explanation:

The symptoms isolate the likely failure to the data path: older indexed material remains available, but updated documents are missing, while model invocation is healthy. Checking sync and ingestion status and confirming document parsing, embedding, and indexing is the most direct next step. Prompt changes cannot retrieve content that is absent from the index. Temperature affects generation variation, not corpus freshness, and output truncation would not explain why newly updated material is never retrieved.