
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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?
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.
Explanation:
Correct Answer: D - Run a query with the AWS Resource Groups Tag Editor to report on the resources globally with the application tag.
Why this is correct:
Why other options are incorrect:
A. AWS CloudTrail - CloudTrail is for auditing API calls and tracking user activity, not for querying resource tags. While it logs tag-related API calls, it's not designed for resource inventory by tags.
B. AWS CLI - While technically possible, this would require writing complex scripts to query each service across all regions individually, which is time-consuming and not the "quickest solution."
C. CloudWatch Logs Insights - CloudWatch Logs is for analyzing log data, not for querying resource metadata or tags. It doesn't have visibility into resource tagging across services.
Key AWS Service Features:
This solution aligns with AWS best practices for resource management and governance using tags.