LinuxAdminMidtermReview
Which answer sends both output and errors to a file, creating it or overwriting its contents?
&>file
Which item or file represents the location of the local group information?
/etc/group
Which item or file represents the location of the local user account information?
/etc/passwd
Which directory accommodates the human-readable syslog files?
/var/log
What file stores console messages related to system startup?
/var/log/boot.log
Which file stores syslog messages related to the scheduled jobs?
/var/log/cron
Which file stores syslog messages related to the mail server?
/var/log/maillog
Which of these log files stores most syslog messages, with the exception of those that are related to authentication, mail, scheduled jobs, and debugging?
/var/log/messages
Which log file stores syslog messages related to security and authentication operations in the system?
/var/log/secure
Which two of the following are benefits of open source software for the user? (Choose two.)
1. Code can survive the loss of the original developer or distributor. 2. You can learn from real-world code and develop more effective applications.
Which two statements describe the benefits of Linux? (Choose two.)
1. Linux includes a powerful and scriptable command-line interface, enabling easier automation and provisioning. 2. Linux is modular and can be configured as a full graphical desktop or a small appliance.
Which two of the following are ways in which Red Hat develops their products for the future and interacts with the community? (Choose two.)
1. Participate in upstream projects. 2. Sponsor and integrate open source projects into the community-driven Fedora project.
Which answer sends output to both the screen and a file at the same time?
| tee file
Which answer displays output to a terminal and ignores all errors?
2>/dev/null
Which number is the size, in bits, of an IPv4 address? 128 4 32 16 8 64
32
Which answer saves output to a file and discards error messages?
> file 2> /dev/null
Which answer sends output and errors to the same file ensuring existing file content is preserved?
>>file 2>&1
Which answer sends output to a file and sends errors to a different file?
>file 2>file2
Which item represents a number that identifies the group at the most fundamental level?
GID
_________________ is Red Hat's enterprise-ready, commercially-supported Linux distribution.
Red Hat Enterprise Linux (RHEL)
Which state represents a process that is sleeping until some condition is met?
S
Which state represents a process that has been stopped or suspended?
T
Which item represents a number that identifies the user at the most fundamental level?
UID
Which state represents a process that has released all of its resources except its PID?
Z
Which answer discards all messages normally sent to the terminal?
&>/dev/null
Which number is the size, in bits, of an IPv6 address?4 128 64 32 8 16
128
Which address represents a valid IPv4 host IP address? 192.168.1.188 192.168.1.255 192.168.1.0 192.168.1.256
192.168.1.188
Which address does not represent a valid IPv6 address? ff02::1:0:0 :: 2001:db8::7::2 2001:3::7:0:2 2000:0000:0000:0000:0000:0000:0000:0001 2000::1 2::1
2001:db8::7::2
is a community-driven Linux distribution derived from much of the open source Red Hat Enterprise Linux codebase and other sources.
CentOS
____________________ is a community project that produces and releases a complete, free, Linux-based operatingsystem.
Fedora
Which process does a parent use to duplicate to create a new child process?
fork
Which item or file represents the location of the user's personal files?
home directory
Which item represents the program that provides the user's command-line prompt?
login shell
Which term allows one system to send traffic to a special IP address that is received by multiple systems? netscope multicast netaddr netmask subnet network
multicast
Which term determines how many leading bits in the IP address contribute to its network address? Group of answer choices netscope network subnet multicast netaddr netmask
netmask
What is the fourth field of the /etc/passwd file?
primary group
Which service sorts and organizes syslog messages into files in /var/log?
rsyslog