What would you do if you see an error thrown by a lambda function as "Access Denied" while doing something with S3 ?

Search Interview Questions

 3358 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


Java - Interview Questions and Answers

 Q1. What would you do if you see an error thrown by a lambda function as "Access Denied" while doing something with S3 ?Amazon Web Services (AWS)2018-10-26 11:34:47

Ans. Just like people , AWS resources too have execution roles or permissions. Seems like in such a situation Lambda function may not have sufficient privileges to perform operations on S3. For example - The execution role of Lambda may just have read permissions on S3 and we may be trying to perform PutObject operation.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws s3  aws storage  amazon cloud storage  amazon s3  aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda

Related Questions

 What are the problems one could face while working with serverless technologies like AWS Lambda ?
 What are the advantages and disadvantages of using Lambda over EC2 ?
 What are the different trigger types in AWS Lambda ?
 Tell me something about Amazon Lambda.
 What is the difference between AWS Gateway API and Lambda ?
 Can you explain the integration between API Gateway and Lambda if we wish to develop services using these tools.
 Can we build web services using AWS Lambda ?
 What are the benefits of using AWS Lambda over EC2 ?
 Can we reserve resources in AWS Lambda just like we do for Ec2 instances ?

Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner

comments powered by Disqus

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:

X Close this