Michael Marcus
Quiz by , created more than 1 year ago

Quiz on Linux Final Prep Quiz, created by Michael Marcus on 14/08/2016.

432
2
0
No tags specified
Michael Marcus
Created by Michael Marcus over 8 years ago
Close

Linux Final Prep Quiz

Question 1 of 122

1

Operations on the directory stack manipulate the top item in the stack only

Select one of the following:

  • True
  • False

Explanation

Question 2 of 122

1

graphical.target is equivalent to the old runlevel 3

Select one of the following:

  • True
  • False

Explanation

Question 3 of 122

1

Which of the following items can appear in the user_list element on a configuration line in the /etc/sudoers file?

Select one or more of the following:

  • All

  • User_Alias names

  • Group_Alias names

  • Host Names

  • Group names preceded by a '^'

  • user names

  • group names preceded by a '%'

Explanation

Question 4 of 122

1

The Pluggable Authentication Module (PAM) is a facility that supports using multiple authentication methods while providing a common interface to common applications or services seeking to authenticate a user.

Select one of the following:

  • True
  • False

Explanation

Question 5 of 122

1

Before executing any command, the bash shell pre-processes the command line to make sure it is syntactically correct and all necessary expansions have been done.

Select one of the following:

  • True
  • False

Explanation

Question 6 of 122

1

In what directory are most system configuration files stored?

Select one of the following:

  • /local

  • /usr

  • /var

  • /etc

Explanation

Question 7 of 122

1

The /etc/sudoers configuration file should only be edited using the visudo or sudo -e commands to avoid syntax errors in the file.

Select one of the following:

  • True
  • False

Explanation

Question 8 of 122

1

The /tmp directory is a working directory for temporary files that is accessible to any user on a Linux system.

Select one of the following:

  • True
  • False

Explanation

Question 9 of 122

1

Which of the following is NOT part of a system administrator's duties?

Select one of the following:

  • Backup the system on a regular basis

  • Enter customer orders into the sales database system

  • Secure the system against deliberate and accidental breaches

  • Keep the system running well enough to support business/user needs

Explanation

Question 10 of 122

1

Which of the following is NOT a valid variable name in a shell script?

Select one of the following:

  • day1_

  • 1_day

  • _day1

  • day_1

Explanation

Question 11 of 122

1

The chsh command temporarily changes the current user's shell

Select one of the following:

  • True
  • False

Explanation

Question 12 of 122

1

Where is PAM configuration stored on a Fedora or RedHat system?

Select one of the following:

  • /etc/PAM.conf

  • /etc/pam.conf

  • /etc/pam.d file

  • /etc/pam.d/ directory

Explanation

Question 13 of 122

1

In the following line of output from the ls -l command, what does the b at the beginning of the line mean?
brw-rw----, 1 root disk 8, 1 Dec 31 17:02 sda1

Select one of the following:

  • sda1 is a directory

  • sda1 is an ordinary file

  • sda1 is a character device\

  • sda1 is a block device

Explanation

Question 14 of 122

1

Assuming that the following alias command is included in a user's ~/.barshc file,
alias t="tar -v"
and the user types the following at the shell prompt,
t -zcf /tmp/test.tar test.txt
What would the actual command executed be?

Select one of the following:

  • t -zcf /tmp/test/tar test.txt

  • tar -zcf /tmp/test/tar test.txt

  • tar -v -zcf /tmp/test/tar test.txt

  • ○ t -v /tmp/test/tar test.txt

Explanation

Question 15 of 122

1

In which of the following startup files or directories should user-specific configuration settings be put?

Select one or more of the following:

  • ~/.bashrc

  • /etc/profile.d/

  • ~.bash_profile

  • /etc/profile

  • /etc/bashrc

Explanation

Question 16 of 122

1

What is the command to start X windows when a Linux system is running at the multi-user.target level?

Select one of the following:

  • Xorg

  • X11

  • gdm

  • Startx

Explanation

Question 17 of 122

1

When using the Logical Volume Manager facility, all disk space can be placed under the control of that facility.

