Google Cloud Professional Data Engineer — Question 88
You are developing an application on Google Cloud that will automatically generate subject labels for users' blog posts. You are under competitive pressure to add this feature quickly, and you have no additional developer resources. No one on your team has experience with machine learning. What should you do?
Answer options
- A. Call the Cloud Natural Language API from your application. Process the generated Entity Analysis as labels.
- B. Call the Cloud Natural Language API from your application. Process the generated Sentiment Analysis as labels.
- C. Build and train a text classification model using TensorFlow. Deploy the model using Cloud Machine Learning Engine. Call the model from your application and process the results as labels.
- D. Build and train a text classification model using TensorFlow. Deploy the model using a Kubernetes Engine cluster. Call the model from your application and process the results as labels.
Correct answer: A
Explanation
The correct answer is A because the Cloud Natural Language API's Entity Analysis feature is designed to extract relevant entities from text, making it ideal for generating subject labels without requiring machine learning expertise. Options B, C, and D are incorrect as they either focus on sentiment analysis, which does not provide subject labels, or involve building and training a machine learning model, which is not feasible given the team's lack of experience and the urgent timeline.