Skip to main content
CloudCertPrep
AIF-C01Domain 1: Fundamentals of AI and MLAI/ML FoundationsmediumSingle choice

A firm needs to (a) extract text and tables from scanned PDF invoices and (b) detect sentiment and entities in the extracted text. Which two services map to these jobs?

A.Amazon Comprehend for extraction, Textract for sentiment

Roles reversed.

B.Amazon Textract for OCR extraction, Amazon Comprehend for sentiment/entities

Correct. Document→text = Textract; text→insights = Comprehend.

C.Amazon Rekognition for both

Rekognition analyzes images/video, not document text structure.

D.Amazon Transcribe for both

Transcribe converts audio to text, not documents or sentiment.

Why this answer

Textract is OCR + document structure extraction (forms, tables) from scans; Comprehend is NLP analysis — sentiment, entities, topics — on existing text. Rekognition is image/video; Transcribe is speech-to-text.

Correct answer: B · Last reviewed 2026-10-28

Official AWS references

Practice this interactively

Answer without seeing the solution first in the AI/ML Foundations practice session.

Practice AI/ML Foundations