An Alexa Skill Builder is troubleshooting issues with a custom skill backed by an AWS Lambda function that integrates with an external API controlling a light bulb. The Builder observes that when saying "Alexa, turn on the light" the response is "light is not responding" and 10 seconds later, the light turns on. What is the MOST likely cause for this issue and how can it be solved?

QuestionsCategory: AXS-C01An Alexa Skill Builder is troubleshooting issues with a custom skill backed by an AWS Lambda function that integrates with an external API controlling a light bulb. The Builder observes that when saying "Alexa, turn on the light" the response is "light is not responding" and 10 seconds later, the light turns on. What is the MOST likely cause for this issue and how can it be solved?
Admin Staff asked 3 months ago
An Alexa Skill Builder is troubleshooting issues with a custom skill backed by an AWS Lambda function that integrates with an external API controlling a light bulb.
The Builder observes that when saying "Alexa, turn on the light" the response is "light is not responding" and 10 seconds later, the light turns on.
What is the MOST likely cause for this issue and how can it be solved?

A. The Lambda function is not executing fast enough. Double the currently specified Lambda memory allocation in the Lambda basic settings section.

B. The default Lambda function timeout setting is too short and the Lambda function times out before the response from the external API can be processed and a reply can be sent back to Amazon Alexa. Increase the Lambda timeout limit.

C. There are too many concurrent Lambda functions running, causing the existing Lambda function to block and then time out before a response can be returned to Amazon Alexa. Increase the Lambda function reserve concurrency value to 30, then verify that the function can complete its work within 10 seconds.

D. There is a bug in the Lambda function code preventing the external API from being called. Enable Lambda debugging and error handling and check Amazon CloudWatch Logs for the error, then modify the code accordingly.








 

Suggested Answer: D






This question is in AXS-C01 AWS Certified Alexa Skill Builder – Specialty Exam
For getting AWS Certified Alexa Skill Builder – Specialty Certificate




Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Amazon.
Trademarks, certification & product names are used for reference only and belong to Amazon.
The website does not contain actual questions and answers from Amazon's Certification Exam.
Question Tags:

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.