Courseiva
Cloud Platform and Infrastructure SecuritymediumMultiple SelectObjective-mapped

CCSP Cloud Platform and Infrastructure Security Practice Question

A cloud security auditor is reviewing container runtime configurations. Which TWO practices help prevent a container from compromising the host operating system?

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

Using a read-only root filesystem

Running containers without the --privileged flag and with a read-only root filesystem reduces the risk of host compromise.

Answer analysis

Option-by-option breakdown

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

  • Using a read-only root filesystem

    Why this is correct

    A read-only filesystem prevents writing to critical system areas.

  • Disabling SELinux inside the container

    Why it's wrong here

    Disabling SELinux reduces security.

  • Running containers in privileged mode

    Why it's wrong here

    Privileged mode grants extensive host access, increasing risk.

  • Dropping all Linux capabilities

    Why this is correct

    Dropping all Linux capabilities removes every granular privilege—such as `CAP_SYS_ADMIN` or `CAP_NET_RAW`—that a containerised process could otherwise inherit from the host kernel. This directly satisfies the stem’s requirement to prevent container-to-host compromise by eliminating the capability-based attack surface that could allow privilege escalation or direct kernel manipulation.

  • Mapping the host's Docker socket into the container

    Why it's wrong here

    Mapping the Docker socket gives container control over the host daemon.

About these practice questions

This CCSP question is part of Courseiva's 964-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.