Logo

A Security Engineer has created an Amazon CloudWatch event that invokes an AWS Lambda function daily. The Lambda function runs an Amazon Athena query that check...


Amazon SCS-C01 Exam

Questions Number: 19 out of 160 Questions
11.88%

Question 19
A Security Engineer has created an Amazon CloudWatch event that invokes an AWS Lambda function daily. The Lambda function runs an Amazon Athena query that checks AWS CloudTrail logs in Amazon S3 to detect whether any IAM user accounts or credentials have been created in the past 30 days. The results of theAthena query are created in the same S3 bucket. The Engineer runs a test execution of the Lambda function via the AWS Console, and the function runs successfully.
After several minutes, the Engineer finds that his Athena query has failed with the error message: `Insufficient Permissions`. The IAM permissions of the SecurityEngineer and the Lambda function are shown below:Security Engineer -Lambda function execution role -What is causing the error?
Image SCS-C01_19Q.png related to the Amazon SCS-C01 Exam







Previous Questions Next Questions