AIF-C01 · Question #66
You are tasked with building a solution to classify customer reviews as positive or negative. The solution must handle real-time inferencing. Which of the following approaches and services are…
The correct answer is A. Use AWS Lambda for real-time predictions. C. Deploy the model using Amazon SageMaker Hosting Services. E. Use Amazon SageMaker to train the model. For a real-time sentiment classification solution, appropriate AWS services include Amazon SageMaker for model training and hosting, and AWS Lambda for serving real-time predictions.
Question
You are tasked with building a solution to classify customer reviews as positive or negative. The solution must handle real-time inferencing. Which of the following approaches and services are appropriate? (Choose three.)
Options
- AUse AWS Lambda for real-time predictions.
- BUse Amazon Polly for text-t o-speech capabilities.
- CDeploy the model using Amazon SageMaker Hosting Services.
- DUse AWS Glue for batch processing.
- EUse Amazon SageMaker to train the model.
How the community answered
(31 responses)- A81% (25)
- B6% (2)
- D13% (4)
Why each option
For a real-time sentiment classification solution, appropriate AWS services include Amazon SageMaker for model training and hosting, and AWS Lambda for serving real-time predictions.
AWS Lambda can be used to invoke an endpoint for real-time predictions, acting as a serverless compute service to process incoming review requests and return classification results immediately.
Amazon Polly is a text-to-speech service, which is unrelated to classifying text reviews as positive or negative.
Amazon SageMaker Hosting Services provides robust, scalable endpoints for deploying trained models, which is crucial for handling real-time inference requests efficiently and reliably.
AWS Glue is an extract, transform, and load (ETL) service primarily used for batch processing and data preparation, not for real-time inferencing.
Amazon SageMaker offers comprehensive capabilities for training machine learning models, including sentiment analysis models, by providing managed infrastructure and tools for data preparation, algorithm selection, and hyperparameter tuning.
Concept tested: Real-time ML inference architecture on AWS
Source: https://aws.amazon.com/sagemaker/features/model-hosting/
Topics
Community Discussion
No community discussion yet for this question.