[Feb-2024] Use Real 702-100 Dumps - 100% Free 702-100 Exam Dumps
702-100 PDF Dumps Exam Questions – Valid 702-100 Dumps
The Linux Professional Institute BSD Installation and Software Management 702 (LPI 702-100) exam is a certification program designed to test the knowledge and skills of IT professionals in the area of BSD installation and software management. 702-100 exam is ideal for those who are interested in pursuing a career in the IT field or looking to validate their skills in BSD installation and software management.
The LPI 702-100 certification exam consists of multiple-choice and fill-in-the-blank questions, and candidates have 90 minutes to complete the exam. 702-100 exam is available in English and Japanese, and candidates can take the exam at any Pearson VUE testing center around the world.
NEW QUESTION # 14
Which file defines the IP address of the default gateway on a FreeBSD system?
- A. /etc/red
- B. /etc/resolvers
- C. /etc/network
- D. /etc/rc.conf
- E. /etc/gateway
Answer: D
Explanation:
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
NEW QUESTION # 15
Given the following listing
-rw-r-r- 1root whee115254 Nov 13 08:55 bobsfile
How can the superuser grant the user bob write permission to this file?
- A. vipw -u bob bobsfile
- B. chown bob:bob bobsfile
- C. chgrp bob bobsfile
- D. chperm 664 bobsfile
- E. chmod +x bobsfile
Answer: B
Explanation:
Explanation
The command chown changes the ownership of a file or directory. The syntax is chown user:group file, where user is the new owner and group is the new group of the file. In this case, the superuser can grant the user bob write permission to the file by changing both the owner and the group of the file to bob. This way, bob will have the same permissions as the original owner, which is read and write. Alternatively, the superuser can also use the command chmod to change the permissions of the file without changing the ownership. For example, chmod g+w bobsfile will add write permission to the group, and chmod o+w bobsfile will add write permission to others. However, these commands will also affect other users who belong to the same group or are not the owner or the group of the file. References:
FreeBSD Handbook: File and Directory Ownership
FreeBSD Handbook: File and Directory Permissions
Linux Professional Institute BSD Specialist: 702.1 Filesystem and Devices
NEW QUESTION # 16
Which of the following lines stems from an ARP table?
- A. localhost link#2 UH lo0
- B. ? (192.168.122.1) at 52:54:00: a3:4e: 0e on em0
- C. tcp4 0 0 192.168.122.11.22 192.168.122.1.38058 ESTABLISHED
- D. 127.0.0.1 localhost localhost.my.domain
- E. inet 192.168.122.11 netmask 0xffffff00 broadcast 192.168.122.255
Answer: B
Explanation:
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
NEW QUESTION # 17
Which option of the crontab command opens the current user's crontab in an editor?
- A. -i
- B. -e
- C. -vi
- D. -w
- E. -rw
Answer: B
Explanation:
Explanation
The -e option of the crontab command opens the current user's crontab in an editor. The editor used is determined by the environment variables VISUAL or EDITOR. If neither of these variables is set, the default editor is vi. The user can edit the crontab file to add, modify, or delete cron jobs, which are scheduled commands or scripts that run at a specified time or interval. The crontab file has the following format:
minute hour day-of-month month day-of-week command
Each field can be a number, a range, a list, or an asterisk (*), which means all possible values. The command can be any valid shell command or script. For example, the following crontab entry runs the backup.sh script every day at 2:30 AM:
30 2 * * * /home/user/backup.sh
To save and install the crontab file, the user needs to exit the editor. The crontab command will check the syntax of the file and report any errors. If the file is valid, it will be installed and the cron daemon will execute the cron jobs according to the schedule. References:
crontab(1) - Linux manual page
FreeBSD Handbook: 11.6. Scheduling Tasks
NEW QUESTION # 18
Which configuration file defines the order of the name resolution methods used on a NetBSD system'?
- A. /etc/nsswitch.conf
- B. /etc/resolv.conf
- C. /etc/rc.conf
- D. /etc/named
- E. /etc/hosts
Answer: A
Explanation:
Explanation
The /etc/nsswitch.conf file defines the order of the name resolution methods used on a NetBSD system. It specifies the sources and their priority for various databases, such as hosts, services, protocols, etc. The sources can be files, DNS, NIS, or other services. For example, the following line in /etc/nsswitch.conf indicates that the hosts database should be looked up first in the /etc/hosts file, then in the DNS server, and finally in the NIS server:
hosts: files dns nis
References:
nsswitch.conf(5) - NetBSD Manual Pages
Chapter 23. The NetBSD Network Configuration Files
NEW QUESTION # 19
What symbol is used in the vi editor to start the forward search for a string? (Specify ONLY the single character symbol without any parameters)
Answer:
Explanation:
/
Explanation
The symbol / is used in the vi editor to start the forward search for a string. It is followed by the string to be searched and then Enter to execute the search. The vi editor highlights the first occurrence of the string after the cursor position. To find the next occurrence of the string in the same direction, press n. To find the previous occurrence of the string in the opposite direction, press N. References:
How to Search to Find a Word in Vim or Vi Text Editor
How can I switch from forward to backward search in Vim?
How To Search in VI Editor
How to Search in Vim / Vi
NEW QUESTION # 20
Which of the following lines in /etc/fstab mounts the device /dev/cd0a to /cdrom?
- A. /dev/cd0a /cdrom cd9660 ro 0 0
- B. cd9660@/dev/cd0a:/cdrom cd9660 ro 0 0
- C. cd9660:/dev/cd0a /cdrom ro 0 0
- D. /cdrom /dev/cdOa cd9660 ro 0 0
- E. /dev/cdOa /cdrom type=cd9660, mode=ro,uid=0,gid=0
Answer: A
Explanation:
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
NEW QUESTION # 21
What subnet mask is used on network 192 168 32 0 in the following output?
Fxp0: flags=8843 <UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> mtu 1500 options=8 inet 192.168.50.162 netmask OxffffeOOO broadcast 192.168.63.255 ether 00:09:6B: 13:42:9f media: Ethernet autoselect (lOObaseTX <full-duplex>) status: active
- A. /25
- B. 0
- C. /28
- D. 1
- E. 255 255.224.0
Answer: E
Explanation:
Explanation
The subnet mask 255.255.224.0 corresponds to the hexadecimal netmask 0xffffe000 shown in the output. This subnet mask indicates a subnet with 19 bits for the network portion and 13 bits for the host portion, allowing for a large number of hosts within the subnet.
References:
BSD Specialist Exam 702 Objectives - Linux Professional Institute
FreeBSD Handbook - Networking
NEW QUESTION # 22
When using the default TFTP server on a BSD system, which configuration file needs to be edited before the TFTP service will start?
- A. service, conf
- B. init.conf
- C. rc.conf
- D. tftpd.conf
- E. inetd.conf
Answer: E
Explanation:
Explanation
The inetd.conf file is the configuration file that needs to be edited before the TFTP service will start on a BSD system. The inetd daemon handles the TFTP service and other network services, and its configuration file contains settings that determine howthese services are managed. To enable the TFTP service, the corresponding entry in inetd.conf must be uncommented and properly configured. References:
FreeBSD Handbook - inetd
Linux Professional Institute BSD Specialist Exam Objectives
NEW QUESTION # 23
Which of the following excerpts is a valid if condition in the Bourne shell?
- A.

