AWS Certified Solutions Architect Associate SAA-C03 Practice Question
Which deployment approach best exemplifies the principle of immutable infrastructure in AWS?
Use AWS CodeDeploy blue/green deployments that launch a new Auto Scaling group with an updated AMI, test it, and then shift traffic to the new instances.
Apply Chef recipes over SSH to reconfigure the existing fleet.
Manually log in to each server to pull the latest application code from Git.
Patch each EC2 instance in place using AWS Systems Manager Run Command.
Immutable infrastructure forbids in-place changes; instead, a fresh set of instances is provisioned and promoted. A blue/green deployment that creates a new Auto Scaling group with a new AMI and then shifts traffic embodies this model. In-place patching (Option A), remote-configuration tools that mutate existing hosts (Option C), and manual SSH updates (Option D) all modify running servers, violating immutability.
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 immutable infrastructure?
Open an interactive chat with Bash
What are the benefits of using immutable infrastructure?
Open an interactive chat with Bash
How does immutable infrastructure relate to DevOps practices?