Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Application LayerEasy
Q1. What is Telnet used for?
- A.Remote login✓ Correct
- B.Email sending
- C.Web browsing
- D.File transfer
Explanation
Telnet is used for remote login to access and manage network devices. However, it transmits data in plain text and has been largely replaced by SSH.
Report an error in this question
Application LayerEasy
Q2. What does DNS stand for?
- A.Digital Network Standard
- B.Data Network Service
- C.Domain Name System✓ Correct
- D.Dynamic Name Server
Explanation
DNS stands for Domain Name System. It translates human-readable domain names (like www.example.com) into IP addresses.
Report an error in this question
Application LayerEasy
Q3. Which protocol is used to retrieve emails from a mail server while keeping them on the server?
- A.SMTP
- B.IMAP✓ Correct
- C.POP3
- D.FTP
Explanation
IMAP (Internet Message Access Protocol) allows users to access emails on the server without downloading them, keeping them synchronized across multiple devices.
Report an error in this question
Application LayerEasy
Q4. Which port does SSH use?
- A.25
- B.21
- C.22✓ Correct
- D.23
Explanation
SSH (Secure Shell) uses port 22. It provides encrypted remote access to network devices and servers.
Report an error in this question
Application LayerEasy
Q5. What does URL stand for?
- A.Universal Reference Locator
- B.Universal Resource Locator
- C.Uniform Resource Locator✓ Correct
- D.Unified Resource Link
Explanation
URL stands for Uniform Resource Locator. It specifies the address of a resource on the Internet, including the protocol, domain, and path.
Report an error in this question
Application LayerEasy
Q6. Which protocol does a web browser use to access websites?
- A.FTP protocol
- B.SMTP protocol
- C.Telnet protocol
- D.HTTP/HTTPS✓ Correct
Explanation
Web browsers primarily use HTTP or HTTPS to request and receive web pages from web servers.
Report an error in this question
Application LayerEasy
Q7. What port does FTP use for control connection?
- A.23
- B.21✓ Correct
- C.22
- D.20
Explanation
FTP uses port 21 for the control connection (commands and responses) and port 20 for the data connection.
Report an error in this question
Application LayerEasy
Q8. Which protocol is used to send emails?
- A.FTP
- B.SMTP✓ Correct
- C.IMAP
- D.POP3
Explanation
SMTP (Simple Mail Transfer Protocol) is used to send emails from a client to a server or between mail servers.
Report an error in this question
Application LayerEasy
Q9. What is HTTP?
- A.A routing protocol for networks
- B.An email delivery protocol
- C.A file transfer protocol only
- D.A protocol for transferring web pages✓ Correct
Explanation
HTTP (HyperText Transfer Protocol) is the foundation of data communication on the World Wide Web, used for transferring web pages and resources.
Report an error in this question
Application LayerMedium
Q10. What port does SMTP use?
- A.110
- B.21
- C.25✓ Correct
- D.80
Explanation
SMTP uses port 25 for communication between mail servers. Port 587 is used for mail submission from clients.
Report an error in this question
Application LayerHard
Q11. What is a RESTful API?
- A.An API that only supports GET requests
- B.An API using HTTP methods for stateless access✓ Correct
- C.An API that only works during off-peak hours
- D.An API built on SOAP protocol framework
Explanation
A RESTful API follows REST (Representational State Transfer) principles, using standard HTTP methods (GET, POST, PUT, DELETE) for stateless, resource-based client-server interactions.
Report an error in this question
Application LayerMedium
Q12. What is the difference between FTP active and passive modes?
- A.Active mode uses TCP; passive mode uses UDP for transfer
- B.Active mode is encrypted; passive mode is not encrypted
- C.There is no functional difference between the two modes
- D.In active mode server initiates data; in passive mode client does✓ Correct
Explanation
In active FTP, the server connects back to the client for data transfer. In passive FTP, the client initiates both control and data connections, which works better with firewalls.
Report an error in this question
Application LayerMedium
Q13. What is a MIME type used for in email?
- A.Filtering out spam messages
- B.Routing emails between servers
- C.Defining the content type format✓ Correct
- D.Encrypting email messages
Explanation
MIME (Multipurpose Internet Mail Extensions) types describe the format of email content, enabling emails to contain multimedia content like images, audio, and attachments.
Report an error in this question
Application LayerHard
Q14. What is the key improvement in HTTP/2 over HTTP/1.1?
- A.It uses UDP instead of TCP for speed
- B.It removes all encryption and TLS support
- C.It uses a completely different port number
- D.It multiplexes requests over a single connection✓ Correct
Explanation
HTTP/2 introduces binary framing and multiplexing, allowing multiple requests and responses to be interleaved over a single TCP connection, eliminating head-of-line blocking at the application layer.
Report an error in this question
Application LayerHard
Q15. What is the purpose of DNSSEC?
- A.To speed up DNS query resolution time
- B.To authenticate and verify DNS responses✓ Correct
- C.To encrypt DNS queries for user privacy
- D.To replace DNS with a new modern protocol
Explanation
DNSSEC (DNS Security Extensions) adds digital signatures to DNS responses, enabling clients to verify the authenticity and integrity of DNS data, preventing cache poisoning attacks.
Report an error in this question
Application LayerEasy
Q16. What is the role of a DNS resolver?
- A.Encrypting data for transfer
- B.Sending emails between servers
- C.Hosting websites on servers
- D.Translating domain names to IPs✓ Correct
Explanation
A DNS resolver receives queries from clients and recursively queries DNS servers to translate domain names into IP addresses.
Report an error in this question
Application LayerMedium
Q17. What HTTP status code indicates 'Not Found'?
- A.403
- B.200
- C.301
- D.404✓ Correct
Explanation
HTTP 404 means the requested resource was not found on the server. 200 is OK, 301 is Moved Permanently, and 403 is Forbidden.
Report an error in this question
Application LayerHard
Q18. What is DNS-over-HTTPS (DoH)?
- A.A new DNS record type for websites
- B.A faster version of DNS using caching
- C.A protocol encapsulating DNS within HTTPS✓ Correct
- D.A way to host DNS on web servers only
Explanation
DNS-over-HTTPS sends DNS queries and responses over HTTPS, encrypting them to prevent eavesdropping and manipulation by middleboxes, enhancing user privacy.
Report an error in this question
Application LayerHard
Q19. In HTTP, what is the purpose of the ETag header?
- A.Session management cookies
- B.Resource versioning for caching✓ Correct
- C.User authentication tokens
- D.Content encoding indicators
Explanation
ETag is a validator that identifies a specific version of a resource. Clients can use it with If-None-Match to check if a cached resource is still valid, reducing bandwidth.
Report an error in this question
Application LayerMedium
Q20. What is the difference between HTTP/1.1 persistent and non-persistent connections?
- A.Persistent connections use UDP instead of TCP
- B.Persistent keeps TCP open for multiple requests; non-persistent does not✓ Correct
- C.There is no difference between them at all
- D.Non-persistent connections are faster than persistent ones
Explanation
Persistent connections (default in HTTP/1.1) keep the TCP connection open for multiple requests, reducing connection setup overhead. Non-persistent opens and closes a connection for each request.
Report an error in this question
Application LayerMedium
Q21. What is the purpose of DNS caching?
- A.To create backup DNS server entries
- B.To block malicious domain name requests
- C.To encrypt DNS queries for privacy
- D.To store resolved names for faster lookups✓ Correct
Explanation
DNS caching stores recently resolved name-to-address mappings locally, reducing query time and DNS server load for subsequent requests for the same domain.
Report an error in this question
Application LayerHard
Q22. In DNS, what is a recursive query?
- A.A query where the server fully resolves the name✓ Correct
- B.A query that only checks local cache entries
- C.A query that returns only partial results
- D.A query that bypasses all DNS caches
Explanation
In a recursive query, the DNS server takes full responsibility for resolving the domain name. It queries other DNS servers as needed and returns the final answer to the client.
Report an error in this question
Application LayerMedium
Q23. In HTTP, what is the difference between GET and POST methods?
- A.GET is more secure than POST method
- B.GET retrieves data via URL; POST sends data in body✓ Correct
- C.POST is always faster than GET requests
- D.They are identical in every respect
Explanation
GET is used to retrieve data and parameters are visible in the URL. POST submits data in the request body, making it more suitable for sensitive data and large payloads.
Report an error in this question
Application LayerMedium
Q24. What type of DNS record maps a domain name to an IPv4 address?
- A.AAAA record
- B.A record✓ Correct
- C.MX record
- D.CNAME record
Explanation
An A (Address) record maps a domain name to an IPv4 address. AAAA records map to IPv6, MX records point to mail servers, and CNAME records create aliases.
Report an error in this question
Application LayerHard
Q25. What is DNS amplification attack?
- A.Modifying DNS responses to redirect users
- B.Using open resolvers to flood a target with traffic✓ Correct
- C.Blocking all DNS queries on the network
- D.Stealing DNS records from name servers
Explanation
DNS amplification is a DDoS attack where an attacker sends DNS queries with a spoofed source IP (victim's IP) to open resolvers. The large DNS responses flood the victim.
Report an error in this question
Application LayerMedium
Q26. Which protocol is used for secure file transfer?
- A.Telnet
- B.HTTP
- C.SFTP✓ Correct
- D.FTP
Explanation
SFTP (SSH File Transfer Protocol) provides secure file transfer by running over SSH, encrypting both commands and data.
Report an error in this question
Application LayerMedium
Q27. What is SNMP used for?
- A.Transferring files
- B.Browsing web pages
- C.Sending emails to users
- D.Managing network devices✓ Correct
Explanation
SNMP (Simple Network Management Protocol) is used to manage and monitor network devices such as routers, switches, servers, and printers.
Report an error in this question
Application LayerHard
Q28. What is the function of a reverse proxy?
- A.To block all incoming network traffic
- B.To hide the client identity from servers
- C.To forward requests to backend servers✓ Correct
- D.To replace DNS resolution entirely
Explanation
A reverse proxy sits in front of backend servers, distributing incoming requests among them. It provides load balancing, SSL termination, caching, and hides backend server details.
Report an error in this question
Application LayerHard
Q29. What is WebSocket and how does it differ from HTTP?
- A.WebSocket is only designed for file transfers
- B.WebSocket provides full-duplex persistent communication✓ Correct
- C.WebSocket uses UDP instead of TCP for transport
- D.WebSocket is a faster version of the HTTP protocol
Explanation
WebSocket establishes a persistent, full-duplex communication channel over a single TCP connection, allowing both server and client to send data independently, unlike HTTP's half-duplex request-response pattern.
Report an error in this question
Application LayerHard
Q30. What is the purpose of a CDN (Content Delivery Network)?
- A.To encrypt emails during transit
- B.To replace web servers entirely
- C.To provide DNS resolution services
- D.To distribute content globally for speed✓ Correct
Explanation
A CDN places copies of content on servers distributed globally, serving users from the nearest server to reduce latency, improve load times, and handle traffic spikes.
Report an error in this question