Select one of the following:

  • True
  • False

Explanation

Question 18 of 122

1

What is the default target on Fedora Linux systems?

Select one of the following:

  • graphical.target

  • multi-user.target

  • basic.target

  • getty.target

Explanation

Question 19 of 122

1

What is the purpose of the HISTSIZE environment variable?

Select one of the following:

  • Sets the number of commands stored in the history memory cache and the history file

  • Sets the number of commands stored in the history file

  • Sets the history file name

  • Sets the number of commands stored in the history memory cache

Explanation

Question 20 of 122

1

One of the reasons that the systemd deamon replaced the old System V init daemon in order to support newer hardware technologies.

Select one of the following:

  • True
  • False

Explanation

Question 21 of 122

1

When typing a command at the shell prompt it is possible to type part of a command name and then use the TAB key to complete the command, if the part of the command entered is unique.

Select one of the following:

  • True
  • False

Explanation

Question 22 of 122

1

The ext3, ext4 and xfs file systems all support journaling but are not commonly used.

Select one of the following:

  • True
  • False

Explanation

Question 23 of 122

1

Which of the following commands, when used with the appropriate options, displays a list the process ID numbers for all processes running a certain command

Select one of the following:

  • jobs

  • ps

  • pidof

Explanation

Question 24 of 122

1

The $0 parameter of a shell script always contains the name of the script.

Select one of the following:

  • True
  • False

Explanation

Question 25 of 122

1

Which of the following methods of gaining root privilege is the least advisable?

Select one of the following:

  • setuid

  • sudo

  • su

  • Log in as root

Explanation

Question 26 of 122

1

Which of the following shells is currently used to prevent a non-privileged user from logging in interactively?

Select one of the following:

  • /bin/nologon

  • /bin/bash

  • /bin/false

  • /bin/tsh

Explanation

Question 27 of 122

1

fschk can check and repair a mounted file system.

Select one of the following:

  • True
  • False

Explanation

Question 28 of 122

1

Which of the following commands displays recent system messages?

Select one of the following:

  • logger

  • mesg

  • dmesg

  • logprint

Explanation

Question 29 of 122

1

The ~/.inputrc file is used to configure which of the following history manipulation methods?

Select one of the following:

  • history

  • readline history

  • !

  • fc

Explanation

Question 30 of 122

1

A package manager is a software tool designed to assist system administrators with the management of software on a Linux system.

Select one of the following:

  • True
  • False

Explanation

Question 31 of 122

1

The ldd command is used to funnily configure a chroot environment.

Select one of the following:

  • True
  • False

Explanation

Question 32 of 122

1

What is the output of the command:
df -h

Select one of the following:

  • A list of the mounted file systems with all size information shown in human readable form

  • A list of the mounted file systems with all size information shown in blocks

  • The fragmentation state of each disk on the system

Explanation

Question 33 of 122

1

Gaining root privilege on a system with multiple administrators is a bad method because it involves sharing the password between several people.

Select one of the following:

  • True
  • False

Explanation

Question 34 of 122

1

When multiple interactive bash shells are opened by a user, the history for all of the shells will be saved to disk as each is closed.

Select one of the following:

  • True
  • False

Explanation

Question 35 of 122

1

Administrative (root) privilege on a Linux system should be granted to anyone who asks for it.

Select one of the following:

  • True
  • False

Explanation

Question 36 of 122

1

Which of the following is NOT an advantage of using sudo?

Select one of the following:

  • Customized privilege settings can be created on a group-by-group basis

  • Customized privilege settings can be created on a user-by-user basis

  • No one needs to know the root password

  • The root password is shared amongst system administrators

Explanation

Question 37 of 122

1

Which of the following commands lists the contents of a package?

Select one of the following:

  • rpm -q <package>

  • rpm -qa <package>

  • rpm -ql <package>

  • rpm -qf <package>

Explanation

Question 38 of 122

1

Which of the following commands will report weather the sshd daemon is set to automatically start at some target level?

