Lpi 010-160 Practice Verified Answers - Pass Your Exams For Sure! [2021]
Valid Way To Pass LPI Linux Essentials's 010-160 Exam
NEW QUESTION 34
Which of the following commands extracts the contents of the compressed archive file1.tar.gz?
- A. ztar file1.tar.gz
- B. tar -czf file1.tar.gz
- C. tar -xzf file1.tar.gz
- D. detar file1.tar.gz
- E. tar --extract file1.tar.gz
Answer: C
NEW QUESTION 35
A new server needs to be installed to host services for a period of several years. Throughout this time, the server should receive important security updates from its Linux distribution.
Which of the following Linux distributions meet these requirements? (Choose two.)
- A. Ubuntu Linux LTS
- B. Ubuntu Linux non-LTS
- C. Debian GNU/Linux Unstable
- D. Red Hat Enterprise Linux
- E. Fedora Linux
Answer: A,D
NEW QUESTION 36
A directory contains the following files:
What would be the output of the followingshell script?
for file in *.txt
- A. A. txt
- B. txt
- C. c.cav
- D. *.txt
- E. A.txt
- F. a b
Answer: A
NEW QUESTION 37
Which ofthe following commands creates an archive filework.tarfrom the contents of the directory./ work/?
- A. tar --new work.tar ./work/
- B. tar -cf work.tar ./work/
- C. tar work > work.tar
- D. tar work.tar < ./work/
- E. tar -create work.tgz -content ./work/
Answer: B
NEW QUESTION 38
Which package management tool is used in Red Hat-based Linux Systems?
- A. dpkg
- B. apt-get
- C. portage
- D. rpm
- E. packagectl
Answer: D
NEW QUESTION 39
Why are web browser cookies considered dangerous?
- A. Cookies support identification and tracking of users.
- B. Cookies are always public and accessible to anyone on the internet.
- C. Cookies consume significant amounts of storage and can exhaust disk space.
- D. Cookies can contain and execute viruses and malware.
- E. Cookies store critical data which is lost when a cookie is deleted.
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION 40
What is true about arecursive directory listing?
- A. It includes the permissions of the directory listed.
- B. Itincludes a preview of content for each file in the directory.
- C. It includes ownership information for the files.
- D. It includes the content of sub-directories.
- E. It includes details of file system internals, such as inodes.
Answer: D
NEW QUESTION 41
What is the return value of a shell script after successful execution?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
Answer: A
NEW QUESTION 42
What is true about the owner of a file?
- A. Each file is owned by exactly one user and one group.
- B. The owner of a file cannot be changed once it is assigned to an owner.
- C. The owner of a file always has full permissions when accessing the file.
- D. The user owning a file must be a member of the file's group.
- E. When a user is deleted, all files owned by the user disappear.
Answer: A
NEW QUESTION 43
Which command adds the new usertuxand creates the user's home directory with default configuration files?
- A. useradd -o default tux
- B. usercreate tux
- C. useradd -m tux
- D. passwd -a tux
- E. defaultuser tux
Answer: C
NEW QUESTION 44
Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?
- A. rcp /etc/* /root
- B. cp -R /etc/*.* /root
- C. copy /etc /root
- D. cp -r /etc/* /root
- E. cp -v /etc/* /root
Answer: D
NEW QUESTION 45
What is the purpose of the PATH environment variable?
- A. It increases security by preventing commands from running in certain locations.
- B. It specifies the location of a user's home directory.
- C. It contains the absolute path to the current directory.
- D. It indicates the location of the default shell to be used when a user logs in.
- E. It allows the execution of commands without the need to know the location of the executable.
Answer: E
NEW QUESTION 46
Which of the following are typical services offered by public cloud providers? (Choose three correct answers.)
- A. Internet as aService(IaaS)
- B. Graphics as a Service (GaaS)
- C. Software as a Service (SaaS)
- D. Platform as a Service(PaaS)
- E. Infrastructure as a Service(IaaS)
Answer: C,D,E
NEW QUESTION 47
What happens to a file residing outside the home directory when the file owner's account is deleted? (Choose two.)
- A. During a file system check, the file is moved to /lost +found.
- B. The user root is set as the new owner of the file.
- C. Ownership and permissions of the file remain unchanged.
- D. The UID of the former owner is shown when listing the file's details.
- E. The file is removed from the file system.
Answer: C,D
NEW QUESTION 48
Which of the following programs is a graphical editor for vector graphics?
- A. Inkscape
- B. NGINX
- C. MySQL
- D. Samba
- E. Python
Answer: A
NEW QUESTION 49
Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?
- A. Raspbian
- B. openSUSE
- C. Debian
- D. CentOS
- E. Ubuntu
Answer: D
NEW QUESTION 50
When typing a long command line at the shell, what can be used to split a command across multiple lines?
Answer:
Explanation:
\
NEW QUESTION 51
FILL BLANK
What keyword is used in a shell script to begin a loop? (Specify one keyword only, without any additional information.)
Answer:
Explanation:
for
NEW QUESTION 52
Which of the following commands sets the variable USERNAME to the value bob?
- A. USERNAME=bob
- B. $USERNAME==bob
- C. set USERNAME bob
- D. var USERNAME=bob
- E. USERNAME<=bob
Answer: A
NEW QUESTION 53
Which of the following taroptions handle compression? (Choose two.)
- A. -z2
- B. -g
- C. -z
- D. -bz
- E. -j
Answer: C,E
NEW QUESTION 54
A user is currently in thedirectory/home/user/Downloads/and runs the command ls ../Documents/ Assuming it exists, which directory's content is displayed?
- A. /Documents/
- B. /home/user/Downloads/Documents/
- C. /home/user/Documents/
- D. /home/Documents
- E. /home/user/Documents/Downloads/
Answer: A
NEW QUESTION 55
Which of the following tasks can the command passwd accomplish? (Choose two.)
- A. Create a new user account.
- B. Create a new user group.
- C. Lock a user account.
- D. Change a user's password.
- E. Change a user's username.
Answer: A,C
NEW QUESTION 56
......
Lpi 010-160 Pre-Exam Practice Tests | Fast2test: https://www.fast2test.com/010-160-premium-file.html
010-160 practice test questions, answers, explanations: https://drive.google.com/open?id=1uTiiqas-6-Z6_veaz_eChdGknvXF8tC7