Cloud Digital Leader Google Cloud Products and Services Practice Question
A company wants to use a pre-trained model to extract text from scanned invoices. They need a fully managed API that can be called via REST. Which Google Cloud service should they use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Document AI
Document AI is a fully managed service for document processing, including OCR and extraction from invoices. Vision AI is for general image analysis. Natural Language AI handles text sentiment/entities. Vertex AI is a platform for custom models, not pre-built API for invoices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Document AI
Why this is correct
Document AI is the correct choice because it provides purpose-built pre-trained processors such as the Invoice Parser, which are specifically designed to extract structured fields like vendor name, invoice number, due date, and line items from scanned or digital documents. These processors combine OCR with a domain-aware NLP model, so they understand document layouts and key-value pair conventions unique to invoices without any custom training.
- ✗
Vision AI
Why it's wrong here
Vision AI, specifically its OCR capability, can detect and digitize all text present in an image, but it returns raw text blocks and bounding boxes rather than interpreting the semantic structure of an invoice. It does not understand that a dollar amount next to 'Total' is the total due or that a date in the header is the invoice date, so it cannot provide the clean field-level extraction the company needs.
- ✗
Natural Language AI
Why it's wrong here
Natural Language AI is a text-processing service that performs entity extraction, sentiment analysis, and syntax analysis on underlying text or documents that have already been converted to text. It cannot ingest a scanned invoice image directly, and its generic entity model is not trained on invoice-specific concepts such as purchase-order numbers, tax line items, or payment terms, so it would fail to deliver the required structured extraction.
- ✗
Vertex AI
Why it's wrong here
Vertex AI is a comprehensive ML platform that lets you train, deploy, and manage custom models, but it does not offer a ready-made pre-trained API for invoice extraction. To use it for this purpose, the company would need to build and train an AutoML or custom model with a large annotated dataset of invoices, which contradicts the requirement to use a pre-trained model and adds substantial time and effort.
Go deeper
Related to this question
Learn chapter
Cloud Digital Transformation
Key term
Document AI
Document AI is a Google Cloud service that uses machine learning to extract, analyze, and organize information from documents like PDFs and images.
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
About these practice questions
Courseiva writes every GCDL question from scratch — 829 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.