Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Cloud Digital Leader practice bank has an additional 3,070 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
An e-commerce company wants to automate how it processes thousands of images uploaded daily by sellers and customers. The company needs a pre-trained Google Cloud service that can address the following business requirements without training custom machine learning models:
Which Google Cloud service should the company use?
Cloud Data Loss Prevention (DLP) API (part of Sensitive Data Protection) is a compliance and security service designed to discover, classify, and de-identify sensitive data—such as Personally Identifiable Information (PII), credit card numbers, and medical identifiers—across storage repositories and data streams.
While Cloud Data Loss Prevention API addresses data compliance, it is specialized for sensitive data discovery and redaction rather than general computer vision. It does not generate general product category tags (LABEL_DETECTION), locate multiple retail objects with bounding polygons (OBJECT_LOCALIZATION), or rate images across SafeSearch explicit content categories (adult, spoof, medical, violence, and racy).
infoTypes) to locate sensitive identifiers.The company needed to scan uploaded files in Cloud Storage to automatically detect, classify, and redact sensitive customer PII such as social security numbers, phone numbers, or payment card details.
Students often confuse Cloud Data Loss Prevention API with Cloud Vision API when a scenario mentions compliance screening. However, moderating user-uploaded photos for explicit or violent imagery is a visual content moderation task handled by Cloud Vision API (SAFE_SEARCH_DETECTION), whereas Cloud Data Loss Prevention API focuses on protecting regulated confidential data and PII.
Text-to-Speech API is a pre-trained Google Cloud artificial intelligence service that converts written text into natural-sounding synthetic human speech. It enables developers to add voice interfaces and audio playback capabilities to applications and devices.
Text-to-Speech API is an audio generation service that requires machine-readable text as its input. It has no computer vision capabilities and cannot inspect uploaded photographs to detect objects (OBJECT_LOCALIZATION), assign image labels (LABEL_DETECTION), extract text from images (TEXT_DETECTION), or moderate explicit visual content (SAFE_SEARCH_DETECTION).
SSML) into playable audio formats such as MP3 or LINEAR16.The company wanted to improve accessibility by reading product descriptions aloud to visually impaired users or generating automated voice prompts for a customer service phone system.
While Text-to-Speech API cannot process images on its own, it is often chained downstream of Cloud Vision API and Cloud Translation API in accessibility workflows—where Cloud Vision API extracts text from a photo via OCR, Cloud Translation API translates the text, and Text-to-Speech API speaks the translated result aloud.
Cloud Vision API is a pre-trained machine learning service that enables developers to derive insights from images and documents without building or training custom computer vision models. It exposes ready-to-use REST and RPC endpoints that analyze visual files stored locally or in Cloud Storage.
LABEL_DETECTION), the service identifies general objects, products, activities, and locations across broad categories. Using object localization (OBJECT_LOCALIZATION), it detects multiple distinct items in a single photo and returns normalized bounding box coordinates for each item.TEXT_DETECTION (for sparse text like signs or labels) and DOCUMENT_TEXT_DETECTION (optimized for dense text, PDF/TIFF files, and handwriting), it extracts machine-coded UTF-8 text from receipts and shipping labels.SAFE_SEARCH_DETECTION), it evaluates images for explicit or unsafe content and returns likelihood ratings across five categories: adult, spoof, medical, violence, and racy.
LOGO_DETECTION), landmark detection (LANDMARK_DETECTION), face detection (FACE_DETECTION), and crop hints (CROP_HINTS).Unlike services focused on text translation, audio synthesis, or sensitive text classification, Cloud Vision API is purpose-built for visual content analysis and addresses all three operational, compliance, and customer-facing image requirements through a single pre-trained API.
Cloud Translation API is a pre-trained machine learning service designed to dynamically translate text strings and documents between dozens of different human languages. It helps organizations localize applications, websites, and textual data for global audiences.
Cloud Translation API operates on text inputs rather than raw image pixels. It cannot analyze photographs to identify objects, generate visual bounding boxes, perform Optical Character Recognition (OCR) on receipts, or evaluate images for explicit visual content (SAFE_SEARCH_DETECTION).
JPEG, PNG, TIFF) unless paired with an upstream vision service that extracts text first.The scenario required converting English product descriptions, customer reviews, or extracted image labels into multiple international languages to support global e-commerce shoppers.
In multi-service architectures, Cloud Translation API is frequently paired with Cloud Vision API. Because Cloud Vision API returns image labels (LABEL_DETECTION) in English only, applications can pass those English labels—or text extracted via TEXT_DETECTION—directly to Cloud Translation API to localize the output into other languages.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated