tryhackme notes sep2024 Flashcards
(302 cards)
How does a switch improve network efficiency compared to a hub?
A switch improves network efficiency by managing data traffic intelligently, directing packets only to the intended recipient device, whereas a hub broadcasts data to all connected devices.
How does the ‘Content-Type’ header function in HTTP responses?
‘Content-Type’ header specifies what kind of data the server returns to the client, such as an HTML document or a JPEG image.
Explain the priority of encoding specified in HTTP headers.
The encoding specified in the HTTP headers has a higher priority than the encoding specified in the header of the HTML document using the ‘meta charset’ HTML tag.
What is the significance of the SID for services.exe?
The SID for services.exe is NT AUTHORITY\SYSTEM (S-1-5-18), indicating it runs with the privileges of the most authorized user.
What follows the HTTP status line in a response?
After the HTTP status line, the HTTP response headers come, providing metadata for the returned resource or error.
Explain the concept of idempotent methods in HTTP.
Idempotent methods can send multiple identical requests to the server, and the outcome will always be the same regardless of how many times the requests are sent.
What is the range of values for each octet in an IP address?
Each octet in an IP address can range from 0 to 255.
How does an ARP request work?
An ARP request broadcasts a message on the network asking for the MAC address associated with a specific IP address.
How does the Destination Port differ from the Source Port in a UDP connection?
Unlike the Source Port, which is chosen at random, the Destination Port is not randomly chosen and corresponds to a specific application or service.
Describe the purpose of caching DNS queries.
Caching DNS queries mitigates the risk of using stale values in a DNS cache and improves efficiency.
Define TCP/IP in the context of web servers.
TCP/IP, or Transmission Control Protocol/Internet Protocol, is the underlying protocol suite used for communication over the internet.
Describe the OSI model.
The OSI model, or Open Systems Interconnection Model, is a fundamental framework used in networking that dictates how all networked devices send, receive, and interpret data.
Explain the significance of the FIN packet in TCP communication.
The FIN packet signifies the intention to terminate a connection, allowing both parties to acknowledge the closure.
How does the checksum field contribute to data integrity in networking protocols?
The checksum field provides integrity checking for protocols such as TCP/IP; if any data is changed, the checksum value will differ from what was expected, indicating corruption.
Define the purpose of the OSI model.
The purpose of the OSI model is to provide a standardized framework for understanding and implementing network communication between different systems.
Explain the role of a DNS resolver in the browsing process.
The DNS resolver responds to the web browser with the IP address of the domain requested.
What devices can be aggregated by a switch?
A switch can aggregate multiple devices such as computers and printers.
Explain the role of the Default Gateway in data transmission.
The Default Gateway is responsible for sending data to devices that are not on the same network.
Explain the function of an AAAA Record.
An AAAA Record maps a domain name to its corresponding IPv6 address.
Describe the function of the Flag header in packet handling.
The Flag header determines how the packet should be handled by either device during the handshake process.
Explain the setup complexity of IPSec compared to other protocols.
IPSec is more difficult to set up than other VPN protocols, but it offers stronger encryption if successfully configured.
What are the advantages of using UDP?
UDP is much faster than TCP, does not care if data is received or not, and allows application developers flexibility in how quickly packets are sent.
Describe the process a new device follows to obtain an IP address using DHCP.
A new device sends a request to the network to check for any available DHCP server. The DHCP server replies with an IP address that the device can use. The device then confirms the IP address, and the DHCP server acknowledges and confirms the completion of the process.
How does the HTTP server component function?
The HTTP server component interprets the client’s request and formulates the appropriate response.