๐ŸŽ“ BookMCQ
โ† Back to 32. Internet Security

๐Ÿ“ Proxy firewall in network security (11 MCQs)

๐Ÿ“– From Data Communication and Networks โ€ข 32. Internet Security โ€ข 11 questions available

What is Proxy firewall in network security?

A proxy firewall operates at the application layer by intercepting all traffic and acting as an intermediary between clients and servers, inspecting full application content and enforcing granular security policies before forwarding legitimate requests.

3
Easy
5
Medium
3
Hard

๐Ÿ“ All Proxy firewall in network security MCQs

Q1. Which of the following best describes the purpose of a metafile in the second approach to streaming stored audio/video?

A.Stores the entire audio/video content
B.Provides authentication credentials
C.Contains information such as URL and metadata about the audio/video file โœ…
D.Acts as a compression algorithm
๐Ÿ’ก Difficulty: easy | โœ… Correct: C

๐Ÿ“– Explanation: The metafile does not hold the media itself; it carries descriptive data like the fileโ€™s URL, size, format, and timing information. The media player reads this metadata to locate and stream the actual audio/video file, enabling onโ€‘demand access without embedding the full content.

Q2. If TCP retransmits lost segments causing additional delay, which streaming approach is most likely to suffer noticeable playback interruption?

A.First approach using only a web server โœ…
B.Second approach with metafile
C.Third approach using media server
D.None of the above
๐Ÿ’ก Difficulty: easy | โœ… Correct: A

๐Ÿ“– Explanation: TCPโ€™s retransmission adds latency, which is most problematic when the whole file must be downloaded before playback begins. In the first approach the client must receive the complete file via HTTP/TCP before the media player can start, so any retransmission directly extends the wait time, leading to perceptible interruptions.

Q3. Compare the latency experienced by users in the first approach (direct download) versus the second approach (metafile then media player). Which statement is accurate?

A.First approach always lower latency
B.Second approach eliminates latency
C.Both have identical latency
D.Second approach typically reduces initial latency because the media player can start buffering earlier โœ…
๐Ÿ’ก Difficulty: medium | โœ… Correct: D

๐Ÿ“– Explanation: When a metafile is retrieved first, the media player obtains the URL quickly and can begin streaming portions of the audio/video while the rest of the file continues to download. This overlap shortens the waiting period before playback, unlike the first approach where playback must wait for the entire file to arrive, resulting in higher perceived latency.

Q4. How does a proxy firewall positioned between client and server impact the third approach that uses a dedicated media server?

A.It encrypts the media stream
B.It can inspect and allow RTSP traffic while blocking HTTP โœ…
C.It forces the client to use HTTP only
D.It has no effect
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: A proxy firewall can be configured to recognize streaming protocols such as RTSP (often carried over UDP/TCP on port 554). By permitting this traffic and simultaneously blocking standard HTTP requests, the firewall enables the media server to deliver continuous streams while preventing nonโ€‘streaming HTTP downloads, thereby shaping traffic according to security policy.

Q5. Why is TCP considered unsuitable for large continuous audio/video streams compared to protocols like UDP?

A.TCP provides ordered delivery
B.TCPโ€™s retransmission mechanism can introduce latency unsuitable for realโ€‘time playback โœ…
C.TCP cannot handle any loss
D.TCP is slower due to lower bandwidth
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: TCP guarantees reliable delivery by retransmitting lost packets, which adds variable delay. For realโ€‘time audio/video, this delay can cause buffering or stutter, degrading the user experience. Protocols like UDP forego retransmission, delivering packets with minimal latency, making them preferable for continuous streaming where occasional loss is tolerable but timely arrival is critical.

Q6. Which advantage does using a dedicated media server (third approach) have over a web server with a metafile (second approach)?

A.Media server can use streaming protocols optimized for continuous delivery โœ…
B.Media server reduces security
C.Media server eliminates need for any client buffering
D.Media server requires no network resources
๐Ÿ’ก Difficulty: medium | โœ… Correct: A

๐Ÿ“– Explanation: A dedicated media server can employ protocols such as RTP/RTSP that support features like adaptive bitrate, jitter buffering, and realโ€‘time control, which are not available through simple HTTP file transfers. This specialization allows smoother playback, efficient bandwidth usage, and better handling of large media files compared with a generic web server that only serves static files and metafiles.

Q7. Design a proxy firewall rule set that permits onโ€‘demand streaming of stored video while preventing users from downloading the entire file. Which combination best achieves this?

A.Allow all HTTP GET requests, block all POST
B.Allow HTTP range requests but block fullโ€‘file GET โœ…
C.Block all traffic to port 80
D.Permit only UDP traffic on port 554
๐Ÿ’ก Difficulty: hard | โœ… Correct: B

๐Ÿ“– Explanation: By allowing HTTP range (byteโ€‘range) requests, the client can retrieve small segments of the video for buffering while the firewall blocks requests that ask for the whole file in a single GET. This selective permission enables streaming playback yet stops users from obtaining the complete file in one transfer, balancing accessibility with content protection.

Q8. If a proxy server caches the first 10 seconds of a video file in the first approach, what is the most likely effect on user experience?

A.No effect
B.Increases initial buffering time
C.Decreases initial buffering time โœ…
D.Causes playback to stop after 10 seconds
๐Ÿ’ก Difficulty: hard | โœ… Correct: C

๐Ÿ“– Explanation: When the proxy already holds the initial segment, the client can retrieve it instantly without waiting for the origin server. This reduces the time needed before playback can start, leading to a quicker response and smoother user experience, especially on slower connections where fetching the first bytes would otherwise dominate the startup delay.

Q9. How does TCP behavior differ when a client retrieves a metafile versus when it retrieves the actual audio/video file?

A.Metafile retrieval involves small packets with low retransmission impact, while large media files cause more frequent retransmissions โœ…
B.Both have identical TCP behavior
C.Media files use UDP
D.Metafile uses TCP, media uses FTP
๐Ÿ’ก Difficulty: hard | โœ… Correct: A

๐Ÿ“– Explanation: Metafiles are typically tiny, so any lost packets are quickly retransmitted with minimal effect on overall latency. In contrast, large audio/video files generate many packets; loss of any segment triggers TCPโ€™s retransmission algorithm, potentially causing noticeable delays and jitter that can disrupt continuous playback if not managed by buffering strategies.

Q10. In onโ€‘demand streaming, what buffering strategy must the client implement to ensure smooth playback despite variable network speed?

A.No buffering
B.Preโ€‘buffer a few seconds and adaptively refill โœ…
C.Download entire file before playback
D.Use only realโ€‘time playback without storage
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: The client should initially download a short segment (a few seconds) to create a playback buffer, then continue fetching subsequent data while monitoring network conditions. If speed drops, the buffer compensates, preventing interruptions. This adaptive buffering balances latency and continuity, allowing seamless viewing even when bandwidth fluctuates.

Q11. If the URL contained in a metafile points to a resource blocked by the proxy firewall, what will the media player experience?

A.Immediate playback
B.Automatic fallback to another URL
C.Playback of alternative content
D.Failure to retrieve the media file resulting in error message โœ…
๐Ÿ’ก Difficulty: easy | โœ… Correct: D

๐Ÿ“– Explanation: When the firewall denies access to the URL, the media player cannot establish a connection to the server hosting the audio/video file. Consequently, it reports an error (e.g., โ€œUnable to locate mediaโ€) and aborts playback, as it has no alternative source to retrieve the requested content.

๐Ÿ”— Related Topics (MCQs)