LPI Linux Essentials UPDATED Actual Exam Questions and CORRECT Answers
2 views 0 purchase
Course
LPI Linux Essentials
Institution
LPI Linux Essentials
LPI Linux Essentials UPDATED Actual
Exam Questions and CORRECT Answers
Which of the following commands is used to update the list of available packages when using
Debian based package management?
A. apt update
B. apt upgrade
C. apt refresh
D. apt install - CORRECT ANSWER- A. apt update
LPI Linux Essentials UPDATED Actual
Exam Questions and CORRECT Answers
Which of the following commands is used to update the list of available packages when using
Debian based package management?
A. apt update
B. apt upgrade
C. apt refresh
D. apt install - CORRECT ANSWER✔✔- A. apt update
Which RPM command will output the name of the package that supplied the /etc/exports file?
A. rpm -f /etc/exports
B. rpm -qf /etc/exports
C. rpm -qi /etc/exports
D. rpm -qp /etc/exports - CORRECT ANSWER✔✔- B. rpm -qf /etc/exports
Find answer here: https://linuxize.com/post/rpm-command-in-linux/
What is detailed by a Free Software license?
A. Details of the technical documentation.
B. The programming languages that may be used to keep the license.
C. A list of libraries required to compile the licensed software.
D. Conditions for distributing and modifying the licensed software. - CORRECT
ANSWER✔✔- D. Conditions for distributing and modifying the licensed software.
Which of the following commands lists the dependencies of a given dpkg package?
A. apt depends-onpackage
B. apt dependencies package
C. apt show package
D. apt requires package - CORRECT ANSWER✔✔- C. apt show package
,Which of the following are common services offered by public cloud providers? (Choose
three correct answers)
A. Infrastructure as a Service (IaaS)
B. Platform as a Service (PaaS)
C. Net as a Service (NaaS)
D. Graphics as a Service (GaaS)
E. Software as a Service (SaaS) - CORRECT ANSWER✔✔- A. Infrastructure as a Service
(IaaS)
B. Platform as a Service (PaaS)
E. Software as a Service (SaaS)
Which command is used to get information on the proper use of ls?
A. option ls
B. man ls
C. usage ls
D. show ls - CORRECT ANSWER✔✔- B. man ls
Which of the following characters in a shell indicates that the shell is running with superuser
(root) privileges?
A. #
B. *
C. &
D. $ - CORRECT ANSWER✔✔- A. #
What is the purpose of using the command ls -r?
A. To include the permissions of a listed directory.
B. To include the details of file system internals.
C. To include file permissions.
D. To include the contents of sub-directories. - CORRECT ANSWER✔✔- D. To include the
contents of sub-directories.
, Which of the following commands can be used to remove the 'Documents' directory?
(Choose two correct answers)
A. undir Documents
B. rmdir Documents
C. rm -r Documents
D. dir -r Documents - CORRECT ANSWER✔✔- B. rmdir Documents
C. rm -r Documents
Which of the following commands add the directory /new/dir/ to $PATH? (Choose two
correct answers)
A. $PATH=/new/dir: $PATH
B. PATH=/new/dir: $PATH
C. Import PATH=/new/dir: $PATH
D. export PATH=/new/dir: $PATH - CORRECT ANSWER✔✔- B. PATH=/new/dir: $PATH
C. Import PATH=/new/dir: $PATH
When johnd, who is currently in the directory /home/johnd/Downloads/, runs the command ls
../Documents/, which directory's contents will be displayed?
A. /home/johnd/Documents/
B. /home/johnd/Downloads/Documents/
C. /Documents/
D. /home/Documents - CORRECT ANSWER✔✔- A. /home/johnd/Documents/
A directory includes the files a.py, b.py, and c.txt. Which command will copy the two files
ending in .py to the /tmp/ directory?
A. cp !!.py /tmp/
B. cp *.py /tmp/
C. cp. \.py /tmp/
D. cp #.py /tmp/
E. cp $?.py /tmp/ - CORRECT ANSWER✔✔- B. cp *.py /tmp/
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 MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.