nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #211

You work for a hotel and have a dataset that contains customers' written comments scanned from paper-based customer feedback forms, which are stored as PDF files. Every form has the same layout. You n

The correct answer is C. Uptrain a Document AI custom extractor to parse the text in the comments section of each PDF. To quickly predict overall satisfaction from customer comments in scanned, consistent-layout PDF forms, a Document AI custom extractor should be trained to specifically parse the text from the comments section.

Submitted by tyler.j· Apr 18, 2026Data processing and feature engineering

Question

You work for a hotel and have a dataset that contains customers' written comments scanned from paper-based customer feedback forms, which are stored as PDF files. Every form has the same layout. You need to quickly predict an overall satisfaction score from the customer comments on each form. How should you accomplish this task?

Options

  • AUse the Vision API to parse the text from each PDF file. Use the Natural Language API
  • BUse the Vision API to parse the text from each PDF file. Use the Natural Language API
  • CUptrain a Document AI custom extractor to parse the text in the comments section of each PDF
  • DUptrain a Document AI custom extractor to parse the text in the comments section of each PDF

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    76% (26)
  • D
    12% (4)

Why each option

To quickly predict overall satisfaction from customer comments in scanned, consistent-layout PDF forms, a Document AI custom extractor should be trained to specifically parse the text from the comments section.

AUse the Vision API to parse the text from each PDF file. Use the Natural Language API

While the Vision API can perform Optical Character Recognition (OCR) on PDFs, it is a more general-purpose tool and less optimized for structured document understanding and field extraction compared to Document AI, especially when forms have a consistent layout.

BUse the Vision API to parse the text from each PDF file. Use the Natural Language API

While the Vision API can perform Optical Character Recognition (OCR) on PDFs, it is a more general-purpose tool and less optimized for structured document understanding and field extraction compared to Document AI, especially when forms have a consistent layout.

CUptrain a Document AI custom extractor to parse the text in the comments section of each PDFCorrect

A Document AI custom extractor is ideal for this scenario because it can be trained to precisely identify and extract text from specific fields, like a comments section, within structured documents like feedback forms with consistent layouts. Once the relevant text is extracted, it can then be fed into a natural language model for sentiment analysis to predict an overall satisfaction score.

DUptrain a Document AI custom extractor to parse the text in the comments section of each PDF

Option D is textually identical to option C and is correct for the same reasons.

Concept tested: Document AI for structured document extraction

Source: https://cloud.google.com/document-ai/docs/extract-data

Topics

#Document AI#OCR#Custom Extractors#Data Extraction

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice