โ† All 010-160 Flashcard Decks

010-160 - LPI Linux Essentials Networking Basics Questions and Answers Flashcards

6 cards from real 010-160 practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 010-160 - LPI Linux Essentials Networking Basics Questions and Answers flashcards as text
  1. Which command displays the IP address and network interface configuration on a Linux system?

    Answer: ip addr

    The `ip addr` command (from the iproute2 suite) shows all network interfaces and their assigned IP addresses on modern Linux systems.

  2. What command is used to test basic network connectivity by sending ICMP echo requests to a host?

    Answer: ping

    The `ping` command sends ICMP echo request packets to a target host and reports whether responses are received, testing basic network reachability.

  3. Which file on a Linux system maps hostnames to IP addresses locally without using DNS?

    Answer: /etc/hosts

    The `/etc/hosts` file provides static hostname-to-IP mappings that are checked before DNS queries, allowing local name resolution overrides.

  4. What does the acronym DHCP stand for in Linux networking?

    Answer: Dynamic Host Configuration Protocol

    DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses, subnet masks, gateways, and DNS servers to network clients.

  5. Which file specifies the DNS nameserver(s) that a Linux system should use for hostname resolution?

    Answer: /etc/resolv.conf

    The `/etc/resolv.conf` file contains the IP addresses of DNS nameservers (prefixed with `nameserver`) that the system consults for DNS lookups.

  6. What is the loopback IP address in IPv4 that always refers to the local machine?

    Answer: 127.0.0.1

    The IPv4 loopback address 127.0.0.1 (also known as localhost) always refers to the local machine and is used for testing network services locally.