A network is a group of interconnected devices that communicate to share resources and information. It can be wired or wireless.
Model OSI
- Physical (RS-232, RJ45, 802.11): Physical connection between devices, including cables and switches.
- Data Link (): Facilitates data transfer between devices on the same network, managing error control and flow control.
- Network (): Responsible for data routing and forwarding across different networks.
- Transport (): Ensures complete data transfer and error recovery between end systems.
- Session (): Manages sessions between applications, establishing, maintaining, and terminating connections.
- Presentation (): Translates data formats, encrypts, and compresses data for the application layer.
- Application (): Interfaces directly with end-user applications, providing services like email and file transfer.
TCP/IP
Interview Questions
- What is a network ?
- What is an IP address ?
- What is the difference between IPv4 and IPv6 ?
- What are private and public IP addresses ?
- What is a subnet mask ?
- What is DHCP , and how does it work?
- What is DNS , and why is it important?
- What is NAT ?
- What is a firewall ?
- What are the types of firewalls ?
- What is a VPN ?
- What is SSH , and why is it used?
- What is HTTP and HTTPS ?
- What is an SSL/TLS certificate ?
- What is a load balancer?
- What are different types of load balancers?
- What is a DMZ in networking ?
- What is port forwarding?
- What is ARP (Address Resolution Protocol)?
- What is an IDS and IPS?
- What is Zero Trust Security?
- What is the difference between symmetric and asymmetric encryption?
- What is a CDN (Content Delivery Network)?
- What is the difference between TCP and UDP?
- How does a reverse proxy improve security?
- What are the benefits of HTTPS over HTTP?
- How does multi-factor authentication (MFA) enhance security?
- What is a bastion host?
- What is OSI Model and its layers?
- What is a WAF (Web Application Firewall)?
- What is a honeypot in cybersecurity?
- What is BGP (Border Gateway Protocol)?
- What is DDoS, and how can it be mitigated?
- What is the CIA Triad in security?
- What is SSO (Single Sign-On)?
- What is a security token?
- What is an access control list (ACL)?
- What is a container network security concern?
- What is network segmentation?
- What is the difference between active and passive reconnaissance?
- What is mutual TLS (mTLS), and why is it used?
- What is the difference between L3, L4, and L7 firewalls?
- How does AWS Security Groups differ from Network ACLs?
- What is a SIEM (Security Information and Event Management) system?
- What is a threat model in security?
- What is an ephemeral port, and how is it used?
- How does DNSSEC enhance DNS security?
- What are the different types of VPNs?
- How does a service mesh improve security in Kubernetes?
- What are some common OWASP Top 10 security risks?
- How do WebSockets handle security concerns?
- What is an SSRF (Server-Side Request Forgery) attack?
- How does an AWS WAF protect applications?
- How does Kubernetes RBAC (Role-Based Access Control) work?
- What is a MAC address, and how does MAC filtering enhance security?
- How does DNS poisoning work, and how can it be prevented?
- What is a federated identity in security?
- How does Kubernetes Network Policy improve security?
- What is the principle of least privilege (PoLP)?
- How do HSTS (HTTP Strict Transport Security) and CSP (Content Security Policy) improve web security?