Cloud concept · Updated

Configuration Management - Configuration management is the practice of defining, tracking, and controlling system settings and components so that environments remain consistent with an approved state.

In short

Configuration management makes infrastructure and application settings repeatable, auditable, and easier to recover when changes cause problems. In the cloud, it is a shared responsibility: the provider configures its underlying infrastructure, while customers manage the settings and software within their control.

Cloud Concepts Hub →

6 key aspects of Configuration Management

Effective configuration management combines clear ownership, approved baselines, repeatable deployment, configuration history, drift detection, and controlled recovery.

01
Responsibility boundaries

Identify which configuration layers belong to the provider and which remain under customer control. Reassess the boundary when moving from virtual machines to managed services rather than assuming the same responsibilities apply.

02
Approved configuration baselines

Define expected settings, software versions, and resource properties before deployment. Baselines give engineers a concrete standard for evaluating consistency and investigating deviations.

03
Repeatable deployment

Use version-controlled templates and configuration automation to apply approved settings consistently. Test changes before broad deployment because automation can reproduce mistakes as efficiently as correct settings.

04
Configuration visibility and history

Maintain an inventory and configuration history for resources within the required scope. Combine configuration records with activity logs to investigate what changed and who initiated the change.

05
Drift detection and remediation

Compare actual settings against approved expectations and investigate differences. Automate remediation where the corrective action is well understood, with safeguards for changes that could disrupt workloads.

06
Controlled changes and recovery

Review, test, and authorize configuration changes according to their risk. Preserve previous definitions and plan recovery, recognizing that some changes require resource replacement or cannot be reversed without data recovery.

Cloud services for Configuration Management

AWS CloudFormation establishes repeatable resource definitions, while AWS Systems Manager applies and maintains operating system and software settings on managed nodes. AWS Config records supported resource configurations and evaluates selected requirements, helping teams detect deviations from approved expectations. AWS CloudTrail supplies activity records that help explain how those deviations occurred. Together, these services support deployment, observation, investigation, and remediation across customer-controlled layers. Engineers must still define the baselines, configure permissions and coverage, review exceptions, and test corrective actions; using the services does not transfer customer configuration responsibilities to AWS.

AWS ConfigAWS Config

AWS Config records configuration information and relationships for supported resource types and can evaluate resources against configured rules. It helps identify deviations, but evaluation coverage depends on the resources, properties, and rules in scope; remediation must be configured separately.

AWS Systems ManagerAWS Systems Manager

AWS Systems Manager helps manage operating systems and software on managed nodes. Capabilities such as State Manager, Inventory, and Automation support desired configurations, visibility, and controlled corrective actions when the required access and node prerequisites are configured.

AWS CloudFormationAWS CloudFormation

AWS CloudFormation defines and provisions supported AWS resources through templates, enabling repeatable infrastructure configurations. Change sets help review proposed updates, while drift detection can identify differences for supported resources and properties.

AWS CloudTrailAWS CloudTrail

AWS CloudTrail records account activity, including supported API actions that change resource configurations. It helps investigate who made a change and when, but does not define desired settings or enforce configuration baselines.

Configuration Management exam questions

Real practice exam questions on Configuration Management, with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

A company runs an application on Amazon EC2 instances that are regularly replaced to meet demand. Administrators enable the application's required transaction logging manually, but replacement instances start with logging disabled. The company must ensure that replacement instances meet its logging policy. Which action should the company take under the AWS shared responsibility model?

Show answerCORRECT ANSWER

Include the approved application logging settings in a version-controlled deployment configuration, apply it to each replacement instance, and verify the settings.

The customer is responsible for configuring its application. Recording approved settings and applying them consistently during deployment prevents replacement instances from losing required configuration. Verification confirms that the deployed application meets the policy.

DVA-C02

A company uses AWS AppConfig to manage purchase-limit settings that an application retrieves at runtime. A CI/CD pipeline creates a hosted configuration version and deploys it to a test environment before production. The configuration profile already has a JSON Schema validator that requires minimumQuantity and maximumQuantity to be positive integers.

A recent configuration passed validation but set minimumQuantity higher than maximumQuantity, causing application errors. The developer must ensure that future configurations violating this relationship are rejected before a deployment begins, without changing the application code.

Which change meets this requirement?

Show answerCORRECT ANSWER

