AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A global enterprise uses AWS Organizations to manage hundreds of AWS accounts across multiple regions. The company's operations team is responsible for maintaining a large and growing fleet of Amazon EC2 instances running both Windows Server and Amazon Linux. They are struggling with configuration drift and ensuring timely security patching. Their current process involves custom scripts and manual interventions, which has become unsustainable. The team needs to implement a centralized, scalable, and automated configuration management strategy that can enforce a desired state, apply patches, and install software packages across all instances in the entire organization. The solution must minimize custom development and leverage AWS-native capabilities for multi-account, multi-region management. Which solution best meets these requirements for operational excellence?
Implement AWS OpsWorks Stacks in each AWS account and region. Develop Chef cookbooks or Puppet modules that define the instance configurations, patching schedules, and software installations. Associate these recipes with the appropriate layers and manage the fleet through the OpsWorks console.
Deploy AWS Config rules across all accounts and regions using a delegated administrator to detect non-compliant instances. For remediation, develop a set of custom AWS Lambda functions that are triggered by the Config rule findings. These functions will use Systems Manager Run Command to apply the necessary configurations and patches.
Configure a delegated administrator account for AWS Systems Manager in AWS Organizations. Use Systems Manager Quick Setup to deploy the SSM Agent across the organization. Create and apply State Manager associations to enforce configuration baselines, use Patch Manager policies for automated patching, and leverage Distributor to manage software package deployments.
Develop AWS CloudFormation templates with detailed UserData scripts to configure instances at launch. Use CloudFormation StackSets to deploy these templates across all target accounts and regions. For ongoing updates, modify the templates and perform a stack update.
The correct solution is to use AWS Systems Manager with a delegated administrator account. This approach is the most operationally excellent because it is designed for centralized, multi-account, and multi-region management directly through AWS Organizations. Systems Manager Quick Setup simplifies the deployment of the SSM Agent and configuration of services across the entire organization. State Manager proactively enforces configuration baselines to prevent drift, Patch Manager uses policies for automated, scheduled patching across the fleet, and Distributor handles software package deployments. This combination provides a comprehensive, AWS-native, and highly automated solution that minimizes custom scripting and management overhead.
Incorrect answers are:
AWS CloudFormation StackSets: While StackSets are excellent for provisioning infrastructure across accounts and regions, they are not ideal for ongoing OS-level configuration management. Configuration via UserData scripts runs only at instance launch, and managing frequent updates like patches or minor software changes through stack updates is inefficient and not the intended use case.
AWS Config with AWS Lambda: This approach is reactive, not proactive. AWS Config would detect non-compliance after it occurs, and then custom Lambda functions would be needed to perform remediation. This introduces significant custom development effort and complexity, and it doesn't enforce a consistent state as effectively as a dedicated configuration management tool like Systems Manager State Manager.
AWS OpsWorks: While a valid configuration management service, OpsWorks requires setting up and managing individual stacks in each account/region, increasing operational overhead compared to the centralized model of Systems Manager with AWS Organizations. It also relies on Chef or Puppet expertise, which may not be present, and is being phased out in favor of Systems Manager.
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 AWS Systems Manager Quick Setup, and how does it simplify fleet management?
Open an interactive chat with Bash
How does State Manager help prevent configuration drift across instances?
Open an interactive chat with Bash
What is AWS Systems Manager Distributor, and how does it manage software package deployments?
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