Exam Details

  • Exam Code
    :LX0-104
  • Exam Name
    :CompTIA Linux+ [Powered by LPI] 2
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :178 Q&As
  • Last Updated
    :Mar 24, 2025

CompTIA CompTIA Certifications LX0-104 Questions & Answers

  • Question 41:

    Given the following routing table:

    Why does the command route add default gw 192.168.1.1 fail?

    A. Because there is no route to 192.168.1.1.

    B. Because only one route can exist at a time.

    C. Because there is already a default route.

    D. Because default routes can not be set manually.

    E. Because default routes must be set with ifconfig

  • Question 42:

    Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

    A. files

  • Question 43:

    Which of the following files is consulted when programs like netstat try to match port numbers to names?

    A. /etc/networks

    B. /etc/portmapper

    C. /etc/protocols

    D. /etc/resolv.conf

    E. /etc/services

  • Question 44:

    Which of the following are valid IPv4 network masks? (Choose two correct answers.)

    A. 255.255.0.0

    B. 255.255.255.65

    C. 255.255.0.255

    D. 0.0.0.1

    E. 255.255.255.248

  • Question 45:

    Which of the following programs can be used to determine the routing path to a given destination?

    A. dig

    B. netstat

    C. ping

    D. route

    E. traceroute

  • Question 46:

    Given the following routing table:

    How would an outgoing packet to the destination 192.168.2.150 be handled?

    A. It would be passed to the default router 192.168.178.1 on wlan0.

    B. It would be directly transmitted on the device eth0.

    C. It would be passed to the default router 255.255.255.0 on eth0.

    D. It would be directly transmitted on the device wlan0.

    E. It would be passed to the router 192.168.1.1 on eth0.

  • Question 47:

    Which of the following is a valid IPv6 address?

    A. 2001:db8:3241::1

    B. 2001::db8:4581::1

    C. 2001:db8:0g41::1

    D. 2001%db8%9990%%1

    E. 2001.db8.819f..1

  • Question 48:

    Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

    A. substitute

    B. nameserver

    C. search

    D. lookup

    E. method

  • Question 49:

    On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

    A. The local routing information may be corrupted and must be re-validated using a routing protocol.

    B. One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.

    C. There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.

    D. DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

  • Question 50:

    What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

    A. 1024

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LX0-104 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.