- B.

- C.

- D.

Answer: A
Explanation:
Explanation
The excerpt C is a valid if condition in the Bourne shell because it uses the correct syntax and operators for the test command. The syntax of the if statement in the Bourne shell is:
if test-commands; then consequent-commands; [elif more-test-commands; then more-consequents;] [else alternate-consequents;] fi The test-commands are any commands that return a status of 0 (true) or non-zero (false). The test command is a common way to perform various tests on files, strings, and numbers. The test command has the following format:
test expression
The expression consists of one or more primaries, which are unary or binary operators that evaluate to true or false. The primaries can be combined with the following operators:
! expression: Logical NOT expression -a expression: Logical AND expression -o expression: Logical OR ( expression ): Parentheses for grouping The excerpt C uses the test command with the following expression:
"$var" = "test"
This expression tests if the value of the variable $var is equal to the string "test". The = operator is a string comparison operator that returns true if the strings are equal. The double quotes around the variable and the string are used to prevent word splitting and globbing by the shell. The spaces around the operator are also required by the test command.
The excerpt C also uses the correct syntax for the then and fi keywords, which mark the beginning and the end of the if statement. The then keyword must be on the same line as the test command, or on a new line after a semicolon. The fi keyword must be on a new line.
The other excerpts are invalid for various reasons:
The excerpt A uses the && operator instead of the -a operator for logical AND. The && operator is a shell operator that executes the second command only if the first command succeeds. The test command does not recognize the && operator as a valid argument. The excerpt A also uses the != operator instead of the -ne operator for numeric comparison. The != operator is a string comparison operator that returns true if the strings are not equal. The -ne operator is a numeric comparison operator that returns true if the numbers are not equal.
The excerpt B uses the [ [ construct instead of the test command. The [ [ construct is a shell keyword that performs conditional expressions similar to the test command, but with some extensions and differences. The [ [ construct is not part of the POSIX standard and is not supported by all shells. The Bourne shell does not support the [ [ construct, and will treat it as a command name. The excerpt B also uses the wrong syntax for the then keyword, which must be on a new line or after a semicolon.
The excerpt D uses the wrong syntax for the test command, which requires a space after the opening bracket and before the closing bracket. The excerpt D also uses the wrong syntax for the fi keyword, which must be on a new line.
NEW QUESTION # 24
Which of the following tar options handle compression'? (Choose TWO correct answers)
- A. -z
- B. -x
- C. -J
- D. -c
- E. -v
Answer: A,C
Explanation:
Explanation
The tar command is used to create or extract compressed archive files on BSD systems. It can handle various compression formats, such as gzip, bzip2, xz, and lzma. The tar command takes different options to specify the compression type, such as -z for gzip, -j for bzip2, -J for xz, and -Z for lzma. The other options are not related to compression, but to other functions of the tar command, such as -x for extracting, -c for creating, and -v for verbose output. References:
[tar(1) - OpenBSD manual pages]
[FreeBSD Handbook - Chapter 3. Unix Basics]
[FreeBSD Handbook - Chapter 18. Storage]
NEW QUESTION # 25
Which of the following commands have to be used in order to update FreeBSD? (Choose TWO correct answers.)
- A. freebsd-update resolvedeps
- B. freebsd-update all
- C. freebsd-update repoupdate
- D. freebsd-update fetch
- E. freebsd-update install
Answer: D,E
Explanation:
Explanation
To update FreeBSD, the freebsd-update fetch command is used to download available binary updates, and the freebsd-update install command is used to apply the downloaded updates to the system. These commands are part of the freebsd-update utility, which supports binary security and errata updates to the FreeBSD base system without the need for manual compilation and installation2.
References:
FreeBSD Handbook - freebsd-update
NEW QUESTION # 26
Which of the following commands initializes ZFS on a number of block devices?
- A. mkfs -t zfs
- B. newzfs
- C. zpoo1 create
- D. zfs init
- E. zfsload -i
Answer: C
Explanation:
Explanation
The zpool create command is used to initialize ZFS on one or more block devices and create a storage pool. A storage pool is a collection of devices that provide physical storage and data replication for ZFS datasets. The zpool create command takes the name of the pool and the devices to be added as arguments. For example, zpool create mypool c0t0d0 c0t1d0 c0t2d0 would create a pool named mypool with three devices. The other options are either invalid or do not initialize ZFS. References: 1:
https://www.comptia.org/training/books/a-core-1-220-1101-study-guide, page 302 2:
https://docs.oracle.com/cd/E19253-01/819-5461/gbchx/index.html, section "Creating a ZFS Storage Pool"
NEW QUESTION # 27
On BSD systems that provide an interactive adduser script, which configuration file stores the default adduser settings?
- A. usermgmt. conf
- B. user.conf
- C. adduser.conf
- D. login, conf
- E. pw.conf
Answer: C
Explanation:
Explanation
The adduser.conf file is used to store the default settings for the interactive adduser script on BSD systems.
The adduser script is a shell script that uses the pw command to add new users to the system. It creates passwd/group entries, a home directory, copies dotfiles and sends the new user a welcome message. The adduser.conf file allows the administrator to pre-set certain configuration options, such as the default shell, home partition, login group, encryption method, etc. The other options are either invalid files or belong to other purposes. For example, login.conf is used to define login classes, pw.conf is used to configure the pw command, user.conf is used to set user-specific kernel variables, and usermgmt.conf is used to configure user management utilities. References:
adduser - FreeBSD adduser(8) Manual Page1
adduser.conf - FreeBSD adduser.conf(5) Manual Page2
[pw] - FreeBSD pw(8) Manual Page
NEW QUESTION # 28
Which file on a BSD system defines the printers which are available by the Ipr printing system'? (Specify the full name of the file including path)
Answer:
Explanation:
/etc/printcap
Explanation
The /etc/printcap file on a BSD system defines the printers that are available by the Ipr printing system. The Ipr printing system is a BSD-compatible printing system that uses the lpd daemon to manage print jobs and spooling. The /etc/printcap file contains a series of entries, one for each printer, that specify the printer name, device, options, and filters. The format and syntax of the /etc/printcap file are described in the printcap(5) manual page. References:
About Printing on FreeBSD | The FreeBSD Forums
The BSD Printing Protocol (System Administration Guide, Volume 2) - Oracle Chapter 11. Printing | FreeBSD Documentation Portal
NEW QUESTION # 29
Which of the following chmod commands changes the permission of the file text. txt to 750?
- A. chmod user:rw, group:r, other:x
- B. chmod u=rwx,g=rx,o= text.txt
- C. chmod text.txt 750
- D. chmod -u rw -g rx -o - text.txt
- E. chmod text.txt=u:rw,g:r,o:r
Answer: C
Explanation:
Explanation
Permissions involve read, write, and execute roles that can be assigned to the owner, a group, or other users1.To use the chmod command, you must specify the permission you want to set and the file or directory you want to modify1.For example,chmod +rwx filenameto add permissions,chmod -rwx directorynameto remove permissions, orchmod +x filenameto allow executable permissions2.
There are two ways to specify the permissions with the chmod command: symbolic notation and numeric notation1.Symbolic notation uses letters and symbols to represent the user classes and the permissions1.Numeric notation uses octal numbers (0-7) to represent the permissions for each user class1.Each octal digit corresponds to a combination of read , write (w), and execute (x) permissions, as shown in the table below3:
Octal digit
Binary representation
Permissions
0
000
-
1
001
-x
2
010
-w-
3
011
-wx
4
100
r-
5
101
r-x
6
110
rw-
7
111
rwx
To use numeric notation, you need to provide three octal digits, one for each user class (owner, group, and others)1.For example,chmod 644 filenamemeans that the owner has read and write permissions (6), the group has read permissions (4), and others have read permissions (4)1.
In this question, the desired permission for the file text.txt is 750, which means that the owner has read, write, and execute permissions (7), the group has read and execute permissions (5), and others have no permissions (0)1. Therefore, the correct chmod command to change the permission of the file text.txt to 750 ischmod text.txt 750.
References:1: Chmod Command in Linux (File Permissions) | Linuxize2: How to change directory permissions in Linux | Pluralsight3: How to Use the chmod Command on Linux - How-To Geek
NEW QUESTION # 30
Which FreeBSD command created the following output?
Id Refs Address Size Name
1 17 0xc0400000 2fad00 kernel
2 1 0xc0740000 595a4 acpi.ko
3 1 0xc49be000 6000 linprocfs.ko
4 1 0xc4al7000 16000 linux.ko
- A. lsmod
- B. modstat
- C. procstat
- D. cat 1Km.conf
- E. kldstat
Answer: E
Explanation:
Explanation
The command that generates the output showing kernel module IDs, reference counts, addresses, sizes, and names iskldstatin FreeBSD. This command is used to display thestatus of loaded kernel modules, including those loaded dynamically. The output format shown in the question is characteristic ofkldstat, where it lists the kernel modules currently loaded into the system's memory along with their respective details.
References:
FreeBSD Handbook or Manual Pages (man pages), specifically the section on kernel modules and the kldstatcommand.
Linux Professional Institute BSD Specialist resources, which cover FreeBSD commands and utilities, including those for managing kernel modules.
NEW QUESTION # 31
When replacing the system MTA with another mail server program, which configuration file needs to be updated with the path to the new MTA?
- A. mailer.conf
- B. mta.conf
- C. sendmail. conf
- D. mail.conf
- E. postfix.conf
Answer: A
Explanation:
Explanation
The mailer.conf file is used to configure the mailer programs on a BSD system. It allows the system administrator to replace the default mailer programs, such as sendmail, with alternative ones, such as postfix or exim. The mailer.conf file contains a series of entries, each consisting of a label, an equal sign, and a command. The label is the name of the default mailer program, and the command is the path to the alternative mailer program that will be executed instead. For example, to replace sendmail with postfix, the mailer.conf file should contain the following entries:
sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases
/usr/local/sbin/sendmail hoststat /usr/local/sbin/sendmail purgestat /usr/local/sbin/sendmail The mailer.conf file is read by the mailwrapper program, which is a binary that acts as a wrapper for the mailer programs. The mailwrapper program is installed as /usr/sbin/sendmail and /usr/libexec/sendmail/sendmail, and it invokes the appropriate mailer program based on the mailer.conf file. Therefore, to replace the system MTA with another mail server program, the mailer.conf file needs to be updated with the path to the new MTA.
References:
Chapter 31. Electronic Mail | FreeBSD Documentation Portal
DragonFlyBSD: mta
NEW QUESTION # 32
What does S l represent in the following lines from a Bourne shell script:
#! /bin/sh
cp SI 52
- A. The shebang.
- B. An environmental variable.
- C. A positional parameter.
- D. A function.
- E. A control operator.
Answer: C
Explanation:
Explanation
The command cp SI 52 in the Bourne shell script copies the file named by the value of SI to the file named 52.
The SI is a positional parameter that represents the first argument passed to the script when it is executed.
Positional parameters are numbered from 1 to 9, and can be accessed by using the dollar sign $ followed by the number. For example, $1 is the first positional parameter, $2 is the second, and so on. Therefore, the SI in the script is equivalent to $1, and it represents the first argument passed to the script. The correct answer is D.
A positional parameter. References:
[Positional Parameters - FreeBSD]
[Shell Scripting Tutorial - Positional Parameters]
NEW QUESTION # 33
Which configuration file defines when log files are rotated'?
- A. /etc/rc.logd
- B. /etc/rc.d/syslogd
- C. /etc/syslog.conf
- D. /etc/newsyslog.conf
- E. /etc/logs.conf
Answer: D
Explanation:
Explanation
The /etc/newsyslog.conf file is the configuration file for the newsyslog command, which is used to rotate log files on BSD systems. The newsyslog command is typically run by cron at regular intervals to check if any log files need to be rotated based on the criteria specified in the /etc/newsyslog.conf file. The file contains a series of entries, one per line, that define the log file name, the owner and group, the mode, the count, the size, the when, the flags, and the pidfile for each log file. For example, the following entry in the /etc/newsyslog.conf file:
/var/log/messages root:wheel 644 7 * @T00 Z /var/run/syslog.pid
means that the /var/log/messages file is owned by root and belongs to the wheel group, has the mode 644, is rotated 7 times, has no size limit, is rotated at midnight every day, is compressed after rotation, and the process ID of syslogd is read from /var/run/syslog.pid and sent a signal to reopen the log file.
The other options are either invalid files or belong to other purposes. For example, /etc/logs.conf is not a valid file, /etc/rc.logd is a startup script for the log daemon, /etc/rc.d/syslogd is a startup script for the syslog daemon, and /etc/syslog.conf is the configuration file for the syslog daemon.
References:
[newsyslog.conf] - FreeBSD newsyslog.conf(5) Manual Page
[newsyslog] - FreeBSD newsyslog(8) Manual Page
[Log File Rotation] - FreeBSD Handbook
NEW QUESTION # 34
Which command and option can be used to perform a reverse DNS lookup?
- A. dig -x
- B. host -reverse
- C. nsupdate -r
- D. rdns -1
- E. dnssec -check
Answer: A
Explanation:
Explanation
This command and option can be used to perform a reverse DNS lookup, which is the process of finding the domain name or hostname associated with an IP address. The dig command is a tool that can query DNS servers for various types of records, such as A, MX, NS, PTR, etc. The -x option tells dig to perform a reverse DNS lookup by sending a PTR query to the DNS server. For example, to perform a reverse DNS lookup for the IP address 8.8.8.8, the following command can be used:
dig -x 8.8.8.8
The output of this command will show the PTR record for 8.8.8.8, which is dns.google. This means that the hostname for 8.8.8.8 is dns.google. Reverse DNS lookups are useful for verifying the identity of a host, checking for mail server configuration, or troubleshooting network problems
NEW QUESTION # 35
Which command can be used to display the local filesystems that are currently mounted'?
- A. cat /etc/fstab
- B. mount -a
- C. rpcinfo
- D. df -h C du -s
Answer: D
Explanation:
Explanation
The command df -h displays the disk space usage of all mounted filesystems in a human-readable format. It shows the size, used, available, and percentage of each filesystem, as well as the mount point. This command can be used to check the local filesystems that are currently mounted.
https://unix.stackexchange.com/questions/24182/how-to-get-the-complete-and-exact-list-of-mounted-filesystems
https://www.tecmint.com/find-mounted-file-systems-in-linux/
https://itslinuxfoss.com/check-filesystem-mounted-linux/
NEW QUESTION # 36
Which command updates the database used by locate to find files'?
- A. locate.updatedb
- B. find
- C. which
- D. whereis
- E. searchdb
Answer: A
Explanation:
Explanation
The command locate.updatedb updates the database used by locate to find files. The locate command searches for files by name in a pre-built database of files and directories. The database is usually updated periodically by a cron job, but the locate.updatedb command can be used to manually update it. The command may require root privileges to run, depending on the system configuration. References:
BSD Specialist Exam 702 Objectives, Topic 715: Basic Unix Skills, 715.4 Searching and Extracting Data from Files FreeBSD Handbook, Chapter 7: Finding and Installing Software, 7.2.3 Using locate(1) to Find Files Quickly
NEW QUESTION # 37
Which of the following commands is used to set the FreeBSD security level?
- A. sysct1
- B. slct1
- C. setleve1
- D. security
- E. secleve1
Answer: A
Explanation:
Explanation
The sysctl command is used to set and get kernel state variables, including the FreeBSD security level. The security level is a variable named kern.securelevel, which can have values from -1 to 3, with higher values indicating more restrictions. The security level can only be increased, not decreased, unless the system is rebooted or in single-user mode. The security level affects various operations, such as loading kernel modules, changing immutable flags on files, and modifying device nodes12 References: 1:
https://docs.freebsd.org/en/books/handbook/security/#security-basics-securelevels 2:
https://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=8
NEW QUESTION # 38
Which syslog configuration line sends all messages from the auth facility to the remote syslog server logger.
example. org'?
- A. auth.* @logger.example.org
- B. auth.*:logger.example.org
- C. auth.* |logger.example.org
- D. auth.* syslog://logger.example.org/
- E. auth.* logger.example.org:auth
Answer: A
Explanation:
Explanation
The correct configuration line for sending all messages from the auth facility to a remote syslog server is auth.* @logger.example.org. In syslog configuration, the auth.* specifies the facility and priority, where auth is the facility for security/authorization messages, and * represents all priorities. The @ symbol is used to indicate that the messages are to be sent to a remote server, followed by the hostname of the remote syslog server. References:
FreeBSD Handbook - Logging
Linux Professional Institute BSD Specialist Exam Objectives
NEW QUESTION # 39
......
To prepare for the LPI 702-100 exam, candidates should have a solid understanding of BSD operating systems, including their architecture, file systems, and command-line utilities. They should also be familiar with common software packages used on BSD systems, such as Apache, MySQL, and PHP.
Ultimate 702-100 Guide to Prepare Free Latest Lpi Practice Tests Dumps: https://dumpstorrent.actualpdf.com/702-100-real-questions.html
