Courseiva
easyMultiple ChoiceObjective-mapped

CAS-004 Practice Question: Implementing a risk management framework to…

A company is implementing a risk management framework to comply with PCI DSS. Which type of control is a firewall rule that blocks all inbound traffic except HTTP and HTTPS?

⚠ Common exam trap

Candidates often confuse 'preventive' with 'detective' because they think of firewall logs as detective, but the rule itself is a preventive control that stops traffic, while logging is a separate detective function.

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

Preventive

A firewall rule that blocks all inbound traffic except HTTP (port 80) and HTTPS (port 443) is a preventive control because it actively enforces a security policy by denying unauthorized traffic before it can reach internal systems. This aligns with PCI DSS Requirement 1, which mandates a firewall configuration to restrict inbound traffic to only necessary services, thereby reducing the attack surface. Preventive controls are designed to stop security incidents from occurring, which is exactly what this rule accomplishes by filtering traffic at the network layer.

Answer analysis

Option-by-option breakdown

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

  • Corrective

    Why it's wrong here

    Corrective controls remediate issues after detection, not prevent.

  • Compensating

    Why it's wrong here

    Compensating controls are alternative controls when primary controls are not feasible.

  • Preventive

    Why this is correct

    Preventive controls block or avoid security incidents.

  • Detective

    Why it's wrong here

    Detective controls identify incidents after they occur, not prevent them.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

This CAS-005 question is part of Courseiva's 968-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 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.