← All AMCAT Flashcard Decks

AMCAT Networking and Web Technologies Flashcards

6 cards from real AMCAT practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 AMCAT Networking and Web Technologies flashcards as text
  1. What is the purpose of a subnet mask in IP networking?

    Answer: To divide an IP address into network and host portions, determining which addresses are on the same local network

    A subnet mask works with an IP address to identify which portion represents the network and which represents the host. When two devices have the same network portion (after applying the subnet mask), they are on the same local network and can communicate directly without a router.

  2. Which of the following is a key feature of WebSocket protocol compared to HTTP?

    Answer: WebSocket establishes a persistent, full-duplex communication channel between client and server

    WebSocket provides full-duplex communication over a single TCP connection, allowing both client and server to send messages independently at any time. Unlike HTTP's request-response model, WebSocket keeps the connection open, making it ideal for real-time applications like chat and live updates.

  3. What does CORS (Cross-Origin Resource Sharing) allow in web development?

    Answer: It allows servers to specify which origins are permitted to access their resources, relaxing the same-origin policy

    CORS is a mechanism that uses HTTP headers (like Access-Control-Allow-Origin) to allow servers to declare which origins (domains) are permitted to access their resources. It provides a controlled way to relax the same-origin policy when cross-origin access is legitimately needed.

  4. In the TCP three-way handshake, what is the correct sequence of messages?

    Answer: SYN → SYN-ACK → ACK

    The TCP three-way handshake establishes a connection in three steps: (1) Client sends SYN to the server, (2) Server responds with SYN-ACK acknowledging the client's request and sending its own synchronization, (3) Client sends ACK confirming the server's response. The connection is now established.

  5. What is the primary function of a CDN (Content Delivery Network)?

    Answer: To distribute content across geographically dispersed servers to reduce latency and improve load times for users

    A CDN caches content (static files, images, scripts) on servers distributed across multiple geographic locations (edge servers). When a user requests content, it is served from the nearest edge server rather than the origin server, significantly reducing latency and improving performance.

  6. Which protocol is used to securely transfer files between a client and server?

    Answer: SFTP (SSH File Transfer Protocol)

    SFTP (SSH File Transfer Protocol) provides secure file transfer by encrypting both commands and data using SSH (Secure Shell). Standard FTP transmits data in plain text including credentials. HTTP is for web content, and SMTP is for email transmission.