Jump to another module Operational Efficiency and Optimization for GenAI Applications (part 1 of 2) Operational Efficiency and Optimization for GenAI Applications (part 2 of 2) AI Safety, Security, and Governance Foundation Model Integration, Data Management, and Compliance Testing, Validation, and Troubleshooting Implementation and Integration Question 3 of 24 All questionsAn enterprise application uses an Amazon Bedrock foundation model (FM) to process and analyze technical documents of 50 to 200 pages. Users experience inconsistent responses and truncated outputs when processing documents that exceed the FM's context-window limits.
Which solution will solve this problem?
A A. Configure fixed-size chunking at 4,000 tokens for each chunk with 20% overlap. Use application-level logic to link multiple chunks sequentially until the FM's maximum context window of 200,000 tokens is reached before making inference calls. B B. Use hierarchical chunking with parent chunks of 8,000 tokens and child chunks of 2,000 tokens. Use Amazon Bedrock Knowledge Bases built-in retrieval to automatically select relevant parent chunks based on query context. Configure overlap tokens to maintain semantic continuity. C C. Use semantic chunking with a breakpoint percentile threshold of 95% and a buffer size of 3 sentences. Use the Amazon Bedrock RetrieveAndGenerate API call to dynamically select the most relevant chunks based on embedding similarity scores. D D. Create a pre-processing AWS Lambda function that analyzes document token count by using the FM's tokenizer. Configure the lambda function to split documents into equal segments that fit within 80% of the context window. Configure the Lambda function to process each segment independently before aggregating the results.
Previous Check answer
A –D selectEnter check answerF flag← → move? all shortcuts