MLS-C01 Question 306
Single answerYou are designing a chatbot using Amazon Lex to handle customer service inquiries for an e-commerce platform. One of the requirements is that the chatbot must integrate with an existing backend system to check product availability in real-time. Which feature or capability of Amazon Lex would you use to achieve this?
- A
Fulfillment hooks
- B
Slot types
- C
Intent chaining
- D
Conversation logs
Show answer and explanation
Correct answer: A
Explanation
To enable the Amazon Lex chatbot to interact with a backend system for real-time product availability checks, you should use Fulfillment hooks. This feature allows you to call AWS Lambda functions or other APIs to fetch or update data during the chatbot conversation, ensuring a seamless and dynamic user experience.
- A. Correct.
Fulfillment hooks allow Amazon Lex to integrate with backend systems to perform tasks such as checking product availability, processing orders, or updating databases. This is the correct choice for real-time integration.
- B. Incorrect.
Slot types are used to define the data type of user inputs (e.g., dates, numbers, locations). While important for chatbot functionality, they do not enable backend integration.
- C. Incorrect.
Intent chaining allows you to connect multiple intents for more complex conversations. However, it does not help with integrating with backend systems for real-time tasks.
- D. Incorrect.
Conversation logs store information about user interactions for analysis and debugging but do not assist with real-time backend integration.