Correct answer - "Fix the IAM Role" : Create an IAM role with write permissions and assign it to
the resources running your application. You can use AWS Identity and Access Management (IAM) to
grant X-Ray permissions to users and compute resources in your account. This should be one of
first places you start at by checking that your permissions is properly configured before moving
to troubleshooting step 2.
Incorrect:
"Enable X-Ray sampling" - If permissions are not configured correctly sampling will not work
"X-Ray only works with AWS Lambda aliases" - Not true, aliases are pointers to specific Lambda
function versions. To use the X-Ray SDK on Lambda, bundle it with your function code each time
you create a new version
"Change the security groups rules" - You grant permissions to your Lambda function to access
other resources using an IAM role