easyMultiple Choice
PMLE Practice Question: A startup wants to add sentiment analysis to…
A startup wants to add sentiment analysis to their customer feedback app without any labeled data or custom model training. Which Google Cloud service should they use?
⚠ Common exam trap
Google Cloud often tests the distinction between pre-trained APIs and custom training services, where candidates mistakenly choose AutoML or Vertex AI because they think any ML task requires custom training, overlooking the existence of fully managed, pre-trained APIs like Cloud Natural Language API.
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
✓
Cloud Natural Language API
The Cloud Natural Language API provides pre-trained models for sentiment analysis that require no labeled data or custom training. It offers a ready-to-use sentiment analysis feature via a simple API call, making it ideal for a startup that wants to add sentiment analysis without any machine learning expertise or data preparation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Cloud Natural Language API
Why this is correct
Cloud Natural Language API provides pre-trained sentiment analysis through a REST call, requiring no labelled data or custom training. This satisfies the startup's constraint of adding sentiment scoring immediately without building or training a model.
- ✗
AutoML Natural Language with manual labeling
Why it's wrong here
AutoML Natural Language needs manually labelled training examples before it can build a model, which the startup does not have. It is tempting when a custom taxonomy is needed and labelling effort is acceptable, but the stem requires sentiment analysis with zero labelled data or training.
- ✗
Use BigQuery ML to train a text classification model
Why it's wrong here
BigQuery ML trains a classification model from labelled data using SQL, so it still requires labels and a training step the startup wants to avoid. It is tempting when sentiment data already sits in BigQuery and custom model control is wanted, but a pretrained API needs no training.
- ✗
Train a custom sentiment model on Vertex AI
Why it's wrong here
Vertex AI custom training requires labelled sentiment data and model development effort, both explicitly excluded by the requirement. It is tempting when accuracy on domain-specific text matters and labelled examples exist, but the stem demands a pretrained model with no training or labels.
Go deeper
Related to this question
About these practice questions
One of 775 original PMLE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on PMLE
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company wants to use pre-built Google Cloud APIs for text analysis. Which TWO APIs can they use? (Choose TWO.)
easy- ✓ A.Cloud Natural Language API
- ✓ B.Cloud Translation API
- C.Cloud Vision API
- D.Video Intelligence API
- E.Document AI
Why A: The Cloud Natural Language API (option A) is correct because it is a pre-built Google Cloud API specifically designed for text analysis, offering features like sentiment analysis, entity recognition, syntax analysis, and content classification on text. The Cloud Translation API (option B) is also correct because it is a pre-built API that processes text to dynamically translate between languages, which qualifies as text analysis. The Cloud Vision API (option C) is not correct because it analyzes images, not text. The Video Intelligence API (option D) is not correct because it analyzes video content. Document AI (option E) is not correct because it is a document processing platform that extracts structured data from documents, not a pre-built API for general text analysis.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PMLE 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 PMLE exam.