Examlex
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 the Athena 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 Security Engineer and the Lambda function are shown below: Security Engineer Lambda function execution role
What is causing the error?
Q22: A company hosts an application on Amazon
Q25: A company has multiple production AWS accounts.
Q28: A social media company is using Amazon
Q29: A company wants to migrate its web
Q53: A Web Administrator for the website example.com
Q140: A Developer must re-implement the business logic
Q159: A Machine Learning Specialist must build out
Q162: A Security Engineer is trying to determine
Q187: A developer is building a new application
Q266: A development team consists of 10 team