Courseiva
Security ArchitecturemediumMultiple ChoiceObjective-mapped

CAS-004 Security Architecture Practice Question

An organization wants to implement infrastructure as code (IaC) with immutable infrastructure. Which security benefit does immutable infrastructure provide?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Reduced attack surface due to consistent configurations

Immutable infrastructure enforces that servers are never modified after deployment; updates are made by replacing the entire server, reducing configuration drift and vulnerabilities.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Better performance through caching

    Why it's wrong here

    Performance is not a direct security benefit.

  • Reduced attack surface due to consistent configurations

    Why this is correct

    Immutable infrastructure ensures consistent, known-good configurations, reducing drift and vulnerabilities.

  • Simpler network segmentation

    Why it's wrong here

    Network segmentation is independent of immutability.

  • Easier patch management

    Why it's wrong here

    Patching is done by redeploying a new image, not by applying patches to running systems.

About these practice questions

One of 968 original CAS-005 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CAS-005 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CAS-005 exam.