A team maintains a CI/CD pipeline that deploys a service using infrastructure-as-code. They need safe rollbacks and must detect configuration drift during runtime. Instances must be able to scale out while maintaining configuration consistency. Which combination best meets these operational goals?

Answer

Use CloudFormation drift detection for stacks, enable AWS Systems Manager State Manager for configuration enforcement, and store environment variables in launch templates/parameters referenced by the stack.

Explanation

Drift detection identifies divergence from the declared infrastructure, while State Manager continuously enforces desired configuration on instances. Tying config to stack-referenced parameters and templates helps keep scale-out consistent.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

You need to design a durable, low-latency caching layer in front of an API backed by DynamoDB. Traffic is spiky, and you must avoid thundering herds on cache misses while supporting sub-second reads for the majority of requests. Which combination is most appropriate?

View question →

You are asked to design a cost-optimized container platform on AWS with strict memory limits, unpredictable traffic spikes, and frequent image updates. The solution must support zero-downtime deployments and scale rapidly. Which architecture best meets these constraints?

View question →

A platform team builds an event-driven workflow. Some steps call third-party APIs with variable response times, and they must ensure failed steps can be retried safely without corrupting state. They also want visibility into long-running executions and deterministic ordering of compensating actions. What is the best service choice and pattern?

View question →

A regulated workload must keep all data encrypted at rest with customer-managed keys and must prove that every access to the data plane is logged. Additionally, KMS key usage should be restricted to specific roles only. Which set of controls best satisfies these requirements?

View question →

A global analytics pipeline ingests web events from multiple regions, transforms them, and loads results into a lake. You must minimize data movement costs and ensure schema evolution is handled without breaking downstream consumers. Which approach best addresses this?

View question →

You are migrating a legacy three-tier app to AWS. The app currently relies on sticky sessions at the load balancer and stores session state in memory. You need to preserve user experience while enabling blue/green deployments and horizontal scale. Which approach is most suitable?

View question →

QuestionBack to list