AWS Certified Solutions Architect – Associate (SAA-C03) — Question 238
A company hosts multiple production applications. One of the applications consists of resources from Amazon EC2, AWS Lambda, Amazon RDS, Amazon Simple Notification Service (Amazon SNS), and Amazon Simple Queue Service (Amazon SQS) across multiple AWS Regions. All company resources are tagged with a tag name of “application” and a value that corresponds to each application. A solutions architect must provide the quickest solution for identifying all of the tagged components.
Which solution meets these requirements?
Answer options
- A. Use AWS CloudTrail to generate a list of resources with the application tag.
- B. Use the AWS CLI to query each service across all Regions to report the tagged components.
- C. Run a query in Amazon CloudWatch Logs Insights to report on the components with the application tag.
- D. Run a query with the AWS Resource Groups Tag Editor to report on the resources globally with the application tag.
Correct answer: D
Explanation
The correct answer is D because the AWS Resource Groups Tag Editor allows you to efficiently query and manage resources across all regions based on tags, providing a comprehensive view. Option A is incorrect as AWS CloudTrail is primarily for auditing API calls and does not provide direct resource listing by tags. Option B, while technically feasible, would be time-consuming as it would require separate queries for each service in every region. Option C is not suitable because Amazon CloudWatch Logs Insights is designed for analyzing log data, not directly for retrieving tagged resources.