GateAI
Principles of Layering

GATE CSE 2011 · Q2

MCQ1 markMedium

Time

A layer-4 firewall (a device that can look at all protocol headers up to the transport layer) CANNOT (A) block entire HTTP traffic during 9:00PM and 5:00AM (B) block all ICMP traffic (C) stop incoming traffic from a specific IP address but allow outgoing traffic to the same IP address (D) block TCP traffic from a specific user on a multi-user system during 9:00PM and 5:00AM

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: D) block TCP traffic from a specific user on a multi-user system during 9:00PM and 5:00AM

Principles of Layering

A layer-4 firewall inspects headers up to Layer 4 (Transport Layer, such as TCP/UDP port numbers) and Layer 3 (IP addresses, ICMP types).

  • (A) HTTP uses TCP port 80 (and 443 for HTTPS). A layer-4 firewall can block packets with destination/source port 80 based on time schedules.

  • (B) ICMP operates at the network layer (Layer 3). A layer-4 firewall can inspect and block ICMP packets.

  • (C) A stateful layer-4 firewall can inspect IP addresses and TCP state flags (like SYN) to distinguish and filter incoming connections while allowing outgoing connections.

  • (D) User identification on a multi-user system belongs to the application/OS level. The transport layer packet headers only contain port numbers and IP addresses, not user identity or credentials. Thus, a layer-4 firewall cannot block traffic based on a specific user.

Therefore, the correct option is (D).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Principles of Layering previous year question is Q2 of the GATE CSE 2011 paper. Find more GATE CSE PYQs on Principles of Layering in Computer Networks, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Principles of Layering PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Principles of Layering in GATE CSE

Principles of Layering has 12 GATE CSE PYQs across 10 papers from 2011 to 2025. 9 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2011.

How GATE tests Principles of Layering

More from GATE CSE 2011

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2011 · Q2 · MCQ

A layer-4 firewall (a device that can look at all protocol headers up to the transport layer) CANNOT (A) block entire HTTP traffic during 9:00PM and 5:00AM (B) block all ICMP traffic (C) stop incoming traffic from a specific IP address but allow outgoing traffic to the same IP address (D) block TCP traffic from a specific user on a multi-user system during 9:00PM and 5:00AM

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.