QUESTIONS WITH CORRECT ANSWERS 100%
GUARANTEED PASS | RATED A+
Which of the following statements regarding Linux hardware drivers is correct?
A. Drivers are regular Linux programs which have to be run by the user who wants to use a
device.
B. Drivers are not used by Linux because the BIOS handles all access to hardware on behalf of
Linux.
C. Drivers are stored on their devices and are copied by the Linux kernel when a new device is
attached
D. Drivers are downloaded from the vendor's driver repository when a new device is attached.
E. Drivers are either compiled into the Linux kernel or are loaded as kernel modules. -
Answer>>> E
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. Fedora Linux
C. Debian GNU/Linux Unstable
D. Ubuntu Linux non-LTS
E. Red Hat Enterprise Linux - Answer>>> AE
Which of the following commands creates an archive file work.tar from the contents of the
directory ./work/?
A. tar --new work.tar ./work/
,B. tar -cf work.tar ./work/
C. tar ""create work.tgz ""content ./work/
D. tar work.tar < ./work/
E. tar work > work.tar - Answer>>> B
The file script.sh in the current directory contains the following content:#!/bin/bashecho
$MYVARThe following commands are used to execute this script:MYVAR=value -
./script.shThe result is an empty line instead of the content of the variable MYVAR. How should
MYVAR be set in order to make script.sh display the content of MYVAR?
A. !MYVAR=value
B. env MYVAR=value
C. MYVAR=value
D. $MYVAR=value
E. export MYVAR=value - Answer>>> E
What is the return value of a shell script after successful execution?
A. 1
B. 0
C. -1
D. -255
E. 255 - Answer>>> B
Which of the following commands creates the ZIP archive poems.zip containing all files in the
current directory whose names end in .txt?
A. zip *.txt > poems.zip
B. zcat *.txt poems.zip
C. zip poems.zip *.txt
, D. zip cfz poems.zip *.txt
E. cat *.txt | zip poems.zip - Answer>>> C
Which of the following statements are true regarding a typical shell script? (Choose two.)
A. It has the executable permission bit set.
B. It starts with the two character sequence #!.
C. It is located in /usr/local/scripts/.
D. It is located in /etc/bash/scripts/.
E. It is compiled into a binary file compatible with the current machine architecture. -
Answer>>> AB
Which of the following keys can be pressed to exit less?
A. l
B. x
C. e
D. q
E. ! - Answer>>> D
The current directory contains the following file:-rwxr-xr-x 1 root root 859688 Feb 7 08:15
test.shGiven that the file is a valid shell script, how can this script be executed? (Choose two.)
A. run test.sh
B. ${test.sh}
C. cmd ./test.sh
D. ./test.sh
E. bash test.sh - Answer>>> DE
Which of the following commands sorts the output of the command export-logs?