
Explanation:
Correct Answer: C - Search CloudTrail logs with Amazon Athena queries to identify the errors.
Option A (AWS Glue):
Option B (AWS Batch):
Option D (Amazon QuickSight):
SELECT *
FROM cloudtrail_logs
WHERE errorcode IN ('AccessDenied', 'Unauthorized')
AND eventtime >= '2024-01-01'
SELECT *
FROM cloudtrail_logs
WHERE errorcode IN ('AccessDenied', 'Unauthorized')
AND eventtime >= '2024-01-01'
This solution provides the quickest, most straightforward way to analyze IAM permission errors with minimal setup and maintenance overhead.
Ultimate access to all questions.
Boost Your Career 🚀
No comments yet.
A company wants to analyze and troubleshoot Access Denied errors and Unauthorized errors that are related to IAM permissions. The company has AWS CloudTrail turned on.
Which solution will meet these requirements with the LEAST effort?
A
Use AWS Glue and write custom scripts to query CloudTrail logs for the errors.
B
Use AWS Batch and write custom scripts to query CloudTrail logs for the errors.
C
Search CloudTrail logs with Amazon Athena queries to identify the errors.
D
Search CloudTrail logs with Amazon QuickSight. Create a dashboard to identify the errors.