AWS Certified Solutions Architect Associate SAA-C03 Practice Question
Which deployment approach best exemplifies the principle of immutable infrastructure in AWS?
Apply Chef recipes over SSH to reconfigure the existing fleet.
Patch each EC2 instance in place using AWS Systems Manager Run Command.
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.
Manually log in to each server to pull the latest application code from Git.
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 an AMI in AWS?
Open an interactive chat with Bash
How does a blue/green deployment work in AWS?
Open an interactive chat with Bash
What is immutable infrastructure and why is it important?