Docsity

D281 / C851 LPI Linux Essentials Practice Exam, Exams of Computer Science

Toggle sidebar
bg1
Page 1 of 28
D281 / C851 LPI LINUX ESSENTIALS EXAM
PRACTICE QUESTIONS WITH CORRECT
ANSWERS
Which of the following is the on-demand availability of computer system
resources, especially data storage and computing power, without direct active
management by the user?
A.) Remote Computing
B.) On-demand Computing
C.) Cloud Computing
D.) Passive Computing
--ANSWER--C.) Cloud Computing
Which of the following is a valid option for a typical command to get its built-in
usage information?
DO NOT COPY
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download D281 / C851 LPI Linux Essentials Practice Exam and more Exams Computer Science in PDF only on Docsity!

D281 / C851 LPI LINUX ESSENTIALS EXAM

PRACTICE QUESTIONS WITH CORRECT

ANSWERS

Which of the following is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user? A.) Remote Computing B.) On-demand Computing C.) Cloud Computing D.) Passive Computing --ANSWER--C.) Cloud Computing Which of the following is a valid option for a typical command to get its built-in usage information?

DO NOT COPY

A.) -?

B.) help C.) --manual D.) --help --ANSWER--D.) --help Which of the following is used to redirect the standard output of a command to a file? A.) 1> B.) 2> C.) & D.) &

DO NOT COPY

B.) /dev/hd1b C.) /dev/hdc1d2p D.) /dev/hdc1a --ANSWER--A.) /dev/hda2 represents the first controllers first hard disk, second partition Which of the following properly identifies the third partition, on the second hard disk, on the first IDE controller on a PC system? A.) /dev/hdb B.) /dev/hd1b C.) /dev/hdc1d2p D.) /dev/hdc1a

DO NOT COPY

--ANSWER--A.) /dev/hdb3 represents the first controllers second hard disk, third partition Which command line can be used to search help files that mention the word 'copy'? A.) help copy B.) man copy C.) man - k copy D.) info copy --ANSWER--C.) man - k copy Which option can be used with tail to print the last X bytes of a file to the screen? A.) - n

DO NOT COPY

A.) Because sort cannot sort text files, only binary files B.) Because sort detects that both files are the same C.) Because the file gets truncated before sort is executed D.) Because the file gets executed before sort is truncated --ANSWER--C.) The file gets truncated before it's sorted Which of the following commands can be used to resolve a DNS name to an IP address? A.) dns B.) query C.) host D.) iplookup

DO NOT COPY

--ANSWER--C.) host is used to lookup a host name Which of the following commands is used to show the information about a directory or a symbolic link? A.) ls - d B.) ls - s C.) ln - d D.) ln - s --ANSWER--A.) ls - d Which file on a Linux system is modified to set the maximum number of days before a password must be changed? A.) /etc/groups

DO NOT COPY

Where should temporary files be stored on a Linux system that can be safely deleted during a reboot? A.) /var/tmp B.) /etc/tmp C.) /tmp D.) /bin/tmp --ANSWER--C.) /tmp Which of the following directories contain all of the installed kernels on your system and their needed drivers? A.) /boot B.) /proc

DO NOT COPY

C.) /sys D.) /dev --ANSWER--A.) /boot What does the "rm - rf" command do in Linux? A.) Remove all the files in the directory and subdirectories B.) Remove all the files in the current directory C.) Rename all the files in the directory and subdirectories D.) Rename all the files in the current directory --ANSWER--A.) removes all the files in the current directory and subdirectories Which of the following options is used to gzip a file called filename?

DO NOT COPY

--ANSWER--D.) The \d option would be added to add the date to the prompt in the shell. What is NOT one of the ways that DHCP can be used to deliver IP addresses? A.) Manual B.) Automatic C.) Dynamic D.) Permanent --ANSWER--D.) Permanent is not a DHCP option Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and system as a whole but not with individual processes? A.) /boot

DO NOT COPY

B.) /proc C.) /sys D.) /dev --ANSWER--C.) /sys Which of the following commands is used to view memory usage on a system? A.) free B.) ps C.) route D.) netstat --ANSWER--A.) free

DO NOT COPY

E.) They all qualify as free software as the FSF uses the term --ANSWER--B. Some distributions (particularly "Enterprise" versions that are sold for money) include software that is neither open source nor even freely redistributable, so option B is correct. Which of the following is a characteristic of all open source software? A.) The software cannot be sold for profit; it must be distributed free of charge. B.) It must be distributed with both the source code and binaries. C.) Users are permitted to redistribute altered versions of the original software. D.) The software was originally written at a college or university. E.) The software must be written in an interpreted language that requires no compilation. --ANSWER--C. The open source definition includes 10 points, one of which is that users may modify the original code and redistribute the altered version. True or false: VMS was a common OS on x86 PCs at the time Linux was created. False. VMS was an OS for minicomputers and mainframes when Linux was created. On x86 computers, DOS was the dominant OS in 1991.

DO NOT COPY

A type of software that's distributed for free but that requires payment on the honor system if a person uses it is called? A.) open source B.) commercial C.) freeware D.) shareware E.) Virus --ANSWER--D. Shareware allows a program author to release the binary executable program to the public without payment but ask for payment if the program is used. dnf check-update Updater for Redhat/Fedora dnf upgrade upgrade local packages Redhat/Fedora

DO NOT COPY

apt dist-upgrade update the full distro apt autoremove remove unused packages apt install installs a package apt search search repo apt show show package info

DO NOT COPY

ps command The command used to obtain information about processes currently running on the system. top command The command used to give real-time information about the most active processes on the system; it can also be used to renice or kill processes. grep command A Linux command that searches files for patterns of characters using regular expression metacharacters. The command name is short for "global regular expression print." boot.log Services started via SysV scripts, as well as messages recorded during startup cups/ log print logs

DO NOT COPY