UPDATED LINUX+ PRACTICE EXAM
2024 WITH 100% ACCURATE ANSWERS
, UPDATED LINUX+ PRACTICE EXAM
2024 WITH 100% ACCURATE ANSWERS
What is the purpose of the cut command?
A. It copies the contents of a file to the screen.
B. It extracts information from within lines of a file.
C. It divides a file into as many parts as you specify with the -p parameter.
D. it deletes a file and overwrites it's former contents for security.
E. It erases a file's ownership and permission information. - correct answersB. It extracts information
from within lines of a file.
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 answersA. 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
answersD. 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 answersB. 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 answersD. The failure to detect certain hardware
devices, such as DVD drives.
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 answersA. 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 answersD. export DISPLAY=me.luna.edu:0
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.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller PRETTYGRADES81. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.