AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A large enterprise uses AWS Organizations to manage hundreds of AWS accounts across various departments and environments. The finance department requires a detailed cost breakdown by project and cost center for chargeback purposes. The current lack of a standardized tagging strategy results in inaccurate cost allocation. A solutions architect needs to design a strategy that not only enforces the mandatory application of Project and CostCenter tags on new resources but also provides a scalable mechanism for granular cost reporting. Which solution is the MOST effective and scalable for meeting these requirements?
Use the Tag Editor in AWS Resource Groups to periodically find all resources missing the Project and CostCenter tags and add them manually. Activate these tags as cost allocation tags. Use the AWS Cost Explorer to create and save reports filtered by these tags for the finance department.
In the organization's management account, create a Service Control Policy (SCP) that denies resource creation actions if the Project and CostCenter tags are not present in the request. Activate these tags as cost allocation tags in the Billing and Cost Management console. Use Amazon Athena to query the AWS Cost and Usage Report (CUR) data from its S3 bucket to generate detailed cost reports.
Deploy an AWS Config rule in each member account to detect resources that are missing the Project and CostCenter tags. Configure an automatic remediation action using an AWS Lambda function to add the missing tags to non-compliant resources. Use AWS Cost Explorer with tag-based filtering to analyze costs.
In each member account, create and attach an IAM identity-based policy to all relevant users, groups, and roles that denies resource creation if the Project and CostCenter tags are not included. Activate these tags as cost allocation tags and use AWS Budgets to monitor costs associated with each tag.
The correct answer proposes using Service Control Policies (SCPs) to enforce tagging, activating the tags for cost allocation, and using the AWS Cost and Usage Report (CUR) with Amazon Athena for reporting. SCPs, applied at the AWS Organizations level, provide a scalable, preventive control by denying the creation of resources that lack the required tags. This is superior to reactive methods. Activating the custom tags as cost allocation tags is a necessary step to make them available in detailed billing reports like the CUR. Finally, querying the CUR data in Amazon S3 with Amazon Athena provides the most powerful and flexible mechanism for creating granular, custom cost allocation reports required for chargeback.
The option suggesting AWS Config rules is less effective because Config provides detective, not preventive, control. It identifies non-compliant resources after they have been created, potentially leading to untagged costs before remediation occurs. While useful for auditing, it does not prevent the issue at the source like an SCP does.
The option suggesting the use of IAM policies in each account is not scalable. Managing and ensuring consistency of hundreds of individual IAM policies across a large number of accounts would create significant operational overhead compared to a centralized SCP.
The option suggesting the use of AWS Resource Groups and the Tag Editor is inadequate for enforcement. These tools are primarily for organizing and acting on existing resources and do not prevent the creation of untagged resources. While Cost Explorer is useful for high-level analysis, it lacks the deep, customizable querying capabilities of Athena on CUR data needed for granular chargeback reports.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Service Control Policy (SCP) in AWS Organizations?
Open an interactive chat with Bash
What is the AWS Cost and Usage Report (CUR), and how does Amazon Athena help with cost reporting?
Open an interactive chat with Bash
Why is activating cost allocation tags critical for detailed financial reporting?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access