Q76 — AWS SAA-C03 Ch.14

Question 76 of 100 | ← Chapter 14

Q1076. A media company is developing a text-to-speech application. The application must be able to convert input text into speech audio files. The application must deliver the audio files with low latency to users worldwide.Which solution meets these requirements?

Correct Answer: A. Use AWS Lambda for the text-to-speech conversion logic. Use Amazon Polly to generate the speech audio files. Use an Amazon API Gateway REST API to expose the application. Use an Amazon CloudFront distribution to cache and deliver the audio files.

Explanation

The solution that best meets the requirements for developing a text-to-speech application with low latency worldwide is:A. Use AWS Lambda for the text-to-speech conversion logic. Use Amazon Polly to generate the speech audio files. Use an Amazon API Gateway REST API to expose the application. Use an Amazon CloudFront distribution to cache and deliver the audio files.Explanation:- AWS Lambda: This serverless compute service allows you to run your text-to-speech conversion logic without provisioning servers, offering scalability and low latency.- Amazon Polly: This service is specifically designed for text-to-speech conversion, making it ideal for generating speech audio files from input text.- Amazon API Gateway: This service provides a REST API to expose your application, enabling easy access to the text-to-speech functionality.- Amazon CloudFront: As a content delivery network (CDN), CloudFront caches and delivers the audio files with low latency to users worldwide, ensuring quick access to the generated audio.Other Options:- B. Use AWS Lambda for the text-to-speech conversion logic. Use Amazon Rekognition to generate the speech audio files. Use an Amazon API Gateway REST API to expose the application with a Regional endpoint: Amazon Rekognition is primarily used for image and video analysis, not for text-to-speech conversion, making this option unsuitable.- C. Use AWS Batch for the text-to-speech conversion logic. Use Amazon Transcribe to generate the speech audio files. Use an Amazon API Gateway HTTP API to expose the application. Use an Amazon CloudFront distribution to cache and deliver the audio files: Amazon Transcribe is designed for converting speech to text, not text to speech. This option is also unsuitable.- D. Use AWS Lambda for the text-to-speech conversion logic. Use Amazon Lex to generate the speech audio files. Use an Amazon API Gateway HTTP API to expose the application. Use an Amazon CloudFront distribution to cache and deliver the audio files: Amazon Lex is primarily a service for building conversational interfaces, not for direct text-to-speech conversion.Conclusion:Option A is the most appropriate solution, leveraging the correct services for text-to-speech conversion and ensuring low latency delivery to users worldwide.