AWS Certified Generative AI Developer - Professional (AIP-C01) free question 2 / 10 · Domain 1: Foundation Model Integration, Data Management, and Compliance
A team ingests engineering drawings and tables saved as PDF into a knowledge base. It wants to change the instructions that tell the parser how to extract the figures and tables, and it accepts token-based pricing for parsing. Which parsing option fits?
- A custom transformation Lambda function, which replaces the parser and defines how pages are read into text, with the team owning the extraction code
- The Amazon Bedrock default parser with a custom extraction prompt, which also reads figures and tables in PDF files
- Amazon Bedrock Data Automation as the parser, which takes a custom extraction prompt per document type and bills per page
- A foundation model as the parser, which allows the default extraction prompt to be customized and bills on input and output tokens
Show the answer and explanation
Answer: D
Why this is correct
The page lists three parsing options. The default parser outputs text only. Amazon Bedrock Data Automation processes multimodal data without additional prompting and is priced by pages or images. A foundation model processes multimodal data and is the option that lets you customize the default prompt used for data extraction, with a cost that follows the input and output tokens the model processes.
Why the other options are wrong
"Amazon Bedrock Data Automation as the parser, which takes a custom extraction prompt per document type and bills per page" … The page describes Data Automation as processing multimodal data without any additional prompting, and its cost depends on the number of pages or images, not on tokens.
"The Amazon Bedrock default parser with a custom extraction prompt, which also reads figures and tables in PDF files" … The default parser only outputs text from text files, so it cannot extract figures, charts or tables. The page also lists no prompt customization for it, and it incurs no usage charges.
"A custom transformation Lambda function, which replaces the parser and defines how pages are read into text, with the team owning the extraction code" … A custom transformation function is for custom chunking logic or chunk-level metadata that you inject into ingestion. It is not one of the parsing options the page lists for reading figures and tables.
Key points
Decide on three things when choosing a parser: whether the data has figures, charts or images, whether you need to edit the extraction prompt, and whether you prefer per-page or per-token pricing.