






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







What are the differences between hard disk drives and solid-state disks? (Choose two correct answers.) 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. - correct answer โโA. Hard disks have a motor and moving parts, solid state disks do not. E. Solid state disks provide faster access to stored data than hard disks. Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100. 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. - correct answer โโB. In the PTR record for 165.100.51.198.in-addr.arpa. Which of the following types of bus can connect hard disk drives with the motherboard? A. The RAM bus B. The NUMA bus C. The CPU bus D. The SATA bus E. The Auto bus - correct answer โโD. The SATA bus
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 - correct answer โโD. CentOS 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. - correct answer โโB. Running processes, ordered by CPU or RAM consumption. 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 - correct answer โโD. host Which of the following outputs comes from the command free? A. 21:04:15 up 14 days, 7:43, 3 users, load average: 0.89, 1.00, 0. B. avg-cpu %user %nice %system %iowait % %steal %idle
E. root tty2 Wed May 17 21:11 - 21:11 (00:00) - correct answer โโE. root tty2 Wed May 17 21:11 - 21:11 (00:00) What is the UID of the user root? A. 1 B. - C. 255 D. 65536 E. 0 - correct answer โโE. 0 Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt? A. drw-r-xr-- B. d""wxr-x-- C. ""wxr-x--x D. ""rwxrw---x E. -rw-r-xr-- - correct answer โโE. -rw-r-xr-- 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. - correct answer โโA. Each file is owned by exactly one user and one group. 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 - correct answer โโA. rwxrwxrwt Which command adds the new user tux and creates the user's home directory with default configuration files? A. defaultuser tux B. useradd ""m tux C. usercreate tux D. useradd ""o default tux E. passwd ""a tux - correct answer โโB. useradd ""m tux Seriously saw this exact question on the exam with this syntax. Don't under the "" because it doesn't do anything in the Terminal on Ubuntu 18.04.04 but it corresponds to -m so I'm committing it to memory. What information is stored in /etc/passwd? (Choose three correct answers.) 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 - correct answer โโB. The numerical user ID C. The username E. The user's default shell Which of the following tar options handle compression? (Choose two correct answers.) A. -bz B. -z C. -g D. -j E. -z2 - correct answer โโB. -z
Which of the following commands sorts the output of the command export-logs? A. export-logs < sort B. export-logs > sort C. export-logs & sort D. export-logs | sort E. export-logs <> sort - correct answer โโD. export-logs | sort 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 A. *.txt B. a b C. c.cav D. a.txt E. a. txt b. txt - correct answer โโE. a. txt b. txt Which of the following commands will search for the file foo.txt under the directory /home? A. search /home ""file foo.txt B. search /home foo. txt C. find /home "" file foo.txt D. find /home ""name foo.txt E. find /home foo.txt - correct answer โโD. find /home ""name foo.txt
The current directory contains the following file: -rw-r""r"" 1 root exec 24551 Apr 2 12:36 test.sh The file contains a valid shell script, but executing this file using ./test.sh leads to this error: bash: ./test.sh: Permission denied What should be done in order to successfully execute the script? A. The file's extension should be changed from .sh to .bin. B. The execute bit should be set in the file's permissions. 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. - correct answer โโB. The execute bit should be set in the file's permissions. 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. - correct answer โโB. A bundling of the Linux kernel, system utilities and other software. Which package management tool is used in Red Hat-based Linux Systems? A. portage B. rpm C. apt-get D. dpkg E. packagectl - correct answer โโB. rpm Which of the following programs is a graphical editor for vector graphics?
Which of the following are typical services offered by public cloud providers? (Choose three correct answers.) 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) - correct answer โโA. Platform as a Service(PaaS) B. Infrastructure as a Service(IaaS) E. Software as a Service (SaaS) Which of the following characters in a shell prompt indicates the shell is running with root privileges? A.! B. # C. * D. & E. $ - correct answer โโB. # Which of the following commands are used to get information on the proper use of ls? (Choose two correct answers.) A. option ls B. usage ls C. manual ls D. man ls E. info ls - correct answer โโD. man ls E. info ls What is true about a recursive directory listing? A. It includes the content of sub-directories. B. It includes the permissions of the directory listed.
C. It includes details of file system internals, such as inodes. D. It includes ownership information for the files. E. It includes a preview of content for each file in the directory. - correct answer โโA. It includes the content of sub-directories. Running the command rm Downloads leads to the following error: rm: cannot remove "หDownloads/': Is a directoryWhich of the following commands can be used instead to remove Downloads, assuming Downloads is empty? (Choose two correct answers.) A. undir Downloads B. rmdir Downloads C. dir ""r Downloads D. rem Downloads E. rm ""r Downloads - correct answer โโB. rmdir Downloads E. rm -r Downloads Which of the following directories contains information, documentation and example configuration files for installed software packages? A. /usr/share/doc/ B. /etc/defaults/ C. /var/info/ D. /doc/ E. /usr/examples/ - correct answer โโA. /usr/share/doc/ 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 - correct answer โโE. export PATH=/new/dir: $PATH