Google Cloud Professional Machine Learning Engineer — Question 292
You are building an application that extracts information from invoices and receipts. You want to implement this application with minimal custom code and training. What should you do?
Answer options
- A. Use the Cloud Vision API with TEXT_DETECTION type to extract text from the invoices and receipts, and use a pre-built natural language processing (NLP) model to parse the extracted text.
- B. Use the Cloud Document AI API to extract information from the invoices and receipts.
- C. Use Vertex AI Agent Builder with the pre-built Layout Parser model to extract information from the invoices and receipts.
- D. Train an AutoML Natural Language model to classify and extract information from the invoices and receipts.
Correct answer: B
Explanation
The correct answer is B, as the Cloud Document AI API is specifically designed for extracting data from documents like invoices and receipts with minimal setup. Options A and C involve using tools that require more custom coding or configuration, while option D necessitates training a model, which contradicts the requirement for minimal custom code and training.