Detecting PII in Photos Using Google Cloud APIs
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?
Community Votes
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)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
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 →