Select one of the following:

  • systemctl is-enabled sshd

  • systemctl is-active sshd

  • systemctl isactive sshd

  • systemctl isenabled sshd

Explanation

Question 39 of 122

1

What does the 2>&1 mean in the following command?
find * >/tmp/find_out.txt 2>&1

Select one of the following:

  • Standard error is sent to the user's terminal screen

  • Standard output is sent to the same file or device as standard error

  • Standard error is sent to the same file or device as standard output

  • Standard error is sent to the bit bucket

Explanation

Question 40 of 122

1

What is the output of the following command?
du -s

Select one of the following:

  • A single line of output giving the size and contents of the current directory and all its subdirectories in blocks

  • A single line of output giving the size of contents of the current directory and all its subdirectories in human readable form

  • A summary of the sizes of all files and directories in the current directory in blocks

  • A summary of the sizes of all files and directories in the current directory in human readable form

Explanation

Question 41 of 122

1

Which process in the following jobs command output will be affected by issuing the fg command without parameters?
user@f1 ~]$ jobs
[1] Running sleep 300 &
[2]- Running sleep 400 &
[3]+ Running sleep 500 &

Select one of the following:

  • 1

  • 3

  • All Processes

  • 2

Explanation

Question 42 of 122

1

The growfs command can be used to increase the size of a filesystem.

Select one of the following:

  • True
  • False

Explanation

Question 43 of 122

1

TCPWrappers is a daemon based security facility that limits access to the daemon based on IP address.

Select one of the following:

  • True
  • False

Explanation

Question 44 of 122

1

What program is running in the process associated with a physical or virtual terminal prior to a user logging on?

Select one of the following:

  • tsh

  • login

  • bash

  • getty

Explanation

Question 45 of 122

1

The nnswitch facility provides a means to define diverse sources of information (e.g. hostnames, user information) for use by a Linux system. It can decide where to find information and what order to search the various sources.

Select one of the following:

  • True
  • False

Explanation

Question 46 of 122

1

Security Enhanced Linux implements a discretionary access control tool.

Select one of the following:

  • True
  • False

Explanation

Question 47 of 122

1

The default installation of SELinux uses which of the following mode and policy configurations?

Select one of the following:

  • PERMISSIVE and Multilevel Security

  • ENFORCING and Multilevel Security

  • PERMISSIVE and Targeted

  • ENFORCING and Targeted

Explanation

Question 48 of 122

1

Functions are a technique that can be used to add custom operations to a Linux system on a global or user-by-user basis. All custom operations should be added using functions no matter what the complexity or size of the new operations.

Select one of the following:

  • True
  • False

Explanation

Question 49 of 122

1

Which of the following commands sets the X windows pointing device (mouse) for right-handed use?

Select one of the following:

  • xmodmap -e 'pointer = 3 2 1 4 5'

  • xmodmap -e 'pointer = 3 1 2 4 5'

  • xmodmap -e 'pointer = 1 2 3 4 5'

  • xmodmap -e 'pointer = 1 3 2 4 5'

Explanation

Question 50 of 122

1

What is the default desktop environment used by Fedora and RedHat systems?

Select one of the following:

  • GNOME

  • multi-user.target

  • graphical.target

  • KDE

Explanation

Question 51 of 122

1

Given the initial directory stack containing the following entries:
~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1 ~/testdir/ ~
what would the stack contain if the pushd command was issued with no parameters?

Select one of the following:

  • ~/testdir/ ~ ~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1

  • ~/testdir/dir1/dir1-1 ~/testdir/dir2/dir2-1 ~/testdir/ ~

  • ~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1 ~/testdir/ ~

  • ~/testdir/ ~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1 ~

Explanation

Question 52 of 122

1

Which of the following commands clears the screen on a Linux terminal?

Select one of the following:

  • cls

  • clear

  • blank

Explanation

Question 53 of 122

1

Some organizations lock the root account. Others use a very long complex root password that is not known to the system administrators. Both of these approaches are valid when sudo is used for system administration.

