Docsity

WGU C851 (Linux Foundations) updated version /25/26, Exams of Advanced Education

Toggle sidebar
bg1
1 / 20
WGU C851 (Linux Foundations) updated
version /25/26
1. Which of the following programs are web servers? (Choose two.)
A. Apache HTTPD
B.
Postfix
C.
Curl
D.
Dovecot
E.
NGINX:
AE
2.
What are the differences between hard disk drives and solid
state disks? (Choose two.)
A. Hard disks have a motor and moving parts, solid state disks do
not.
B.
Hard disks can fail due to physical damage, while solid state
disks cannot fail.
C.
Solid state disks can store many times as much data as hard disk
drives.
D.
/dev/sda is a hard disk device while /dev/ssda is a solid state disk.
E.
Solid state disks provide faster access to stored data than hard
disks.:
AE
3. Reverse DNS assigns hostnames to IP addresses. How is the name
of the IP address 198.51.100.165 stored on a DNS server?
A.
In the A record for 165.100.51.198.ipv4.arpa.
B. In the PTR record for 165.100.51.198.in-addr.arpa.
C.
In the RNAME record for 198-51-100-165.rev.arpa.
D. In the ARPA record for 165.100.51.198.rev.
E. In the REV record for arpa.in-addr.198.51.100.165.: B
4. Which of the following types of bus can connect hard disk
drives with the
motherboard?
A. The RAM bus
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download WGU C851 (Linux Foundations) updated version /25/26 and more Exams Advanced Education in PDF only on Docsity!

1 / 20

WGU C851 (Linux Foundations) updated

version /25/

  1. Which of the following programs are web servers? (Choose two.) A. Apache HTTPD B. Postfix C. Curl D. Dovecot E. NGINX: AE
  2. What are the differences between hard disk drives and solid state disks? (Choose two.) A. Hard disks have a motor and moving parts, solid state disks do not. B. Hard disks can fail due to physical damage, while solid state disks cannot fail. C. Solid state disks can store many times as much data as hard disk drives. D. /dev/sda is a hard disk device while /dev/ssda is a solid state disk. E. Solid state disks provide faster access to stored data than hard disks.: AE
  3. Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100.165 stored on a DNS server? A. In the A record for 165.100.51.198.ipv4.arpa. B. In the PTR record for 165.100.51.198.in-addr.arpa. C. In the RNAME record for 198-51-100-165.rev.arpa. D. In the ARPA record for 165.100.51.198.rev. E. In the REV record for arpa.in-addr.198.51.100.165.: B
  4. Which of the following types of bus can connect hard disk drives with the motherboard? A. The RAM bus

2 / 20 B. The NUMA bus C. The CPU bus D. The SATA bus E. The Auto bus: D

  1. 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 C. Debian GNU/Linux D. CentOS E. openSUSE: D
  2. What information can be displayed by top? A. Existing files, ordered by their size. B. Running processes, ordered by CPU or RAM consumption. C. User accounts, ordered by the number of logins. D. User groups, ordered by the number of members. E. User accounts, ordered by the number of files.: B
  3. Which of the following commands can be used to resolve a DNS name to an IP address? A. dnsname B. dns C. query D. host E. iplookup: D
  4. Which of the following outputs comes from the command free? total used free shared buff/cached available: total used free shared butt/cached available

4 / 20

  1. 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 always has full permissions when accessing the file. C. The user owning a file must be a member of the file's group. D. When a user is deleted, all files owned by the user disappear. E. The owner of a file cannot be changed once it is assigned to an owner.: A
  2. Which of the following permissions are set on the /tmp/ directory? A. rwxrwxrwt B.-----rwX C. rwSrw-rw- D. rwxrwS--- E. r-xr-X--t: A
  3. Which command adds the new user tux and creates the user's home direc- tory with default configuration files? A. defaultuser tux B. useradd ""m tux C. usercreate tux D. useradd ""o default tux E. passwd ""a tux: B
  4. What information is stored in /etc/passwd? (Choose three.) A. The user's storage space limit B. The numerical user ID C. The username D. The encrypted password E. The user\s default shell: BCE
  5. Which of the following tar options handle compression? (Choose two.) A. - bz B. - z C. - g

