‹ All AIF-C01 questions

AIF-C01 Practice Question 8: Fine Tuning Output Behavior

AWS Certified AI Practitioner (AIF-C01) · Test 1 · question 8 of 10

Applications of Foundation Modelshard

A legal-tech company uses a foundation model to turn contract clauses into summaries that follow a strict house format and terminology. Getting acceptable results takes 25 worked examples in every prompt, which makes each request slow and expensive, and the output still drifts from the format. The required knowledge is in the clause itself and doesn't change. The company has 20,000 pairs of clauses and expert-approved summaries. Which approach best addresses both the cost and the quality problem?

Select one answer
Show answer and explanation

Answer:

  • C. Use supervised fine-tuning on the labeled clause-summary pairs, then call the customized model with short prompts

The problem here is the model's behavior (format, style, terminology), not missing knowledge. The company also has a large labeled dataset of input-output pairs. That combination points to supervised fine-tuning. The model's weights learn the format directly, so the long run of in-prompt examples is no longer needed. Prompts get shorter, which lowers token cost and latency per request, and the output is usually more consistent than few-shot prompting can make it (option C). Fine-tuning has an upfront training cost, but at high volume, fewer tokens on every request pays it back.

- A is wrong because RAG is designed to supply missing or changing *facts*. Retrieving 25 examples still makes every prompt long, so the cost problem stays. - B is wrong because pre-training a foundation model from scratch costs vastly more than customizing an existing one, and it isn't needed to teach an output format. - D is wrong because more in-context examples *increase* tokens, cost, and latency on every request. That makes the company's main complaint worse.

Reference: Customize your model to improve its performance for your use case

Practice Test 1 ›

Study guides for AIF-C01

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon Bedrock? Models, Pricing and GuardrailsWhat is Amazon Bedrock? How a request reaches a model, what happens to your data, token pricing, Guardrails, Knowledge Bases, AgentCore and the exam traps.
Google Cloud Generative AI Leader vs AWS AI PractitionerGoogle Cloud Generative AI Leader vs AWS AI Practitioner: format, cost, topics, free preparation and which certification to take first.
AWS certification cost in 2026, and free ways to prepareWhat every AWS certification costs in 2026 in USD and INR, retake and reschedule rules, the 50% voucher, and the free official ways to prepare.
AWS Generative AI Developer Professional (AIP-C01) guideWhat the AWS Certified Generative AI Developer – Professional (AIP-C01) exam covers - format, cost, the five domains, the services, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.