Select one of the following:

  • True
  • False

Explanation

Question 54 of 122

1

What does the parameter $@ contain?

Select one of the following:

  • This parameter contains all of the parameters of the current shell script including the name of the script

  • This parameter contains all of the parameters of the current shell script except the name of the script

  • The last parameter of the current script

  • The first parameter of the current script

Explanation

Question 55 of 122

1

Which of the following commands includes a processes' PID in their output?

Select one or more of the following:

  • jobs -l

  • ps

  • ls

  • jobs

Explanation

Question 56 of 122

1

When an external command is invoked from a bash shell it always runs as a separate process from the shell's process.

Select one of the following:

  • True
  • False

Explanation

Question 57 of 122

1

The source builtin command is used to load/reload startup files.

Select one of the following:

  • True
  • False

Explanation

Question 58 of 122

1

If the su command is issued without specifying a user, which user is assumed?

Select one of the following:

  • root

  • The user issuing the command

  • A random user account

Explanation

Question 59 of 122

1

Which of the following are characteristics of the xfs file system?

Select one or more of the following:

  • Very large file system sizes

  • Journaling

  • Live file system expansion and defragmentation

  • Poor backup functionality when compared to ext4

Explanation

Question 60 of 122

1

What is the result of issuing the following bash builtin command?
history 20

Select one of the following:

  • Lists the 20 most recently used commands

  • Lists 20 randomly chosen commands from history

  • Lists the 20 least recently used commands

Explanation

Question 61 of 122

1

What is the effect of placing the line
ALL: ALL
into the /etc/hosts.deny files while leaving /etc/hosts.allow empty?

Select one of the following:

  • Allow connections to all daemons from any IP address

  • Disallow connections to all daemons from any IP address except 127.0.0.1

  • Disallow connections to all daemons from any IP address

Explanation

Question 62 of 122

1

What is the purpose of the dirs command?

Select one of the following:

  • Display the contents of the directory stack

  • Swap entries in the directory stack

  • Remove entries from the directory stack

  • Add entries to the directory stack

Explanation

Question 63 of 122

1

What does the following command do?
yum group install Robotics

Select one of the following:

  • Install all packages whose names contain with Robotics

  • Install all packages whose names begin with Robotics

  • Install all packages whose names end with Robotics

  • Installs of the packages contained within the group named Robotics

Explanation

Question 64 of 122

1

What is the change command used for?

Select one or more of the following:

  • Change the expiry date on a user's account

  • calculate a user's age based on the information in that user's account

  • Change the date of birth information stored in a user's account

  • change password ageing parameters associated with a user's account

Explanation

Question 65 of 122

1

The CUPS printer server offers which of the following facilities?

Select one or more of the following:

  • Printer hardware configuration

  • Printer class (group) management

  • printer queue configuration and management

  • Print job queueing and management

Explanation

Question 66 of 122

1

Which of the following commands lists all of the devices (printers) configured on the local system?

Select one of the following:

  • lpinfo -v

  • lpinfo -m

Explanation

Question 67 of 122

1

User and group ID numbers must be unique on Linux systems.

Select one of the following:

  • True
  • False

Explanation

Question 68 of 122

1

Which of the job scheduling facilities available on a Linux system execute jobs repeatedly at the specified time, provided that the system is available at the specified time?

Select one of the following:

  • at

  • cron

  • anacron

Explanation

Question 69 of 122

1

CUPS supports printing to: locally connected printers, networked printers, and printers shared by other computers.

Select one of the following:

  • True
  • False

Explanation

Question 70 of 122

1

How can CUPS be configured?

Select one of the following:

  • system-config-printers GUI program

  • Web interface

  • Command line programs

  • All of the above

Explanation

Question 71 of 122

1

Which of the following is the language that almost every printer will accept?

Select one of the following:

  • PCL

  • PS

  • Plain Text

Explanation

Question 72 of 122

1

Where is local user account information stored on a Linux system?

Select one of the following:

  • /etc/passwd and /etc/shadow

  • /etc/group and /etc/shadow

  • /etc/passwd and /etc/group

