โ† 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 difference between symmetric and asymmetric encryption?

    Answer: Symmetric encryption uses one shared key for both encryption and decryption; asymmetric uses a public-private key pair

    Symmetric encryption uses the same secret key for both encryption and decryption (e.g., AES). Asymmetric encryption uses a pair of mathematically related keys: a public key for encryption and a private key for decryption (e.g., RSA). In practice, HTTPS uses asymmetric encryption to exchange a symmetric key, then uses symmetric encryption for the session.

  2. In HTML5, what is the purpose of the element?

    Answer: To create a drawing surface for rendering 2D graphics dynamically using JavaScript

    The HTML5 element provides a drawable region in a web page where JavaScript can render 2D graphics, animations, charts, and even simple games dynamically. Unlike SVG which uses DOM elements, canvas draws pixels directly to a bitmap surface.

  3. What is the purpose of the ARP (Address Resolution Protocol)?

    Answer: To convert IP addresses to MAC addresses on a local network

    ARP resolves IP addresses (logical, Layer 3) to MAC addresses (physical, Layer 2) within a local network. When a device knows the destination IP but needs the MAC address to send a frame on the local network, it broadcasts an ARP request, and the device with that IP responds with its MAC address.

  4. Which of the following best describes a RESTful API?

    Answer: An architectural style that uses standard HTTP methods, is stateless, and represents resources through URIs

    REST (Representational State Transfer) is an architectural style for designing networked applications. Key principles include: using standard HTTP methods (GET, POST, PUT, DELETE), statelessness (each request contains all needed information), resource identification through URIs, and representation of resources in formats like JSON or XML.

  5. What is the maximum number of usable host addresses in a /24 subnet?

    Answer: 254

    A /24 subnet has 8 host bits, giving 2^8 = 256 total addresses. However, two are reserved: the network address (all host bits = 0) and the broadcast address (all host bits = 1). Therefore, 256 - 2 = 254 usable host addresses.

  6. What is the role of a load balancer in web architecture?

    Answer: To distribute incoming network traffic across multiple servers to ensure no single server is overwhelmed

    A load balancer distributes incoming requests across a pool of backend servers using algorithms like round-robin, least connections, or IP hash. This improves availability (if one server fails, traffic goes to others), scalability (add more servers as needed), and performance (no single server is overloaded).