โ† 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 is used to query DNS and look up the IP address of a domain name?

    Answer: All of the above

    The `host`, `dig`, and `nslookup` commands can all be used to perform DNS lookups and retrieve IP addresses or other DNS records for domain names.

  2. What class of IPv4 address range is reserved for private networks and not routable on the public internet (e.g., 192.168.x.x)?

    Answer: Private (RFC 1918)

    RFC 1918 defines private IP ranges (10.x.x.x, 172.16-31.x.x, 192.168.x.x) that are reserved for internal networks and not routed on the public internet.

  3. Which protocol does the `ping` command use to test network connectivity?

    Answer: ICMP

    The `ping` command uses ICMP (Internet Control Message Protocol) echo request and echo reply messages to test if a host is reachable.

  4. What does the `wget` command do in Linux?

    Answer: Downloads files from the internet using HTTP, HTTPS, or FTP

    The `wget` command is a non-interactive downloader that retrieves files from web servers using HTTP, HTTPS, or FTP protocols.

  5. Which file controls the order in which name resolution methods (files, DNS) are tried on a Linux system?

    Answer: /etc/nsswitch.conf

    The `/etc/nsswitch.conf` file specifies the order of name service databases consulted for hostname resolution, typically listing 'files' (hosts) before 'dns'.

  6. What is the default subnet mask for a Class C IP network (e.g., 192.168.1.0)?

    Answer: 255.255.255.0

    Class C networks use a 24-bit subnet mask of 255.255.255.0, allowing up to 254 usable host addresses per network.