AWS Certified Generative AI Developer, Professional practice questions
Developers putting generative AI into production on AWS
What the AIP-C01 exam covers
Current exam guideSample AIP-C01 questions
Five of the 25 practice questions, each with its answer and explanation.
Foundation model integration, data management and compliance
When selecting a foundation model in Bedrock for summarising long contracts, which factors matter most?
- The number of regions it is named after
- Context window, quality on your task, cost and latency
- The provider's logo
- The model's release date only
Show the answer
B. Context window, quality on your task, cost and latency
Model choice is a trade-off between capability on the task, input size limits, price and speed.
Foundation model integration, data management and compliance
Product manuals have clear sections and tables. Which chunking approach is most likely to improve retrieval?
- Chunking that respects document structure, such as hierarchical or semantic chunking
- Random splits
- Fixed 50-character chunks
- No chunking, one vector per manual
Show the answer
A. Chunking that respects document structure, such as hierarchical or semantic chunking
Chunks that keep sections and tables intact retrieve more coherent context.
Foundation model integration, data management and compliance
Source documents in Amazon S3 are updated, and the knowledge base still returns old content. What is needed?
- Delete the guardrail
- Switch to a larger model
- Run a sync or ingestion job for the data source
- Raise the model temperature
Show the answer
C. Run a sync or ingestion job for the data source
A knowledge base reflects source changes only after its data source is synchronised.
Foundation model integration, data management and compliance
Documents contain personal data that must not be indexed. What should happen before ingestion?
- Rename the files
- Index everything and hope it is not retrieved
- Detect and redact the personal data, for example with Amazon Comprehend
- Increase the chunk size
Show the answer
C. Detect and redact the personal data, for example with Amazon Comprehend
Removing personal data before indexing stops it from ever reaching prompts or responses.
Foundation model integration, data management and compliance
A regulator requires that requests stay within one geography. What should you check about cross-region inference?
- Only the model's price
- Which regions the inference profile can route requests to
- Nothing; requests never leave the region
- Only the prompt length
Show the answer
B. Which regions the inference profile can route requests to
Cross-region inference can route requests to other regions, so its routing scope must fit residency rules.