Courseiva
mediumMultiple ChoiceObjective-mapped

CAS-004 Practice Question: Based on the iptables exhibit, a security analyst…

Network Topology
10 840 ACCEPT alllo * 0.0.0.0/0100 5400 ACCEPT all50 3000 ACCEPT tcp20 1200 ACCEPT tcp15 900 ACCEPT tcp5 300 DROP tcp3 180 LOG tcp50 3000 ACCEPT alleth0 eth1 0.0.0.0/0Refer to the exhibit.# iptables -L -n -v

Based on the iptables exhibit, a security analyst has received an alert that an external IP (203.0.113.5) is attempting to connect to TCP port 3389 on the server. Which of the following best describes the current rule set's treatment of this traffic?

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

The connection will be logged and then dropped by the default policy

The rule set has a LOG rule for tcp dpt:3389 from any source, which will log the packet but not explicitly accept or drop it; since the policy in the INPUT chain is DROP, the packet will be dropped after being logged. Option A is incorrect because the LOG rule does not drop, only logs. Option C is incorrect because there is no ACCEPT rule for 3389. Option D is incorrect because the default policy is DROP.

Answer analysis

Option-by-option breakdown

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

  • The connection will be allowed through because there is no explicit DROP rule

    Why it's wrong here

    Default policy is DROP.

  • The connection will be logged and then dropped by the default policy

    Why this is correct

    LOG rule logs, then default policy (DROP) drops the packet.

  • The connection will be accepted because there is a LOG rule

    Why it's wrong here

    LOG does not accept.

  • The connection will be logged and then dropped by the LOG rule

    Why it's wrong here

    LOG does not drop; it only logs.

About these practice questions

Courseiva writes every CAS-005 question from scratch — 968 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.