answers
Who may delete a print job with the lprm command?
A. The owner of the job and root.
B. The owner of the job only
C. The root user only.
D. The cups user only.
E. Any user. ✔️✔️Correct Ans-A. The owner of the job and root.
After logging into a remote system from a Linux computer running X, what would you type in your
remote login session to have that system use your local computer's X display? Assume that your local
computer is called me.luna.edu.
A. xdm me.luna.edu
B. ssh -X me.luna.edu
C. xhost +me.luna.edu
D. export DISPLAY=me.luna.edu:0
E. X me.lune.edu. ✔️✔️Correct Ans-D. export DISPLAY=me.luna.edu:0
A user wants to be able to press and release modifier keys, such as Shift and Ctrl, rather than press
them simultaneously with the keys that they modify. What feature would you help the user enable in
Accessx or similar desktop environment tools?
A. Sticky keys
B. mouse keys
C. Slow keys
D. Bounce (or Debounce)
E. Keyboard repeat rate ✔️✔️Correct Ans-A. Sticky Keys.
,You ask your network administrator for an IP address and netmask for a local computer. (You have
the other information you need.) The administrator writes "255.255.255.0 172.24.21.201" on a piece
of paper. What does this mean?
A. You should configure your DHCP client to obtain the information from 172.24.21.201.
B. You should configure your DHCP client to obtain the information from 255.255.255.0.
C. The IP address is 255.255.255.0, and the netmask is 172.24.21.201.
D. The IP address 172.24.21.201, and the netmask is 255.255.255.0.
E. The network administrator erred; you need just one dotted-quad number, not two of them.
✔️✔️Correct Ans-D. The IP address 172.24.21.201, and the netmask is 255.255.255.0.
Why is the ability to run external commands important for a shell script? (Select two.)
A. External commands execute more swiftly than their internal counterparts.
B. Linux provides a wealth of external commands for acquiring and manipulating information.
C. Conditional expressions cannot operate except on external commands.
D. External commands are required to manage bash variables.
E. By using external commands, you can create a shell script to perform tasks normally done by
typing external commands individually. ✔️✔️Correct Ans-B. Linux provides a wealth of external
commands for acquiring and manipulating information.
and
E. By using external commands, you can create a shell script to perform tasks normally done by
typing external commands individually.
What type of troubleshooting information can typing dmesg soon after booting a computer reveal?
A. Incorrect X resolution settings that could damage the monitor.
B. Inconsistencies in user account configurations.
C. The inability of the computer to obtain an IP address from a DHCP server.
D. The failure to detect certain hardware devices, such as DVD drives.
E. The failure of a server program to launch. ✔️✔️Correct Ans-D. The failure to detect certain
hardware devices, such as DVD drives.
,The DISPLAY environment variable controls what system programs attempt to use for their X
displays. Option D sets this variable to the first (:0) X server on me.luna.edu, as the question specifies.
The xdm program specified in option A is a GUI login program, but its use in this context is incorrect.
The ssh command in option B is a remote text-mode login program. Although it can tunnel X
connections, its use in option B will merely create a return text-based connection to your own
computer. Option C tells the X server on the remote system to accept connections from me.luna.edu.
Option E launches an X server with the parameter me.luna.edu, but this won't have the desired effect.
You've found the following three lines in your /etc/ntp.conf file. What do they mean?
server time.luna.edu
server fugit.example.com
server fourd.pangaea.edu
A. The computer's NTP server contacts time.luna.edu, fugit.example.com, and fourd.pangaea.edu, and
it uses the best time signal from these three servers.
B. The computers NTP server tries to use the time from fourd.pangaea.edu; if it's unavailable, the
server uses fugit.example.com; and if it's unavailable, the server uses time.luna.edu.
C. The computer tries to use the time from time.luna.edu; if it's unavailable, the server uses
fugit.example.com, and if it's unavailable, the server uses fourd.pangaea.edu.
D. The computers NTP server uses whichever time server (time.luna.edu,
fugit.example.com, fourd.pangaea.edu) resides within the computer's own time zone.
E. The computers NTP server is misconfigured; the ntp.conf file should have just one server line.
✔️✔️Correct Ans-A. The computer's NTP server contacts time.luna.edu, fugit.example.com, and
fourd.pangaea.edu, and it uses the best time signal from these three servers.
Which of the following lines, as the first line of a file, positively identifies it as a bash shell script?
A. #!/bin/sh
B. #bash-script
C. $!/bin/sh
D. $!/bin/bash
E. #!/bin/bash ✔️✔️Correct Ans-E. #!/bin/bash
In what directory tree are you most likely to find programs compiled by the system administrator for
general use?
, A. /usr/local
B. /usr/bin
C. /home
D. /opt
E. /etc ✔️✔️Correct Ans-A. /usr/local
You try to run a program but receive the following error message. What does it mean?
error in loading shared libraries: libXm.so.1: cannot open shared object file: No such file or directory
A. The error log file for libXm.so.1 library is missing, possibly indicating a break-in.
B. The symbolic link between the program and its underlying code file, libXm.so.1, is broken.
C. When installing the program, you forgot to uncompress the shared library, libXm.so.1.
D. The program relies on a library called libXm.so.1, but that library isn't correctly installed.
E. The libXm.so.1 static library is missing from the program's executable file. ✔️✔️Correct Ans-D. The
program relies on a library called libXm.so.1, but that library isn't correctly installed.
You've configured a dual-boot system so that Windows FAT partition is mounted at /mnt/windows,
but users report that they can't write to this partition. What is a likely cause of this problem?
A. Users must belong to the fat group in order to write to a FAT filesystem; your users probably don't
belong to this group.
B. The first user to write to the partition acquires ownership of all of the files. block such access by
other users.
C. The partition has been mounted with default mount options in /etc/fstab, giving ownership of the
files to root and no write privileges for other users.
D. The Linux FAT filesystem driver's write access is experimental and dangerous, and therefore it is
not enable by default.
E. Filesystems mounted at subdirectories of /mnt acquire read-only access by default; you must mount
the filesystem under /media instead. ✔️✔️Correct Ans-C. The partition has been mounted with default
mount options in /etc/fstab, giving ownership of the files to root and no write privileges for other
users.