‹ All AIF-C01 questions

AIF-C01 Practice Question 82: Precision Costly False Positives

AWS Certified AI Practitioner (AIF-C01) · Test 9 · question 2 of 10

Fundamentals of AI and MLmedium

A company uses a binary classifier to move incoming email to a spam folder. Only about 2% of messages are actually spam. After launch, customers complain that legitimate invoices are being silently filtered out. Reporting shows 98% accuracy. Which metric should the team prioritize to reduce the harm customers are reporting?

Select one answer
Show answer and explanation

Answer:

  • D. Precision

Legitimate mail landing in the spam folder is a false positive: a positive prediction ("this is spam") that is actually negative. Precision = TP / (TP + FP) measures how many of the messages the model flags are truly spam, and AWS notes that *"Precision is an important metric when the cost of a false positive is high."* Raising precision means fewer good messages are flagged (option D).

- A is wrong because recall = TP / (TP + FN) measures how many actual spam messages are caught. Optimizing it pushes the model to flag more mail, which usually creates more false positives. - B is wrong because with only 2% spam, a model that never flags anything would already score 98% accuracy. Accuracy hides the problem on an imbalanced dataset. - C is wrong because log loss evaluates the quality of predicted probabilities. It does not isolate the cost of false positives, and it is not the standard metric for this trade-off.

Reference: Metrics and validation

Practice Test 9 ›

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.