AWS Certified Generative AI Developer - Professional (AIP-C01) free question 3 / 10 · Domain 1: Foundation Model Integration, Data Management, and Compliance
A support-ticket export is indexed from Amazon S3 as a CSV file with a matching .csv.metadata.json file. A teammate edits only the metadata file to add a source label and starts a sync. The team expected the metadata-only update path, yet embedding charges appear. What explains this?
- The vector store re-embedded the rows on its own when the metadata file changed, and the sync itself made no embedding calls
- Amazon Bedrock has no way to tell whether the CSV structural configuration changed without processing the file again, so it is re-ingested
- The sync re-embedded the CSV, as the new source label is a string, and string metadata forces a new embedding for the affected rows of the file
- The CSV was re-ingested as a custom transformation Lambda function is required for CSV data sources, which turns the optimization off
Show the answer and explanation
Answer: B
Why this is correct
The metadata-only optimization excludes CSV files. A CSV uses the documentStructureConfiguration field in its metadata file to control which columns are indexed. Amazon Bedrock cannot know whether that structural configuration changed without re-processing the file, so CSV files are always re-ingested when their metadata files are updated, which means the file is parsed, chunked and embedded again.
Why the other options are wrong
"The sync re-embedded the CSV, as the new source label is a string, and string metadata forces a new embedding for the affected rows of the file" … The data type of the label is not the trigger on the page. The cause is the documentStructureConfiguration field that CSV files use, which Amazon Bedrock cannot compare without re-processing the file.
"The vector store re-embedded the rows on its own when the metadata file changed, and the sync itself made no embedding calls" … Embeddings are generated during ingestion by the knowledge base. The charges come from the re-ingestion the sync performs on the CSV file.
"The CSV was re-ingested as a custom transformation Lambda function is required for CSV data sources, which turns the optimization off" … A custom transformation function is optional, and the page lists using one as a separate condition that rules out the optimization. It is not a requirement of CSV data sources.
Key points
Plan for the full re-ingestion cost when a CSV-based data source changes, even if only its metadata file was touched.