AWS Certified Machine Learning Engineer Associate · Free Practice Question Medium

Question 1

A customer service company is looking to enhance its chatbot by providing real-time voice interaction with users. The bot needs to handle user queries in both text and speech formats. It must convert incoming speech to text, process the text using a chatbot engine, and then convert the bot’s text responses back to speech for the user.

Which combination of services should the company implement?

  • A

    Use Amazon Polly to convert user speech to text, Amazon Lex to process the text queries, and Amazon Transcribe to convert text responses to speech.

  • B

    Use Amazon Transcribe to convert user speech to text, AWS Lambda to process the queries, and Amazon Polly to convert text responses to speech.

  • C

    Use Amazon Transcribe to convert user speech to text, Amazon Lex to handle the chatbot processing, and Amazon Polly to convert text responses to speech.

  • D

    Use Amazon Rekognition for speech-to-text conversion, Amazon Lex for chatbot processing, and Amazon Polly for text-to-speech conversion.

Reveal correct answer

Correct answer: C

A.

Amazon Polly is a text-to-speech service and cannot convert speech to text, which makes it unsuitable for handling incoming speech.

B.

While AWS Lambda can handle custom logic, it is not needed here, as Amazon Lex already provides comprehensive chatbot processing capabilities. AWS Lambda would not be involved in speech-to-text or text-to-speech conversion.

C.

Amazon Transcribe can be used to convert the user's speech into text, and Amazon Lex is a natural choice for building and handling the chatbot processing logic. Amazon Polly can then convert Lex's text-based responses into speech, allowing for a seamless voice interaction.

D.

Amazon Rekognition focuses on image and video analysis, not speech-to-text conversion. Therefore, it is not suitable for this use case.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need