Security Architecture

A cloud team builds every environment from templates in version control. An admin manually opened a port in production, so it no longer matches the template. What is the BEST fix?

Show the answer

Correct answerD. Redeploy from the template and route all changes through code review

AWhy not this: Accepting the manual change leaves the environment drifting from the template and the unreviewed risk in place.

BWhy not this: Serverless changes the architecture but does not enforce template-based change control or fix the drift.

CWhy not this: An air gap isolates the network from others but does not stop admins changing configuration by hand.

DWhy this is right: Redeploying restores the template state and review-gated commits prevent unreviewed manual changes.

With IaC, the template is the source of truth: redeploying removes the drift, and requiring reviewed code changes stops manual edits recurring. An air gap isolates the network but does not control how configuration is changed.