SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
RHCSA
Start Test
Study First
Subjects
:
certifications
,
it-skills
,
rhcsa
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. What is the biggest benefit to using LVM over basic partitions?
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
browseable option
You have the flexibility to resize and add new volumes on the fly. With basic partitions - any time that you want to make a change - you need to destroy the partition and create it again.
enabled by default
2. Should you allow remote root access - Why or why not?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
3. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
If you are a hosting company or want to run multiple websites/applications from a single IP address - you can use virtual hosts to accomplish this.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
For Apache to run a secure site - the mod_ssl package is required to be installed.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
4. Does a DHCP server allow reserved IP addresses - If so - how?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
support for TCP Wrappers
Stage 1: During this stage - the primary bootloader is read into memory by the BIOS from the MBR. Stage 1.5: During this stage - the bootloader is read into memory by the stage 1 bootloader (only if necessary). Stage 2: During this stage - the bootlo
5. What does it mean if you ping a host and you receive the response Destination Unreachable?
semanage boolean -l
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
rpcbind service
Yum repository config files (.repo files) are located in the /etc/yum.repos.d directory. You can also make direct entries into the main /etc/yum.conf file.
6. What client-side command can you use to test your FTP server connection?
You add your action to the end of the /home/user01/.bashrc file.
useradd -c "Jr Admin" George
The lftp command can be used on a client to test FTP server connections.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
7. GRUB has three stages. Can you name them?
defining a %pre section although it is rarely used
chkconfig—list
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Stage 1: During this stage - the primary bootloader is read into memory by the BIOS from the MBR. Stage 1.5: During this stage - the bootloader is read into memory by the stage 1 bootloader (only if necessary). Stage 2: During this stage - the bootlo
8. Red Hat Enterprise Linux 6 is the only version that officially supports _______
You have the flexibility to resize and add new volumes on the fly. With basic partitions - any time that you want to make a change - you need to destroy the partition and create it again.
LUKS encryption
If you are a hosting company or want to run multiple websites/applications from a single IP address - you can use virtual hosts to accomplish this.
Use the yum groupinstall command to install multiple packages in a single group at once.
9. What option is used to allow anonymous uploads to the FTP server?
Network address translation (NAT) maintains a table that allows the use of multiple internal IP addresses to a multiple public IP address (called address translation). It can also be used for one-to-one or one-to-many relationships as well.
alternatives --config mta
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
10. What is VNC?
VNC is used to control a remote desktop session.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The TFTP server uses UDP port 69.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
11. What happens if you call the command from question 3 with the -c option after it has already been run?
This is actually a trick question because the answer could go either way. In this chapter - we discussed only software RAID setups - in which case the answer is no. If - however - you were using a hardware RAID 5 - the answer would be yes.
The service command is used to start - stop - and manage system services.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
12. What command can you use to query Boolean values?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
getsebool
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
13. What command can you use to monitor and troubleshoot network connections?
choose which mode you'd like it to operate in
Sendmail
The tcpdump command is used to monitor network connections on different interfaces.
The nfsstat command can be used to view NFS statistics.
14. The firewall service is...
The three utilities are: route - ping - and nslookup.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The /var/log/audit/audit.log file contains all policy violations.
enabled by default
15. A PXE server eases the automation process but isn't required for...
The chmod command is used to change the permissions of files and directories. The chown command is used to change the ownership of files and directories.
kickstart installations to work
amount of RAM
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
16. What option is used with both the fdisk and parted commands to display the current partition tables?
You must ensure that the /boot/grub/grub.conf file has the new entry for your newly updated kernel to be able to boot into it.
Apache uses port 80 for HTTP and port 443 for HTTPS.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The print option is used with both the fdisk and parted commands to display the current partition tables.
17. What command displays your current interfaces and IP address?
The htpasswd command can be used to password-protect a web page.
The lftp command can be used on a client to test FTP server connections.
semanage boolean -l
ifconfig
18. What two ports should be opened on the firewall for the FTP server to function properly?
VNC is used to control a remote desktop session.
You must open TCP ports 20 and 21 for the FTP server to function properly.
The TFTP server uses UDP port 69.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
19. What command can you use to view mounted Samba shares?
A virtual host is a way of hosting multiple sites using a single IP address.
export one or all resources
The smbstatus command shows you currently mounted Samba resources.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
20. Are additional packages besides httpd required for a secure website - If so - what are they?
A user's home directory is created under the /home directory.
For Apache to run a secure site - the mod_ssl package is required to be installed.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
21. What commands can you use to add a client machine to an LDAP server?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
Use the yum groupinstall command to install multiple packages in a single group at once.
You can use the authconfig-tui command or the authconfig command.
getsebool -a | grep http
22. How do you run a command with elevated privileges?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
You must ensure that the /boot/grub/grub.conf file has the new entry for your newly updated kernel to be able to boot into it.
You can use the remove or erase options with yum to remove a package.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
23. Can you name the two commands that can be used to view the free space on the system?
used for kickstart and/or network installs
The du and df commands are used to view available space on the system.
support for TCP Wrappers
The print option is used with both the fdisk and parted commands to display the current partition tables.
24. The exportfs command is used to...
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
export one or all resources
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The three utilities are: route - ping - and nslookup.
25. To create a RAID or LVM partition using kickstart
you have access to the correct packages or repositories.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
You add your action to the end of the /home/user01/.bashrc file.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
26. What port on the firewall needs to be open for the TFTP server to work?
have the same effect
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The TFTP server uses UDP port 69.
27. What is a virtual host?
createrepo
A virtual host is a way of hosting multiple sites using a single IP address.
via the command line
Use the yum groupinstall command to install multiple packages in a single group at once.
28. How would you disable SELinux protection for NFS - allowing shares to be read/write?
run on any port you'd like (provided that port is available)
The rndc utility provides a method for managing the DNS server remotely and securely.
The install.log.syslog file contains messages that are generated during the installation. If you run into trouble during the installation - this is a good place to start.
setsebool -P nfs_export_all_rw=1
29. What port must be opened on the firewall for DNS?
If you shrink a volume group or logical volume - there is a chance you could lose data depending on how much you shrink the volume.
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
DNS uses port 53.
This command reboots virtual guest Client04.
30. Before you work with ACLs - what do you need to do to the file system?
Use the setgid flag to create the appropriate permissions (chmod 2770).
By default - Squid runs on port 3128.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
31. What file needs to be edited so that the system will mount a file system at boot time?
A user's home directory is created under the /home directory.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The /etc/fstab file.
32. What is the xinetd service used for?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
PAM is used as a modular way to leverage security. In this chapter - the main function we discussed was for managing password policies and complexity.
Apache uses port 80 for HTTP and port 443 for HTTPS.
33. What command disables the SSH service from running when the system boots?
chkconfig sshd off
The ping command can be used to verify connectivity to another host.
A gateway is used as an entry and exit point for a subnet on a network. To contact hosts outside your subnet - you need to pass through a gateway.
The DHCP server listens on port 67 by default.
34. What happens if a host changes its IP address and the keys don't match?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
35. What port does the Apache web server run on - What about HTTPS?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
Apache uses port 80 for HTTP and port 443 for HTTPS.
36. What command can you use to test connectivity to another host?
getsebool
VNC is used to control a remote desktop session.
The dig - host - and ping commands can be used to test DNS server functionality.
The ping command can be used to verify connectivity to another host.
37. SSH does...
By default - Squid runs on port 3128.
support TCP Wrappers
You should never allow remote root access. Should your root account become compromised and you use the same password - someone could gain access to all your systems. You also don't want the most powerful user of your system (with no accountability) l
enabled by default
38. What is the difference between an ext2 and ext3 file system?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. Most boot issues can be resolved by...
rpcbind service
The rpm command can operate in install - query - or verify modes.
entering rescue mode and repairing the problem.
You must ensure that the /boot/grub/grub.conf file has the new entry for your newly updated kernel to be able to boot into it.
40. Can you put your /boot partition on a RAID 5 array?
support for TCP Wrappers
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
The rpm command can operate in install - query - or verify modes.
This is actually a trick question because the answer could go either way. In this chapter - we discussed only software RAID setups - in which case the answer is no. If - however - you were using a hardware RAID 5 - the answer would be yes.
41. What is PAM used for?
The rpm command can operate in install - query - or verify modes.
ifconfig
PAM is used as a modular way to leverage security. In this chapter - the main function we discussed was for managing password policies and complexity.
SELinux provides enhanced granular security for the Linux operating system.
42. What command is used to show all services being controlled by the xinetd daemon?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
chkconfig xinetd --list
lvdisplay
Use the ps command to view processes and their CPU usage.
43. What port does the SMTP service run on?
The SMTP service runs on TCP port 110.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
This command sets the eth1 interface to have a static IP address of 172.168.1.100 with a netmask of 255.255.255.0.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
44. How would you view all Boolean options for the HTTP service?
Enforcing during installation
halts the system
getsebool -a | grep http
Use the resize2fs command to grow a file system.
45. Runlevel 0 ___________. Runlevel 6 reboots the system.
halts the system
have the same effect
The four types of DNS servers are master - slave - caching-only - and forwarding.
You must open TCP ports 20 and 21 for the FTP server to function properly.
46. What is the /etc/vsftpd/user_list file used for?
service named configtest
The /etc/fstab file.
This is actually a trick question because the answer could go either way. In this chapter - we discussed only software RAID setups - in which case the answer is no. If - however - you were using a hardware RAID 5 - the answer would be yes.
The user_list file can be used to limit which users have access to the FTP server.
47. What two commands are used for package management?
The yum and rpm commands are used for package management.
Using the chcon command - you can change the context of a file to work with Apache.
You can use the authconfig-tui command or the authconfig command.
Use the setgid flag to create the appropriate permissions (chmod 2770).
48. Explain the difference between soft and hard limits in quotas.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. What is the name of the package that allows you to install VNC?
Apache uses port 80 for HTTP and port 443 for HTTPS.
Yum repository config files (.repo files) are located in the /etc/yum.repos.d directory. You can also make direct entries into the main /etc/yum.conf file.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
getfacl
50. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
used for kickstart and/or network installs
By defining a %post section - you can run scripts after a kickstart installation is complete.
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
generates errors under Red Hat Enterprise Linux 6