AWS Certified Generative AI Developer - Professional (AIP-C01) Practice Questions

AWS Certified Generative AI Developer - Professional (AIP-C01) exam preparation

AWS Certified Generative AI Developer - Professional (AIP-C01) practice questions in English: 180 questions with explanations. The mock exam has 75 questions and 180 minutes.

AWS Certified Generative AI Developer - Professional (AIP-C01) free question 4 / 10 · Domain 1: Foundation Model Integration, Data Management, and Compliance

A single CSV file of support tickets has the columns ticket_text, product, severity and internal_note. The knowledge base should embed ticket_text, allow filtering on product and severity, and keep internal_note out of the metadata. How should the tickets.csv.metadata.json file be written?

  1. Make ticket_text the single content field and list internal_note under fieldsToExclude, so the other columns become metadata
  2. List internal_note in the fieldsToInclude and fieldsToExclude lists, so the explicit exclusion hides it from the metadata
  3. Name ticket_text and internal_note as two content fields, so that the two columns are embedded together for the row
  4. Declare severity as a NUMBER attribute in the metadata file, so that range filters on severity in the knowledge base compare numeric values
Show the answer and explanation

Answer: A

Why this is correct
For CSV files, the .csv.metadata.json file tells the knowledge base which column is the content field and which columns are metadata. Only one content field is supported, here ticket_text, which is chunked and embedded for each row. If only exclusion fields are provided, every column except the excluded ones is treated as metadata, so listing internal_note under fieldsToExclude leaves product and severity as metadata.

Why the other options are wrong
"Name ticket_text and internal_note as two content fields, so that the two columns are embedded together for the row" … The knowledge base supports one content field, and embedding internal_note would also not keep it out of the data the model sees.
"List internal_note in the fieldsToInclude and fieldsToExclude lists, so the explicit exclusion hides it from the metadata" … The same fieldName in both lists makes Amazon Bedrock throw a validation exception, because an inclusion and exclusion conflict results in a failure.
"Declare severity as a NUMBER attribute in the metadata file, so that range filters on severity in the knowledge base compare numeric values" … When metadata comes from CSV columns, all values are stored as strings, including numbers, so a NUMBER declaration does not apply to them.

Key points
Remember the CSV rules: one content field, no field in both include and exclude lists, and string-typed metadata values.

Go to the AWS Certified Generative AI Developer - Professional (AIP-C01) practice app (10 free questions; purchase unlocks all questions)

See the full practice set