Cloud Concepts, Architecture and Design

An autoscaling VM fleet is patched in place, and configuration drift keeps failing audits. The team wants drift eliminated and a rollback path that needs no logins to instances. What should it do?

Show the answer

Correct answerA. Replace instances with a patched, hardened golden image and block in-place changes

AWhy this is right: Immutable deployment from a hardened image prevents drift and makes rollback a redeploy of the earlier image.

BWhy not this: An agent corrects drift after it happens and still relies on in-place changes, with no clean image rollback.

CWhy not this: Intrusion detection only alerts on drift; it neither prevents it nor provides a rollback path.

DWhy not this: Snapshots aid recovery from a failed patch but leave instances mutable, so drift continues to build up.

Immutable architecture replaces running instances with new ones built from a patched, hardened baseline image, so drift cannot accumulate and rollback means redeploying the prior image. An agent reapplying the baseline still permits in-place change and gives no clean rollback.