
Answer-first summary for fast verification
Answer: Send user-submitted images to the Cloud Vision API. Use object localization to identify all objects in the image and compare the results against a list of animals.
Option A is the correct answer. Using the Cloud Vision API is a suitable solution for this scenario because it is a ready-to-use, managed service that will minimize both the time and cost of development and deployment. The Cloud Vision API can quickly and accurately identify objects within images, including animals, and there is no need to manually label images or deploy your own machine learning models, which can be time-consuming and costly. Given the relatively small volume of image uploads (about 20 per day), the cost of using the Cloud Vision API would be manageable, and it provides a quick, scalable, and efficient solution.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You work for a pet food company that manages an online forum where customers can share photos of their pets with others. This forum receives about 20 photo uploads daily. To enhance user experience and ensure appropriate content, you want to automatically and in near real time detect whether each uploaded photo contains an animal. You aim to achieve this with minimal cost and development time. What should you do?
A
Send user-submitted images to the Cloud Vision API. Use object localization to identify all objects in the image and compare the results against a list of animals.
B
Download an object detection model from TensorFlow Hub. Deploy the model to a Vertex AI endpoint. Send new user-submitted images to the model endpoint to classify whether each photo has an animal.
C
Manually label previously submitted images with bounding boxes around any animals. Build an AutoML object detection model by using Vertex AI. Deploy the model to a Vertex AI endpoint. Send new user-submitted images to your model endpoint to detect whether each photo has an animal.
D
Manually label previously submitted images as having animals or not. Create an image dataset on Vertex AI. Train a classification model by using Vertex AutoML to distinguish the two classes. Deploy the model to a Vertex AI endpoint. Send new user-submitted images to your model endpoint to classify whether each photo has an animal.