Explanation

Question 73 of 122

1

Which of the following is not one of the things that should be available when building and installing a new kernel?

Select one of the following:

  • Remove all previous kernels from the system

  • Backup the filesystem

  • Have the OS installation media available

  • Do not remove the last known working kernel from the system

Explanation

Question 74 of 122

1

It is possible to lock a user account. This is achieved by which of the following?

Select one of the following:

  • Changing the password to a single %

  • Changing the password to a single !

  • Placing a % at the beginning of the password

  • Placing a ! at the beginning of the password

Explanation

Question 75 of 122

1

Print servers can be built into a printer or run as a daemon on a computr system.

Select one of the following:

  • True
  • False

Explanation

Question 76 of 122

1

You have just downloaded some software in a file named mailer.tar.gz. Which of the following commands would you use to install the software into the current directory assuming that mailer.tar.gz is also in the current directory?

Select one of the following:

  • tar -zxf mailer.tar.gz

  • gunzip mailer.tar.gz

  • unzip mailer.tar.gz

  • uncompress mailer.tar.gz

Explanation

Question 77 of 122

1

CUPS provides which of the following print job operations?

Select one or more of the following:

  • Accepts and queues print jobs

  • Dispatches queued print jobs to active printers

  • Notifies the requesting user when a print job is complete

  • Cancels print jobs at the user's request

Explanation

Question 78 of 122

1

What is the purpose of the command:
yum check

Select one of the following:

  • Check for available package updates

  • Check the status of the local yum database

  • Check the status of the local RPM database

Explanation

Question 79 of 122

1

Which of the following commands will display a list of all available packages with 'httpd' anywhere in their names?

Select one of the following:

  • yum list avilable | grep httpd

  • yum list "httpd"

  • yum list httpd*

  • yum list *httpd

Explanation

Question 80 of 122

1

Given the following line from a user cron settings
* * * * * /usr/bin/uptime
how often will the uptime command be run?

Select one of the following:

  • once a minute

  • once a year

  • once a day

  • once an hour

  • once a month

Explanation

Question 81 of 122

1

Which of the following is not a reason to change the characteristics of a Linux kernel?

Select one of the following:

  • Install a web server daemon

  • Create a specialized kernel for an embedded system

  • Use a non-default kernel configuration

  • Install a new hardware driver

Explanation

Question 82 of 122

1

Which of the following command pairs will allow users to submit print jobs to queue prt1 without the jobs being immediately printed?

Select one of the following:

  • cupsreject prt1
    cupsdisable prt1

  • cupsreject prt1
    cupsenable prt1

  • cupsaccept prt1
    cupsdisable prt1

  • cupsaccept prt1
    cupsenable prt1

Explanation

Question 83 of 122

1

System-wide password rules can be set using which of the following commands?

Select one of the following:

  • system-config-users

  • system-config-authentication

  • system-config-auth

  • system-config-security

Explanation

Question 84 of 122

1

The rpmdev-setuptree command creates a directory structure for building packages from the course in the home directory of the user that executed the command.

Select one of the following:

  • True
  • False

Explanation

Question 85 of 122

1

When an rpm file is downloaded from a website rather than from a repository, which utility or utilities can be used to install it?

Select one of the following:

  • both rpm and yum

  • yum

  • Neither rpm nor yum

  • rpm

Explanation

Question 86 of 122

1

The kernel option names used in the /etc/sysctl.conf file and with the sysctl command are the same.

Select one of the following:

  • True
  • False

Explanation

Question 87 of 122

1

The option in the kernel.spec file
%define buildid .test1
causes the new kernel and all its associated package and configuration files to contain the string '.test1' to identify it as a custom kernel. Each time a kernel is built this option must be modified to uniquely identify the build.

Select one of the following:

  • True
  • False

Explanation

Question 88 of 122

1

The web interface for CUPS may have different printer definitions listed than the GUI program.

Select one of the following:

  • True
  • False

Explanation

Question 89 of 122

