IAM Quiz
One plans on using SQS queues and AWS Lambda to leverage the serverless aspects of the AWS Cloud. Each invocation to AWS Lambda will send a message to an SQS queue. In order for messages to be sent, which of the following must be in place?
A.
The queue must be a FIFO queue.
B.
An IAM Role with the required permissions.
C.
The code for Lambda must be written in C#.
D.
An IAM Group with the required permissions.
B. An IAM Role with the required permissions.
While working with AWS Lambda functions, if there is a need to access other resources, ensure that an IAM role is in place. The IAM role will have the required permissions to access the SQS queue.
For more information on AWS IAM Roles, please visit the following URL:
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html