Networking Flashcards
TCP/IP
Application layer: the group of applications that require network communication. This is what the user typically interacts with, such as email and messaging.
Transport layer: responsible for providing a solid and reliable end-to-end connection between the original application or device and its intended destination. This is the level where data is divided into packets and numbered to create a sequence. TCP or UDP
Internet: Responsible for connecting independent networks to transport the packets across network boundaries
Data link Layer: defines how data should be sent, handles the physical act of sending and receiving data, and is responsible for transmitting data between applications or devices on a network. Includes ethernet and network interface cards.
How does the internet work?
Network of computers linked together. The connections are a mixture of copper cables, fiber optic cables, wireless radio connections and satellite links.
The role of the internet to transfer data from one place to another. It does this by a process called packet switching. This is made possible by two things.
hardware that consists of copper cables, fiber optics, and wireless radio connections.
and protocols which are a set of rules that govern how entities communicate. An example is tcp/ip
How does DNS work?
- Computer first checks its own cache memory. If it can not find it, it will send a query to the resolver server which is typically managed by the users ISP
- The revolver checks its own cache memory for the given domain name. If it cant find it then it forwards the request to the root name server.
- The root name server then forward the request for the domain to one of the top level domain servers for .com.
- the name server for .com then directs the resolver to the authoritative name server which holds a copy of all domain names and associated IP addresses for a region.
- The authoritative name server then returns the IP address to the DNS resolver
- The resolver returns the IP address to the browser as well as caching the IP address .
What is DNS used for?
Resolves human readable domain names to IP addresses
Examples of DNS records
SOA(start of authority)
What’s a (SSL) certificate supposed to do?
It’s a digital certificate that authenticates a website’s identity & enables an encrypted connection
Name a network control protocol?
DHCP
What does DCHP do?
DHCP is used to automate the process of configuring devices with ip addresses
TCP vs UDP
TCP is a connection orientated protocol(reliable delivery; recovery from errors) where as udp is connection less. Udp is quicker and less secure than tcp as it doesn’t require two conversations before sending actual data.
Why does UDP exist? In what type of applications is it helpful?
faster transmission as it enables the transfer of data before an agreement is provided by the receiving party.
VoIP, DNS lookup, online games
What is a VPN?
VPN is a virtual private network that has encrypted data traversing a public network
What is data deduplication?
Is a process that eliminates redundant data in a data set. Reduces storage and bandwidth demand.
What happens when you type an address on a browser and hit enter?
The browser looks up the IP address for the domain name by using DNS which is basically a database that maps IP addresses to domain names.
Then the browser initiates a TCP connection with the server.
The browser then sends an HTTP request to the server and the server processes the request and sends back a response
What is load balencing?
Distributes load to multiple servers.
Allows for large-scale implementations and fault-tolerance
Horizontal scaling vs vertical scaling
Horizontal scaling means to add more machines to your pool of resources where as vertical scaling keeps the existing infrastructure and adds more computing power.