When preparing a training dataset to fine-tune Amazon Bedrock foundation models for text-to-text tasks, which data format should be used?
Choose an answer
Tap an option to check your answer.
Correct answer: A JSON file containing labeled examples.
Why this is the answer
For fine-tuning Amazon Bedrock foundation models for text-to-text tasks, a JSON file containing labeled examples is the correct format. This is because fine-tuning requires pairs of input prompts and their desired output responses, which JSON is well-suited to represent as structured objects. Each object typically contains a "prompt" and a "completion" field. CSV files with unlabeled examples or plain text files with unlabeled text are unsuitable as they lack the necessary input-output pairing for supervised fine-tuning. A CSV file with tabular data is also incorrect because text-to-text fine-tuning focuses on sequence generation, not tabular data analysis.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed