Flashcards: Network Applications and Protocols — 39 cards

All cards

1Question

What is client–server architecture in networking?

Answer

A model where clients request services from centralized servers.

2Question

What defines peer-to-peer architecture in networking?

Answer

Computers act as both clients and servers and communicate directly.

3Question

What advantage do client–server systems have over peer-to-peer?

Answer

They simplify management and can improve control and security.

4Question

What advantage do peer-to-peer systems have over client–server?

Answer

They improve scalability and avoid dependence on a central server.

5Question

What is the first step a typical web application performs on receiving a request?

Answer

It resolves the requested URL through DNS.

6Question

What does a typical web application do after processing a request on the server?

Answer

It accesses data when necessary.

7Question

What is the final action of a typical web application after accessing data?

Answer

It sends a response containing the requested resource.

8Question

Which web browsers provide client-side access to web resources?

Answer

Chrome and Safari.

9Question

What role do web browsers play in communication with web servers?

Answer

They communicate with web servers to access web resources.

10Question

What does the application layer provide?

Answer

Network services and protocols supporting communication between user applications.

11Question

What is a microservice in software architecture?

Answer

A small, independently deployable application component communicating via defined interfaces.

12Question

What benefits do microservices provide?

Answer

They improve scalability, modularity, deployment flexibility, and fault isolation.

13Question

What is a drawback of using microservices?

Answer

They introduce distributed-system communication and management overhead.

14Question

Name some common microservice capabilities taught in the course.

Answer

Gateways, caching, search, visualization, recommendations, notifications, logging, and data processing.

15Question

What distinguishes TCP from UDP in terms of connection and reliability?

Answer

TCP is connection-oriented and reliable, UDP is lightweight without connection-oriented reliability.

16Question

What is a socket in network communication?

Answer

A socket is a communication endpoint identified by an IP address and port number.

17Question

Which application-layer protocols are listed in the course?

Answer

HTTP, HTTPS, FTP, SMTP, POP3, and IMAP are listed.

18Question

What is HTTP in web communication?

Answer

An application-layer protocol where clients send requests and servers return responses.

19Question

What components does an HTTP request contain?

Answer

A method, requested URL, headers, and possibly a body.

20Question

What components does an HTTP response contain?

Answer

A status code, headers, and possibly a body.

21Question

How does HTTP/1.1 handle connections?

Answer

It commonly uses persistent connections.

22Question

How do non-persistent HTTP connections work?

Answer

They establish a separate connection for each object.

23Question

What does round-trip time (RTT) measure in communication?

Answer

The time for a message to go to the destination and back.

24Question

What is the formula for round-trip time (RTT)?

Answer

RTT=Toutbound+TreturnRTT = T_{outbound} + T_{return}

25Question

What is SMTP in email communication?

Answer

An application-layer protocol for transferring email between mail systems.

26Question

What role does a mail user agent play in email delivery?

Answer

It submits a message to a mail transfer agent.

27Question

How do mail transfer agents communicate during email delivery?

Answer

They transfer messages through SMTP.

28Question

What does a mail delivery agent do in email delivery?

Answer

It delivers the message to the recipient's mailbox.

29Question

How does POP3 handle email messages?

Answer

It typically downloads messages from a mailbox.

30Question

How does IMAP manage email messages differently from POP3?

Answer

It keeps messages on the mail server and supports synchronization.

31Question

What does the Domain Name System (DNS) translate?

Answer

Domain names into IP addresses.

32Question

What hierarchy does DNS use for name servers?

Answer

A distributed hierarchy.

33Question

Which servers can recursive DNS resolution query before returning a record?

Answer

Local resolver, root DNS server, top-level-domain server, and authoritative DNS server.

34Question

What does an A record map in DNS?

Answer

A domain name to an IPv4 address.

35Question

What does a CNAME record map in DNS?

Answer

An alias to a canonical domain name.

36Question

What determines how long DNS caching stores resolved records?

Answer

Their time to live (TTL).

37Question

What is a peer-to-peer network?

Answer

A distributed network where peers share resources directly without a central server.

38Question

Name one advantage of peer-to-peer networks.

Answer

Scalability is an advantage of peer-to-peer networks.

39Question

Name one challenge of peer-to-peer networks.

Answer

Security is a challenge of peer-to-peer networks.

Test yourself with the quiz

Test your knowledge with 18 questions on Network Applications and Protocols.

1. Which description best defines a microservice?

2. What distinguishes a peer-to-peer network from a client–server network?

Take the quiz →

Read the study sheet

Review the complete course in the study sheet for Network Applications and Protocols.

See study sheet →

Similar courses

Create your own flashcards

Import your course and AI generates flashcards in 30 seconds.

Flashcard generator