The AWS console opens in a real account, shared with the other learners: your function, your table and your queue must carry your prefix, shown on the lab page. You cannot create an IAM role: the function's execution role is provided, and you complete it. Everything is deleted at the end. The sandbox lives for three hours.
Tip
When the function fails, first read who is denied: if it is the function's role (role-lambda), that role lacks a permission, not you. And after each code change, click Deploy before testing.
AWS
AWS Lambda
serverless
Cloud Practitioner
IAM
AWS Lambda: process events without servers · MonPremierLab