Detecting PII in Photos Using Google Cloud APIs

Answer Correct answer: A — Use Pre-trained APIs like Cloud Vision API to detect and remove PII from photos quickly without custom training.

A real estate organization processes photos of properties uploaded by their agents to an internal application. They must manually check and remove photos that contain personally identifiable information like passports and credit cards. They want a solution that their developer can use to integrate with their app as quickly as possible. Which solution should they use?

  1. Pre-trained APIs Correct Answer
  2. AutoML
  3. Custom training
  4. BigQuery ML

Community Votes

A
100%

100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

Tests knowledge of Google Cloud Vision API capabilities versus custom ML workflows, with the trap being over-engineering a solution when ready-made tools suffice.

This question explores how to quickly integrate PII detection for property photos. It establishes that Pre-trained APIs are the optimal solution for rapid deployment without custom model training.

Candidates often choose AutoML or Custom training because they assume specific PII requires bespoke models, ignoring that pre-trained APIs already handle common PII types like credit cards and passports.

Community Discussion (3 comments)

joshnort 👍 1 Selected: A
A. Pre-trained APIs. Pre-trained APIs are ready-to-use models provided by Google Cloud, such as the Cloud Vision API, which can detect a wide range of sensitive information, including personally identifiable information (PII) like passports, credit cards, and other sensitive data in images. These APIs are quick to integrate into applications, as they don't require additional training, allowing the developer to focus on the application rather than building or fine-tuning models.
Ekramy_Elnaggar 👍 2 Selected: A
Cloud Vision API
Moin23 👍 2 Selected: A
Answer A

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Pre-trained APIs, specifically the Cloud Vision API, are designed for immediate integration and include built-in features for detecting Personally Identifiable Information (PII) such as credit card numbers, passport details, and other sensitive data. Since the requirement is speed ('as quickly as possible') and the target entities are standard PII types, using a pre-trained API eliminates the time-consuming steps of data collection, labeling, and model training required by AutoML or Custom training.

Why the Other Options Are Wrong

AutoML (B) and Custom training (C) require significant effort to gather datasets, label them, and train models, which contradicts the 'quickly as possible' constraint. BigQuery ML (D) is used for building predictive models on structured data within BigQuery, not for image processing or object detection in applications.

Community Comment Notes

The community consensus strongly supports option A, noting that Cloud Vision API is the standard tool for this use case. As Joshnort noted, these APIs are 'ready-to-use models' that detect PII without additional training. Ekramy_Elnaggar simply confirmed 'Cloud Vision API', reinforcing that this is a known feature set.

Official Reference

Exam Strategy

When an exam question emphasizes 'quickly,' 'rapidly,' or 'immediate' integration for standard tasks, look for managed services or pre-trained solutions before considering custom development or AutoML platforms.

Frequently Asked Questions

Does Cloud Vision API detect passports automatically?

Yes, the Cloud Vision API includes a dedicated feature called 'Detect Personal Information' that identifies passports, credit cards, and other PII in images.

Why not use AutoML for better accuracy?

AutoML requires collecting and labeling your own dataset, which takes weeks. Pre-trained APIs offer sufficient accuracy for standard PII with near-zero setup time.

Related Analysis

Practice All CDL Questions

Access 84 questions with complete answers and detailed explanations.

View Full CDL Practice Test →

← Back to CDL Study Guide