Prev Next

DataStructures / Cyber Security Interview Questions

How does a Firewall differ from a Proxy Server?

A firewall controls traffic based on rules like IP address, port, and protocol, deciding whether a packet is allowed through or blocked. A proxy server, by contrast, sits between clients and the destination, actually terminating and re-establishing the connection on the client's behalf.

  • A firewall inspects headers, and sometimes payloads, but generally passes traffic straight through
  • A proxy fully intercepts the request, can cache content, and can rewrite or filter it before forwarding
  • A forward proxy hides internal clients from external servers; a reverse proxy hides internal servers from external clients

The two are often deployed together: a firewall handles broad network-level filtering, while a proxy adds application-aware inspection, caching, and anonymization on top.

What does a proxy server do that a basic firewall does not?
What does a reverse proxy hide?

Invest now in Acorns!!! 🚀 Join Acorns and get your $5 bonus!
Acorns Logo

Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!

Earn passively and while sleeping

Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.

Robinhood Logo

Invest now!!! Get Free equity stock (US, UK only)!

Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.

The Robinhood app makes it easy to trade stocks, crypto and more.


Webull Logo

Webull! Receive free stock by signing up using the link: Webull signup.

More Related questions...

What is a Firewall? What is CyberSecurity? What are the types of Firewalls? Different Types of Cybersecurity. What is Cryptography? What is Network Security? Explain Information Security. What is Malware? What are the common types of Malware? What is Endpoint Security? What are examples of endpoints in Endpoint security? What is Phishing? What is Ransomware? What are the three main types of endpoint security? What is a Virtual Private Network (VPN)? What are the 5 C's of Cyber Security? What is Multi-Factor Authentication (MFA)? What is a Digital Signature? What is Hashing in Cyber Security? What is a Zero-Day Vulnerability? What is Social Engineering? Define Denial-of-Service (DoS) Attack? What is the purpose of an Intrusion Detection System (IDS)? What is a Honeypot? Describe the CIA Triad in Cyber Security? What is Two-Factor Authentication? What are the types of Access Control models? What is a Security Information and Event Management (SIEM) system? List common types of Cyber Attacks? What is Public Key Infrastructure (PKI)? What is a Man-in-the-Middle (MITM) Attack? What is SQL Injection? What is Cross-Site Scripting (XSS)? What is the difference between IDS and IPS? What is the difference between Symmetric and Asymmetric Encryption? How does SSL/TLS secure communication over the network? Why is the Principle of Least Privilege important? What is the difference between Vulnerability Assessment and Penetration Testing? How does a Firewall differ from a Proxy Server? What is the difference between Authentication and Authorization? When should you use a Web Application Firewall (WAF)? What is the difference between DAC, MAC, and RBAC? Why do we use Salting in password hashing? What happens when a Buffer Overflow attack occurs? How does a Distributed Denial-of-Service (DDoS) Attack differ from a DoS Attack? What is the difference between a Vulnerability, a Threat, and a Risk? How does Zero Trust Architecture change traditional network security? Why should you rotate encryption keys periodically? Explain the lifecycle of an Incident Response process? Explain the internal working of the TLS Handshake? Explain the execution flow of a SQL Injection attack? How can you optimize a SIEM system to reduce alert fatigue? How do you troubleshoot a suspected data breach in its early stages? Which is better and why: Signature-based or Behavior-based Malware Detection? Explain the lifecycle of a Digital Certificate in PKI? Explain the internal working of Kerberos Authentication?
Show more question and Answers...

AI

Comments & Discussions