5 / 20 D. - j E. -z2: BD

  1. FILL BLANK -What keyword is used in a shell script to begin a loop? (Specify one keyword only, without any additional information.): FOR
  2. 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: B
  3. Which of the following keys can be pressed to exit less? A. l B. x C. e D. q E. !: D
  4. 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: DE
  5. Which of the following commands sorts the output of the command ex- port-logs? A. export-logs < sort B. export-logs > sort C. export-logs & sort D. export-logs | sort

7 / 20 C. The user executing the script should be added to the exec group. D. The SetUID bit should be set in the file's permissions E. The script should be run using #!./test. sh instead of ./test.sh.: B

  1. What is a Linux distribution? A. The Linux file system as seen from the root account after mounting all file systems. B. A bundling of the Linux kernel, system utilities and other software. C. The set of rules which governs the distribution of Linux kernel source code. D. An operating system based on Linux but incompatible to the regular Linux kernel. E. A set of changes to Linux which enable Linux to run on another processor architecture.: B
  2. Which package management tool is used in Red Hat-based Linux Systems? A. portage B. rpm C. apt-get D. dpkg E. packagectl: B
  3. Which of the following programs is a graphical editor for vector graphics? A. Python B. NGINX C. Samba D. Inkscape E. MySQL: D
  4. Where is the operating system of a Raspberry Pi stored? A. On the master device attached to the Raspberry Pi's IDE bus. B. On a read only partition on the Raspberry Pi's firmware, next to the BIOS. C. On a removable SD card which is put into the Raspberry Pi.

8 / 20 D. On a Linux extension module connected to the Raspberry Pi's GPIO pins. E. On rewritable flash storage which is built into the Raspberry Pi.: C

  1. What is defined by a Free Software license? A. Details of the technical documentation each contributor has to provide. B. The programming languages which may be used to extend the licensed program. C. A complete list of libraries required to compile the licensed software. D. Limits on the purposes for which the licensed software may be used. E. Conditions for modifying and distributing the licensed software.: E
  2. 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 store critical data which is lost when a cookie is deleted. E. Cookies can contain and execute viruses and malware.: A
  3. Which of the following are typical services offered by public cloud providers? (Choose three.) A. Platform as a Service(PaaS) B. Infrastructure as a Service(IaaS) C. Internet as a Service(IaaS) D. Graphics as a Service (GaaS) E. Software as a Service (SaaS): ABE
  4. Which of the following characters in a shell prompt indicates the shell is running with root privileges? A.! B. #

10 / 20 E. /usr/examples/: A

  1. Which of the following commands adds the directory /new/dir/ to the PATH environment variable? A. $PATH=/new/dir: $PATH B. PATH=/new/dir: PATH C. export PATH=/new/dir: PATH D. export $PATH=/new/dir: $PATH E. export PATH=/new/dir: $PATH: E
  2. 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: D
  3. 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/ direc- tory? A. cp ??.txt /tmp/ B. cp *.txt /tmp/ C. cp. .txt /tmp/ D. cp ?.txt /tmp/ E. cp $?.txt /tmp/: B
  4. FILL BLANK -When typing a long command line at the shell, what single character can be used to split a command across multiple lines?: \ backlash
  5. Which of the following DNS record types hold an IP address? (Choose two.) A. NS B. AAAA

11 / 20

C. MX

D. A

E. CNAME: BD

  1. Which of the following values could be a process ID on Linux? A. /bin/bash B. 60b503cd-019e-4300-a7be-922f074ef5ce C. /sys/pid/9a D. fff E. 21398: E
  2. Which of the following is a protocol used for automatic IP address configu- ration? A. NFS B. LDAP C. SMTP D. DNS E. DHCP: E
  3. Which of the following devices represents a hard disk partition? A. /dev/ttyS B. /dev/sata C. /dev/part D. /dev/sda E. /dev/sda/p2: D
  4. 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

