AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A global retail company operates a large, hybrid environment with thousands of Amazon EC2 instances across multiple AWS accounts and a significant number of on-premises servers in their data centers. The operations team is struggling with configuration drift across this fleet, leading to inconsistent application behavior and compliance violations. They need a scalable, centralized solution to enforce a desired configuration state, including specific software versions and security settings, on all servers. The solution must minimize operational overhead by avoiding the need to manage dedicated configuration management servers and should automatically remediate any detected drift.
Which AWS Systems Manager capability should a solutions architect recommend to meet these requirements most effectively?
Use SSM Run Command to periodically execute scripts that check and apply the required configuration.
Configure SSM Inventory to collect metadata and use AWS Config rules to detect non-compliant resources.
Develop a complex SSM Automation runbook that checks for drift and orchestrates remediation steps.
Create SSM State Manager associations that apply a desired configuration document on a schedule.
The correct answer is to use SSM State Manager associations. State Manager is a configuration management service that automates the process of keeping managed nodes in a defined state. By creating an association, you link managed instances (both EC2 and on-premises) with an SSM document that defines the target configuration. State Manager will apply this configuration on a schedule you define, automatically detecting and remediating any configuration drift, which directly addresses the core requirements of the scenario.
SSM Run Command is designed for ad-hoc or one-time remote command execution, not for maintaining a consistent state over time. While it can be used for applying configurations, it doesn't have the built-in scheduling and drift-remediation capabilities of State Manager.
SSM Inventory combined with AWS Config is an excellent solution for detecting and reporting on configuration compliance, but it does not natively enforce the state or perform the remediation itself. Remediation would need to be triggered as a separate action, making it a less direct and less efficient solution for this specific problem.
SSM Automation is used for orchestrating complex workflows and multi-step tasks, which can include AWS API calls across different services. While a custom automation could be built for this purpose, it is overly complex for declarative state management. State Manager is the purpose-built, more direct, and efficient tool for maintaining a desired state.
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.
How does SSM State Manager ensure configuration drift is remediated?
Open an interactive chat with Bash
What is the difference between SSM State Manager and SSM Run Command?
Open an interactive chat with Bash
Why wouldn’t SSM Inventory and AWS Config be sufficient for this use case?
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