FreeQAs
 Request Exam  Contact
  • Home
  • View All Exams
  • New QA's
  • Upload
PRACTICE EXAMS:
  • Oracle
  • Fortinet
  • IBM
  • Juniper
  • Microsoft
  • Cisco
  • Citrix
  • CompTIA
  • VMware
  • ISC
  • SAP
  • EMC
  • PMI
  • HP
  • Salesforce
  • Other
  • Oracle
    Oracle
  • Fortinet
    Fortinet
  • IBM
    IBM
  • Juniper
    Juniper
  • Microsoft
    Microsoft
  • Cisco
    Cisco
  • Citrix
    Citrix
  • CompTIA
    CompTIA
  • VMware
    VMware
  • ISC
    ISC
  • SAP
    SAP
  • EMC
    EMC
  • PMI
    PMI
  • HP
    HP
  • Salesforce
    Salesforce
  1. Home
  2. Lpi Certification
  3. 702-100 Exam
  4. Lpi.702-100.v2024-08-18.q21 Dumps
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
Download Now

Question 6

Which file defines the IP address of the default gateway on a FreeBSD system?

Correct Answer: D
Explanation
The file that defines the IP address of the default gateway on a FreeBSD system is /etc/rc.conf. This file contains various system configuration options, including network settings. To set the default gateway, the defaultrouter variable is used, followed by the IP address of the gateway. For example, defaultrouter="192.168.1.254". This setting will be persistent across reboots.
References
FreeBSD Set a Default Route / Gateway - nixCraft
Chapter 34. Advanced Networking | FreeBSD Documentation Portal
Static default gateway on FreeBSD 8.0 - Super User
insert code

Question 7

When creating a symbolic link, an error message indicating that the target already exists is displayed. Which statement is true?

Correct Answer: A
Explanation
A symbolic link, or symlink, is a special type of file that points to another file or directory on the file system1.
When creating a symbolic link with the ln command, the syntax is as follows:
ln -s target link
where target is the file or directory to link to, and link is the name of the symbolic link2. If the link name already exists, the ln command will fail and display an error message indicating that the target already exists3. This is because the ln command does not overwrite existing files or directories by default4. Therefore, the only way to create a symbolic link with the same name as an existing file or directory is to manually remove the existing target first, and then run the ln command again. Alternatively, the ln command can be used with the -f (force) option, which will remove the existing target and create the symbolic link in one step4.
However, this option is not mentioned in the question, so the correct answer is A.
References: 1: How to Create Symbolic Links in Linux [Complete Guide] - Linux Handbook 2: Ln Command in Linux (Create Symbolic Links) | Linuxize 3: How to Create and Use Symbolic Links (aka Symlinks) on Linux - How-To Geek 4: Symbolic Links in Unix/Linux - Stack Abuse
insert code

Question 8

Which of the following lines stems from an ARP table?

Correct Answer: A
Explanation
This line stems from an ARP table because it shows the association between an IP address (192.168.122.1) and a MAC address (52:54:00: a3:4e: 0e) on a network interface (em0). ARP stands for Address Resolution Protocol, which is used to map IP addresses to MAC addresses on a local network. An ARP table is a list of these mappings that is maintained by each host on the network. The other lines are not from an ARP table, but from different sources, such as:
B: inet 192.168.122.11 netmask 0xffffff00 broadcast 192.168.122.255: This line is from the output of the ifconfig command, which displays the configuration of network interfaces. It shows the IP address, netmask, and broadcast address of the interface.
C: 127.0.0.1 localhost localhost.my.domain: This line is from the /etc/hosts file, which is used to map hostnames to IP addresses. It shows that the loopback address (127.0.0.1) is associated with the hostname localhost and the fully qualified domain name localhost.my.domain.
D: tcp4 0 0 192.168.122.11.22 192.168.122.1.38058 ESTABLISHED: This line is from the output of the netstat command, which displays the status of network connections. It shows that there is an established TCP connection between the local host (192.168.122.11) on port 22 and the remote host (192.168.122.1) on port 38058.
E: localhost link#2 UH lo0: This line is from the output of the route command, which displays the routing table. It shows that the destination localhost is reachable via the link layer interface lo0, which is the loopback interface. The UH flags indicate that the route is up and uses a host-specific gateway. References: 1: https://docs.freebsd.org/en/books/handbook/network-arp/ 2:
https://www.freebsd.org/cgi/man.cgi?query=ifconfig&sektion=8 3:
https://www.freebsd.org/cgi/man.cgi?query=hosts&sektion=5 4:
https://www.freebsd.org/cgi/man.cgi?query=netstat&sektion=1 5:
https://www.freebsd.org/cgi/man.cgi?query=route&sektion=8
insert code

Question 9

Consider the following file legal file:
disclosure
non-disclosure
non-disclosure
Which line or lines in the file does the following command match? Note the space after the dash within the brackets.
grep "non [-] disclosure" legalfile

Correct Answer: E
Explanation
The command grep "non [-] disclosure" legalfile matches the lines in the file that contain the pattern non [-] disclosure, where the brackets indicate a character class that matches either a space or a dash. Therefore, the lines that contain non-disclosure or non - disclosure are matched by the command, while the line that contains disclosure only is not matched. The file has two lines that contain non-disclosure, so the correct answer is E. non-disclosure and non-disclosure Only. References:
grep - IBM
Character Classes and Bracket Expressions - GNU
insert code

Question 10

Which of the following lines in /etc/fstab mounts the device /dev/cd0a to /cdrom?

Correct Answer: D
Explanation
The /etc/fstab file contains information about the file systems that are mounted automatically at boot time or by the mount command. The file has six fields separated by whitespace: device, mount point, file system type, mount options, dump frequency, and pass number. The correct answer is D because it specifies the device (/dev/cd0a), the mount point (/cdrom), the file system type (cd9660), the mount option (ro for read-only), and the dump frequency and pass number (both 0 for no backup or fsck). The other answers are incorrect because they either have the wrong syntax, the wrong order of fields, or the wrong file system type. References:
BSD Specialist Exam 702 Objectives, Topic 715: Basic Unix Skills, 715.2 File and Directory Management FreeBSD Handbook, Chapter 3: FreeBSD Basics, 3.8.2 Mounting and Unmounting File Systems
insert code
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
[×]

Download PDF File

Enter your email address to download Lpi.702-100.v2024-08-18.q21 Dumps

Email:

FreeQAs

Our website provides the Largest and the most Latest vendors Certification Exam materials around the world.

Using dumps we provide to Pass the Exam, we has the Valid Dumps with passing guranteed just which you need.

  • DMCA
  • About
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
©2026 FreeQAs

www.freeqas.com materials do not contain actual questions and answers from Cisco's certification exams.