WGU C851 (Linux Foundations)
Questions and Correct Answers. Newest
2026-2027 Rated A
A directory contains the following files:
a. txt
b. txt
c. cav
What would be the output of the following shell script?for file in *.txt
do
echo $file
done
A. *.txt
B. a b
C. c.cav
D. a.txt
E. a. txt b. txt - AnsE
A directory contains the following three files:texts 1.txttexts 2.txttexts
3.csvWhich command copies the two files ending in .txt to the /tmp/
directory?
1
,A. cp ??.txt /tmp/
B. cp *.txt /tmp/
C. cp. \.txt /tmp/
D. cp ?.txt /tmp/
E. cp $?.txt /tmp/ - AnsB
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 - AnsAE
A user is currently in the directory /home/user/Downloads/ and runs the
command ls ../Documents/Assuming it exists, which directory's content is
displayed?
A. /home/user/Documents/
B. /home/user/Documents/Downloads/
C. /home/user/Downloads/Documents/
D. /Documents/
E. /home/Documents - AnsD
FILL BLANK -What keyword is used in a shell script to begin a loop?
(Specify one keyword only, without any additional information.) - AnsFOR
2
, FILL BLANK -What parameter of ls prints a recursive listing of a directory's
content? (Specify ONLY the option name without any values or
parameters.) - Ansls -R
FILL BLANK -When typing a long command line at the shell, what single
character can be used to split a command across multiple lines? - Ans\
backlash
How is a new Linux computing instance provisioned in an laaS cloud?
A. The standard Linux installer has to be run through a remote console.
B. After buying a Linux distribution, its vendor delivers it to a cloud
instance.
C. The installation has to be prepared in a local virtual machine which is
then copied to the cloud.
D. The cloud hosting organization provides a set of pre-prepared images
of popular Linux distributions.
E. A provider-specific configuration file describing the desired installation is
uploaded to the cloud provider. - AnsD
Members of a team already have experience using Red Hat Enterprise
Linux. For a small hobby project, the team wants to set up a Linux server
without paying for a subscription. Which of the following Linux distributions
allows the team members to apply as much of their Red Hat Enterprise
Linux knowledge as possible?
A. Ubuntu Linux LTS
B. Raspbian
3
Questions and Correct Answers. Newest
2026-2027 Rated A
A directory contains the following files:
a. txt
b. txt
c. cav
What would be the output of the following shell script?for file in *.txt
do
echo $file
done
A. *.txt
B. a b
C. c.cav
D. a.txt
E. a. txt b. txt - AnsE
A directory contains the following three files:texts 1.txttexts 2.txttexts
3.csvWhich command copies the two files ending in .txt to the /tmp/
directory?
1
,A. cp ??.txt /tmp/
B. cp *.txt /tmp/
C. cp. \.txt /tmp/
D. cp ?.txt /tmp/
E. cp $?.txt /tmp/ - AnsB
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 - AnsAE
A user is currently in the directory /home/user/Downloads/ and runs the
command ls ../Documents/Assuming it exists, which directory's content is
displayed?
A. /home/user/Documents/
B. /home/user/Documents/Downloads/
C. /home/user/Downloads/Documents/
D. /Documents/
E. /home/Documents - AnsD
FILL BLANK -What keyword is used in a shell script to begin a loop?
(Specify one keyword only, without any additional information.) - AnsFOR
2
, FILL BLANK -What parameter of ls prints a recursive listing of a directory's
content? (Specify ONLY the option name without any values or
parameters.) - Ansls -R
FILL BLANK -When typing a long command line at the shell, what single
character can be used to split a command across multiple lines? - Ans\
backlash
How is a new Linux computing instance provisioned in an laaS cloud?
A. The standard Linux installer has to be run through a remote console.
B. After buying a Linux distribution, its vendor delivers it to a cloud
instance.
C. The installation has to be prepared in a local virtual machine which is
then copied to the cloud.
D. The cloud hosting organization provides a set of pre-prepared images
of popular Linux distributions.
E. A provider-specific configuration file describing the desired installation is
uploaded to the cloud provider. - AnsD
Members of a team already have experience using Red Hat Enterprise
Linux. For a small hobby project, the team wants to set up a Linux server
without paying for a subscription. Which of the following Linux distributions
allows the team members to apply as much of their Red Hat Enterprise
Linux knowledge as possible?
A. Ubuntu Linux LTS
B. Raspbian
3