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 5 / 10 · Domain 1: Foundation Model Integration, Data Management, and Compliance

A team embeds a very large document set with Amazon Titan Text Embeddings V2 and finds the default vector size makes its vector index expensive to store. It wants smaller vectors from the same model. What can it do?

  1. Set the output vector size to 768 dimensions, a value between the two smaller sizes and the 1,024 default
  2. Request an output vector size of 512 or 256 instead of the default 1,024 dimensions when invoking the model
  3. Run the indexing through throughput-optimized batch jobs that produce compact vectors for faster indexing
  4. Pass the maxTokenCount inference parameter in the request, so the model returns a shorter vector for the input text
Show the answer and explanation

Answer: B

Why this is correct
Amazon Titan Text Embeddings V2 (amazon.titan-embed-text-v2:0) outputs a vector of 1,024 dimensions by default and also supports 512 and 256. Choosing a smaller size reduces what the vector store must hold for each chunk. The model does not take inference parameters such as maxTokenCount or topP, so the output vector size is the setting that controls the vector length.

Why the other options are wrong
"Pass the maxTokenCount inference parameter in the request, so the model returns a shorter vector for the input text" … Titan Text Embeddings V2 and V1 do not support inference parameters such as maxTokenCount or topP, and the vector length is set through the output vector size.
"Run the indexing through throughput-optimized batch jobs that produce compact vectors for faster indexing" … Batch jobs are a way of invoking the model for faster indexing. They change throughput, not the output vector size.
"Set the output vector size to 768 dimensions, a value between the two smaller sizes and the 1,024 default" … The page lists 1,024 (default), 512 and 256 as the output vector sizes for V2, so 768 is not a supported setting.

Key points
The page also recommends segmenting long documents into logical units such as paragraphs or sections for retrieval, even though V2 accepts up to 8,192 tokens.

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