13 / 20 B. newuser doku.odt tux C. chown tux doku.odt D. transfer tux: doku.odt E. passwd doku.odt:tux: C

  1. 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 file is removed from the file system. C. The UID of the former owner is shown when listing the file's details. D. The user root is set as the new owner of the file. E. Ownership and permissions of the file remain unchanged.: CE
  2. Which statements about the directory /etc/skel are correct? (Choose two.) A. The personal user settings of root are stored in this directory. B. The files from the directory are copied to the home directory of the new user when starting the system. C. The files from the directory are copied to the home directory of a new user when the account is created. D. The directory contains a default set of configuration files used by the useradd command. E. The directory contains the global settings for the Linux system.: CD
  3. What is true about links in a Linux file system? A. A symbolic link can only point to a file and not to a directory. B. A hard link can only point to a directory and never to a file. C. When the target of the symbolic link is moved, the link is automatically updated. D. A symbolic link can point to a file on another file system. E. Only the root user can create hard links.: D
  4. Which files are the source of the information in the following output? (Choose two.) uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989 (docker),

14 / 20 1001 (libvirt) A. /etc/id B. /etc/passwd C. /etc/group D. /home/index E. /var/db/users: BC

  1. Which of the following tasks can the command passwd accomplish? (Choose two.) A. Change a user's username. B. Change a user's password. C. Create a new user account. D. Create a new user group. E. Lock a user account.: BE
  2. What is true about the su command? A. It is the default shell of the root account. B. It can only be used by the user root. C. It runs a shell or command as another user. D. It changes the name of the main administrator account. E. It locks the root account in specific time frames.: C
  3. 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.): ls
  • R
  1. Most commands on Linux can display information on their usage. How can this information typically be displayed? A. By running the command with the option /? or /??. B. By running the command with the option ?! or ?=!. C. By running the command with the option /doc or /documentation. D. By running the command with the option -h or --help. E. By running the command with the option -m or --manpage.: D
  2. Which of the following commands shows the absolute

16 / 20 B. $USERNAME==bob C. var USERNAME=bob D. USERNAME<=bob E. USERNAME=bob: E

  1. What command displays manual pages? (Specify ONLY the command with- out any path or parameters.): MAN
  2. Which command copies the contents of the directory /etc/, including all sub-directories, to /root/? A. copy /etc /root B. cp -r /etc/* /root C. cp -v /etc/* /root D. rcp /etc/* /root E. cp -R /etc/. /root: B
  3. Which of the following commands puts the lines of the file data.csv into alphabetical order? A. a..z data.csv B. sort data.csv C. abc data.csv D. wc -s data.csv E. grep --sort data.csv: B
  4. Which of the following examples shows the general structure of a for loop in a shell script? A. for *.txt as file => echo $file B. for *.txt ( echo $i ) C. for file in *.txt do echo $i done D. for ls *.txt exec {} ; E. foreach @{file} { echo $i }: C
  5. Which operator in a regular expression matches the preceding character either zero or one time? A.? B. * C. +

17 / 20

D. %

E. $: B

  1. The file script.sh in the current directory contains the following con- tent:#!/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: E
  2. What is the return value of a shell script after successful execution? A. 1 B. 0 C. - 1 D. - 255 E. 255: B
  3. Which of the following commands creates the ZIP archive poems.zip con- taining 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: C
  4. 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/.

19 / 20 E. CentOS: E

  1. Which of the following statements is true about Free Software? A. It is developed by volunteers only. B. It may be modified by anyone using it. C. It must always be available free of charge. D. It only runs on Linux. E. It is only distributed as a compiled binary.: B
  2. 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.: D
  3. What are the differences between a private web browser window and a regular web browser window? (Choose three.) A. Private web browser windows do not allow printing or storing websites. B. Private web browser windows do not store cookies persistently. C. Private web browser windows do not support logins into websites. D. Private web browser windows do not keep records in the browser history. E. Private web browser windows do not send regular stored cookies.: BDE
  4. What is the preferred source for the installation of new applications in a Linux based operating system?

20 / 20 A. The vendor's version management system B. A CD-ROM disk C. The distribution's package repository D. The vendor's website E. A retail store: C

  1. What information is stored in /etc/passwd? (Choose three correct an- swers.) A. The user's storage space limit B. The numerical user ID C. The username D. The encrypted password E. The user\s default shell: BCE