100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Linux+ Practice Exam Questions and answers

Rating
-
Sold
-
Pages
33
Grade
A+
Uploaded on
12-02-2025
Written in
2024/2025

Linux+ Practice Exam Questions and 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.

Show more Read less
Institution
Linux
Course
Linux











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Linux
Course
Linux

Document information

Uploaded on
February 12, 2025
Number of pages
33
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Linux+ Practice Exam Questions and
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.
CA$20.59
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PEAKGRADES Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
26
Member since
1 year
Number of followers
6
Documents
4006
Last sold
3 weeks ago
PEAK GRADES

Hello everyone...Explore a wide range of Nursing Exams, Test Banks, Study Guides, and other valuable study materials on this page. If you need any additional resources, simply reach out to us, and we’ll deliver them promptly! Please remember to leave a review after your purchase to help us improve customer satisfaction. Thank you

4.3

4 reviews

5
2
4
1
3
1
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions