A company runs web apps on EC2 using AWS Elastic Beanstalk. A developer must change configuration so that new settings apply only to newly launched instances. Which deployment types meet this requirement? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Immutable, Blue/green.
Why this is the answer
Immutable deployments launch a new set of instances with the updated configuration, then swap traffic to them. The old instances are terminated, ensuring new settings apply only to new instances. Blue/green deployments achieve a similar outcome by provisioning a completely separate environment (the "green" environment) with the new configuration. Once validated, traffic is shifted from the old ("blue") environment to the new one. This also guarantees that new settings are applied only to newly launched resources. All at once, Rolling, and Rolling with additional batch deployments update existing instances in place or in batches, meaning some existing instances will receive the new configuration, which does not meet the requirement of applying settings only to newly launched instances.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed