nerdexam
AmazonAmazon

MLS-C01 · Question #308

MLS-C01 Question #308: Real Exam Question with Answer & Explanation

The correct answer is B: Use a combination of AWS Step Functions and an AWS Lambda function to call the. {"question_number": 5, "question_summary": "Process one million social media posts with Amazon Comprehend in the least time.", "correct_answer": "B", "explanation": "For large-scale batch sentiment analysis, Amazon Comprehend's asynchronous batch processing job (StartSentimentDet

Machine Learning Implementation and Operations

Question

A data scientist is using Amazon Comprehend to perform sentiment analysis on a dataset of one million social media posts. Which approach will process the dataset in the LEAST time?

Options

  • AUse a combination of AWS Step Functions and an AWS Lambda function to call the
  • BUse a combination of AWS Step Functions and an AWS Lambda function to call the
  • CUpload the posts to Amazon S3. Pass the S3 storage path to an AWS Lambda function that calls
  • DUse an AWS Lambda function to call the BatchDetectSentiment API operation with the whole

Explanation

{"question_number": 5, "question_summary": "Process one million social media posts with Amazon Comprehend in the least time.", "correct_answer": "B", "explanation": "For large-scale batch sentiment analysis, Amazon Comprehend's asynchronous batch processing job (StartSentimentDetectionJob) is the fastest approach. It is designed for high-throughput processing of large document sets stored in S3 and runs the workload in parallel on managed infrastructure. Option B uses Step Functions with a Lambda function to invoke the Comprehend asynchronous batch job API, which handles millions of documents efficiently. Option D (BatchDetectSentiment) processes only up to 25 documents per API call synchronously, making it impractical for one million posts without massive parallelism overhead. Options A and C involve synchronous calls that would be rate-limited and slow at this scale. The asynchronous job approach in option B is purpose-built for this volume.", "generated_by": "claude-sonnet", "llm_judge_score": 3}

Topics

#Amazon Comprehend#Batch Processing#AWS Step Functions#API Limits & Optimization

Community Discussion

No community discussion yet for this question.

Full MLS-C01 PracticeBrowse All MLS-C01 Questions