Add a Lambda validator to the configuration profile. Have the function decode the configuration, compare the quantities, and raise an exception if minimumQuantity exceeds maximumQuantity.

AppConfig supports Lambda validators for semantic checks that go beyond the existing schema's field-level constraints. AppConfig invokes the validator before deployment and treats a Lambda invocation error as validation failure. Raising an exception rejects the invalid configuration before it is deployed.

AIP-C01

A company operates a Lambda-based inference router with deployed integrations for two approved foundation model providers. The router retrieves its model-routing configuration at runtime, and each execution environment adopts configuration changes within 1 minute. Operators must switch providers without updating application code or Lambda settings.

Both providers return successful API responses even when generated summaries omit important facts. An existing evaluation pipeline publishes a custom CloudWatch omission-rate metric within 8 minutes after inference. A CloudWatch alarm detects an unacceptable omission rate within another 2 minutes. Application error and latency metrics do not reveal these quality regressions.

The company wants to distribute a provider-selection change gradually over 10 minutes, then observe it for 20 additional minutes after configuration distribution reaches 100%. A quality regression detected during either period must automatically initiate restoration of the previous routing configuration, without a code deployment or custom rollback workflow.

Which solution best meets these requirements?

Show answerCORRECT ANSWER

Store routing configuration in AWS AppConfig. Use a deployment strategy with a 10-minute deployment duration and a 20-minute final bake time. Associate the omission-rate CloudWatch alarm with the AppConfig environment, and have the router continue refreshing the deployed configuration at runtime.

The deployment duration provides gradual distribution, while the final bake time keeps the deployment under observation after distribution reaches 100%. An environment-associated CloudWatch alarm can trigger automatic rollback during deployment or the bake period. Monitoring the omission-rate metric detects the stated quality failure, and runtime refresh allows execution environments to adopt the restored configuration without code changes.

Practice Configuration Management in a full exam

Questions on Configuration Management in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

What is Configuration Management

2 min read

Configuration management establishes what a system should contain, how it should be configured, and how changes to that configuration are recorded and controlled. A configuration can include operating system settings, installed software versions, network rules, identity permissions, database parameters, and application options. Engineers define an approved baseline, deploy it consistently, and compare running environments against that baseline to identify unexpected differences.

Under the AWS shared responsibility model, configuration management is a shared control because both AWS and the customer perform it, but for different layers. AWS maintains the configuration of the infrastructure that supports its cloud services, including physical infrastructure and underlying infrastructure devices. Customers are responsible for configuring the resources, applications, and customer-controlled software they deploy. Shared does not mean that both parties jointly approve every setting or that AWS corrects customer misconfigurations automatically.

The exact boundary depends on the service. For an Amazon EC2 instance, AWS manages the underlying hardware and virtualization infrastructure, while the customer manages the guest operating system, installed applications, and security group rules. With a managed database, AWS operates more of the underlying platform, but the customer still controls settings such as permitted network access, database users, and supported database parameters. Choosing a managed service reduces some operational work; it does not remove responsibility for customer-accessible configuration.

A practical workflow starts with an inventory of resources and their owners. Engineers define approved settings in version-controlled templates or configuration policies, review proposed changes, test them outside production, and deploy them through controlled automation. For example, a team might require restricted administrative access, approved software versions, and enabled application logging. Configuration records and change history then help establish which resources meet those requirements and when deviations appeared.

Configuration drift occurs when the actual environment differs from the approved configuration. An emergency console change that opens a firewall rule can create drift even when the original deployment template was secure. Detection should lead to investigation and either remediation or an approved baseline update. Automatic remediation is useful for clear, low-risk violations, but a poorly designed rule can interrupt legitimate traffic or repeatedly undo an intentional operational change.

Automation improves consistency but can also spread an incorrect setting across many resources quickly. Reviews, staged deployments, limited deployment permissions, and recovery procedures reduce that risk. Detection also has limits: tools differ in resource coverage, supported properties, and evaluation timing. A compliant result demonstrates alignment with the rules being checked, not proof that the entire workload is secure.

Configuration management is broader than infrastructure as code, patch management, or change logging. Infrastructure as code describes and provisions resources, patch management updates software, and audit logs record actions; each supports configuration management without replacing it. For exam scenarios, first identify the affected layer, then determine whether AWS or the customer controls its configuration.

Learn Configuration Management in lessons

4 short lessons on Configuration Management in 3 certification courses.

Open the lessons