1

You have downloaded the source code for a program that is not part of your Linux distribution. In what order would you execute the following commands to set it up on your system? (1-4 selection)

Select one or more of the following:

  • ./configure (1)

  • Make (2)

  • make test (3)

  • make install (4)

Explanation

Question 90 of 122

1

On a Fedora Linux system, which of the following repositories are enabled by default?

Select one or more of the following:

  • fedora

  • fedora-source

  • updates

  • updates-source

Explanation

Question 91 of 122

1

Which of the following commands is the best one for downloading kernel source code from a repository?

Select one of the following:

  • yum install kernel.source

  • yumdownloader kernel.source

  • yum install source.kernel

  • yumdownloader --source kernel

Explanation

Question 92 of 122

1

The sysstat package contains a number of system statistic gathering and reporting tools. Which of the following are some tools in this package?

Select one or more of the following:

  • nfsstat

  • sar

  • iostat

  • netstat

Explanation

Question 93 of 122

1

Which of the following files, related to GRUB configurations, should never be edited directly?

Select one of the following:

  • /etc/grub.d/*

  • /boot/grub2/grub.cfg

  • /etc/default/grub

Explanation

Question 94 of 122

1

Which of the following packages are recommended prerequisites for building a new kernel?

Select one or more of the following:

  • gcc

  • rpmdevtools

  • yum-utils

  • python

  • ncurses-devel

  • libglade2-devel

Explanation

Question 95 of 122

1

The only way to modify kernel characteristics is to build a new, custom kernel.

Select one of the following:

  • True
  • False

Explanation

Question 96 of 122

1

The command
yum install ntp bind
will download and install which of the following items?

Select one or more of the following:

  • the bind package

  • all of the dependencies of the ntp package that are not already installed

  • all of the dependencies of the bind package that are not already installed

  • all updates that have not been installed for any package on the system

  • the ntp package

Explanation

Question 97 of 122

1

What is the purpose of the command
yum-builddep kernel-3.14.27-100.fc19.src.rpm

Select one of the following:

  • Install all of the packages upon which the specified source package depends when the source within the package is built

  • Download, install and build all of the source code related to the specified package

  • Installs all of the build tools needed to build and install the sources within the specified package

Explanation

Question 98 of 122

1

The batch command forces scheduled jobs to run at the specified time no matter what the system load.

Select one of the following:

  • True
  • False

Explanation

Question 99 of 122

1

Package repositories are online storage sites for distribution packages, distribution update packages, but are never used for 3rd party packages.

Select one of the following:

  • True
  • False

Explanation

Question 100 of 122

1

Which of the following commands deletes the definition of printer prt1?

Select one of the following:

  • lpadmin -p prt1 -x

  • lpstat -x prt1

  • lpadmin -p prt1 -d

  • lpstat -d prt1

Explanation

Question 101 of 122

1

CUPS page count quotas work only with PostScript print files

Select one of the following:

  • True
  • False

Explanation

Question 102 of 122

1

Given the commanduseradd -s /bin/bash/bash -d /home/joan -G wheel -g staff -c "Joan Smith" joan
what will Joan's primary group be?

Select one of the following:

  • staff

  • Not specified in the command

  • wheel

Explanation

Question 103 of 122

1

CUPS can accept print jobs from: local users and processes, and remote system.

Select one of the following:

  • True
  • False

Explanation

Question 104 of 122

1

What does the following command produce as output:
yum list *kern*

Select one of the following:

  • A list of all available package with the string 'kern' anywhere in its name

  • A list of all installed package with the string 'kern' anywhere in its name

  • A list of all known package without the string 'kern' anywhere in its name

  • A list of all known package with the string 'kern' anywhere in its name

Explanation

Question 105 of 122

1

Where are user cron job definitions stored?

Select one of the following:

  • /var/spool/cron/*

  • /var/cron/*

  • /ext/crontab

  • /etc/cron.*

Explanation

Question 106 of 122

1

By default, CUPS accepts print jobs from both local users and processes, and remote system.

Select one of the following:

  • True
  • False

Explanation

Question 107 of 122

1

Which of the following commands will display the current value of the vm.drop_caches kernel parameter?

Select one or more of the following:

  • sysctl

  • sysctl -w vm.drop_caches=1

  • sysctl -a

  • sysctl vm.drop_caches

Explanation

Question 108 of 122

1

Which of the following commands can be used to create a new kernel configuration from scratch?

Select one or more of the following:

  • make config

  • make menuconfig

  • make gconfig

  • make oldconfig

Explanation

Question 109 of 122

1

The command
sysctl -p /etc/sysctl.conf can be used to change the running kernel configuration without a reboot after editing the /etc/sysctl.conf file.

Select one of the following:

  • True
  • False

Explanation

Question 110 of 122

1

When the /etc/cups/cupsd.conf file contains the following configuration section, only network print requests from 127.0.0.1 (localhost) will be accepted.
<Location />
Order Allow Deny
Allow @LOCAL
</location>

Select one of the following:

  • True
  • False

Explanation

Question 111 of 122

1

A good approach to backing up a Linux system is to perform periodic full backups with incremental backups in between them.

Select one of the following:

  • True
  • False

Explanation

Question 112 of 122

1

For CUPS to be able to accept print jobs form remote systems using the IPP protocol, the local system's firewall must allow incoming traffic on which of the following ports?

Select one of the following:

  • 389 udp and tcp

  • 53 tcp and udp

  • 631 tcp and udp

  • 81 tcp and udp

Explanation

Question 113 of 122

1

Which of the following commands can be used to backup a Linux system?

Select one or more of the following:

  • cpio

  • dump

  • rsync

  • tar

Explanation

Question 114 of 122

1

What does the $(arch) of the following command do?
rpmbuild -bp --target $(arch) kernel.spec

Select one of the following:

  • Retrieves the value of the arch environment variable and substitutes it into the command

  • Runs the arch command and substitutes the result in the command

Explanation

Question 115 of 122

1

Which of the following is not a function of host-based print servers?

Select one of the following:

  • Manage print queues

  • Assign an IP address to a network printer

  • Monitor print and queue status

  • Create a print queue and associate it with a printer

Explanation

Question 116 of 122

1

Which of the following commands can be used to create groups on a Linux system?

Select one or more of the following:

  • useradd

  • system-config-users

  • groupmod

  • groupadd

Explanation

Question 117 of 122

1

Every user on a Linux system has a user ID number. Which of the following describes the way user ID numbers are assigned on modern Fedora/RHEL systems?

Select one of the following:

  • 0 - 999 system users
    1000 - 65535 regular users

  • 0 - 499 system users
    500 - 32767 system users

  • 0 - 499 system users
    500 - 65535 regular users

  • 0 - 999 system users
    1000 - 35767 regular users

Explanation

Question 118 of 122

1

The yum and rpm utilities can be used to install, update and remove software packages that are distributed as source code within tar archive files without any intermediate steps

Select one of the following:

  • True
  • False

Explanation

Question 119 of 122

1

Which of the following are methods for permanently changing the configuration of a Linux kernel?

Select one or more of the following:

  • editing the file /etc/sysctl.conf and rebooting the system

  • editing the files in, or adding new files to /etc/sysctl.d and rebooting the system

  • setting options using the sysctl command

  • building and installing a new kernel and then rebooting the system

Explanation

Question 120 of 122

1

Which of the following is not a protocol that CUPS supports for communicating with printers?

Select one of the following:

  • IPP

  • SMTP

  • SMB

  • LPD/LPR

Explanation

Question 121 of 122

1

The yum utility should be used to install, update and remove software on a Linux system whenever possible.

Select one of the following:

  • True
  • False

Explanation

Question 122 of 122

1

Which of the following is not one of the factors that is used to determine if a kernel component is compiled into the kernel or made available as a loadable kernel module?

Select one of the following:

  • Size

  • Frequency of use

  • Time to load

  • Execution complexity

Explanation