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. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
service named configtest
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
Sendmail
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
2. It is possible to run scripts before a kickstart installation. This is done by...
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
have the same effect
defining a %pre section although it is rarely used
support for TCP Wrappers
3. What is the benefit to using centralized authentication?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
4. What is the name of the package used to install an FTP?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The vsftpd package is used to install an FTP server.
serve both files and printers to users
LUKS encryption
5. What command can be used to view the queue for at service jobs?
have the same effect
This chapter described tdbsm and smbpasswd back-end authentication.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
atq
6. Editing the /etc/xinetd.d/tftp file and enabling the service are the same as running the chkconfig tftp on command. Both of these actions...
The dig - host - and ping commands can be used to test DNS server functionality.
The mount command lists all currently mounted file systems.
have the same effect
You can use the remove or erase options with yum to remove a package.
7. The exportfs command is used to...
The two main config files are master.cf and main.cf.
setsebool -P nfs_export_all_rw=1
export one or all resources
The SMTP service runs on TCP port 110.
8. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
choose which mode you'd like it to operate in
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
used for kickstart and/or network installs
run on any port you'd like (provided that port is available)
9. What three components are needed to fully automate a kickstart installation?
The tcpdump command is used to monitor network connections on different interfaces.
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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
10. What does the rdnc-confgen command do?
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
For Apache to run a secure site - the mod_ssl package is required to be installed.
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.
getsebool
11. The ____________ is available for each share.
You can use the authconfig-tui command or the authconfig command.
generates errors under Red Hat Enterprise Linux 6
browseable option
A soft limit acts like an alarm - signaling you when you are reaching your limit. If you don't specify a grace period - the soft limit is the max. A hard limit is required only when a grace period exists. It is the max limit you can hit before your g
12. What are SELinux Booleans?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
SELinux Booleans provide restrictions to different aspects of a service.
enabled by default
The SSH service is almost always installed by default in Red Hat. It uses TCP port 22 - and this port is open on the default firewall rules.
13. What option is used to allow anonymous uploads to the FTP server?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
defining a %pre section although it is rarely used
14. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
entering rescue mode and repairing the problem.
15. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The service command is used to start - stop - and manage system services.
Physical volumes - volume groups - and logical volumes.
16. What is the format of the /etc/shadow file?
useradd -c "Jr Admin" George
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
17. What command can you use to change the context of files?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
chcon
Use the yum groupinstall command to install multiple packages in a single group at once.
A user's home directory is created under the /home directory.
18. What command can you use to get information about logical volumes?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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 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
lvdisplay
19. What two commands are used for package management?
The yum and rpm commands are used for package management.
via the command line
service httpd configtest
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
20. You must dictate the ____________ you want allocated to your virtual machine when you create it.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
amount of RAM
The SSH service is almost always installed by default in Red Hat. It uses TCP port 22 - and this port is open on the default firewall rules.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
21. Before you work with ACLs - what do you need to do to the file system?
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
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.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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.
22. What command-line program can you use to check your mail?
Apache uses port 80 for HTTP and port 443 for HTTPS.
Typing the mail or mutt command allows you to read mail from the command line.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The SMTP service runs on TCP port 110.
23. What are the three modes in which the rpm command can operate?
choose which mode you'd like it to operate in
Version 2 is the latest and most secure version of SSH.
The htpasswd command can be used to password-protect a web page.
The rpm command can operate in install - query - or verify modes.
24. A service needs to have _______________ to be able to use it.
getsebool -a | grep http
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.
support for TCP Wrappers
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.
25. What happens if you call the command from question 3 with the -c option after it has already been run?
alternatives --config mta
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
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
26. SSH does...
support TCP Wrappers
service dhcpd configtest
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.
getsebool -a | grep http
27. What command and option can you use to enable a service to start on boot?
semanage boolean -l
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
28. How can you list all services on the system to tell whether they will boot during startup?
Public/private key authentication provides an additional layer of security because you need the correct key instead of just knowing someone's password. Passwords combined with public/private keys take the security one additional step.
chkconfig—list
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
29. How can you display all virtual guests after they're connected to a hypervisor?
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 defining a %post section - you can run scripts after a kickstart installation is complete.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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.
30. What are the five required directories when building RPMS?
rpcbind service
Sendmail
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The lftp command can be used on a client to test FTP server connections.
31. What are the side effects of shrinking a volume group or logical volume?
You can use the -q option to query an installed package. Combining grep and the -qa options - you can search among all installed packages on the system.
When the system starts up again - the cron service will run any jobs that were missed while the system was off. On Red Hat Enterprise Linux 5 - the anacron service handles this functionality.
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.
The SSH service is almost always installed by default in Red Hat. It uses TCP port 22 - and this port is open on the default firewall rules.
32. There are four types of DNS servers. Name them.
serve both files and printers to users
Use the top command to view CPU and memory usage.
The four types of DNS servers are master - slave - caching-only - and forwarding.
Version 2 is the latest and most secure version of SSH.
33. What is VNC?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Use the top command to view CPU and memory usage.
VNC is used to control a remote desktop session.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
34. What benefit does a web proxy provide to your network?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
The SMTP service runs on TCP port 110.
35. What command can you use to create your own repositories?
createrepo
A user's home directory is created under the /home directory.
You can use the remove or erase options with yum to remove a package.
The print option is used with both the fdisk and parted commands to display the current partition tables.
36. What command can be used to easily list all the options in the FTP main config file?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The -t nfs option is used with the mount command to mount NFS resources.
37. What port on the firewall needs to be open for the TFTP server to work?
The TFTP server uses UDP port 69.
When the system starts up again - the cron service will run any jobs that were missed while the system was off. On Red Hat Enterprise Linux 5 - the anacron service handles this functionality.
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.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
38. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
Use the setgid flag to create the appropriate permissions (chmod 2770).
You can use the remove or erase options with yum to remove a package.
When the system starts up again - the cron service will run any jobs that were missed while the system was off. On Red Hat Enterprise Linux 5 - the anacron service handles this functionality.
load balancing and redundancy benefits
39. By default - what is the path to a user's home directory?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. What three protocols can you use to perform network installations?
This command reboots virtual guest Client04.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
repquota
41. What command and option do you use to view the description of Boolean values?
The nfsstat command can be used to view NFS statistics.
have the same effect
semanage boolean -l
Using the chcon command - you can change the context of a file to work with Apache.
42. What command displays your current interfaces and IP address?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Kickstart supports both basic and advanced partitioning (RAID/LVM).
A soft limit acts like an alarm - signaling you when you are reaching your limit. If you don't specify a grace period - the soft limit is the max. A hard limit is required only when a grace period exists. It is the max limit you can hit before your g
ifconfig
43. What protocols are used with Dovecot?
The service command is used to start - stop - and manage system services.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
getsebool
amount of RAM
44. Can you name the two commands that can be used to view the free space on the system?
kickstart installations to work
The du and df commands are used to view available space on the system.
Use the yum groupinstall command to install multiple packages in a single group at once.
When the system enters into runlevel 2 - the rsyslog service has a priority of 12 when starting. Anything with a lower number (or the same number and lower first letter) starts before the rsyslog service.
45. Before you work with quotas - what do you need to do to the file system?
By defining a %post section - you can run scripts after a kickstart installation is complete.
generates errors under Red Hat Enterprise Linux 6
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
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.
46. What is the default port that Squid runs on?
When the system starts up again - the cron service will run any jobs that were missed while the system was off. On Red Hat Enterprise Linux 5 - the anacron service handles this functionality.
The TFTP server uses UDP port 69.
By default - Squid runs on port 3128.
semanage boolean -l
47. What command can you use to query Boolean values?
Use the yum groupinstall command to install multiple packages in a single group at once.
getsebool
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
The SMTP service runs on TCP port 110.
48. Can you name three utilities that can be used for network or DNS client troubleshooting?
The three utilities are: route - ping - and nslookup.
The smbpasswd command is used to create Samba users.
support TCP Wrappers
VNC is used to control a remote desktop session.
49. What two commands are special for dealing with user login events?
The lastlog and faillog commands are used to view user login-related events?
support TCP Wrappers
Use the yum groupinstall command to install multiple packages in a single group at once.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
50. What command can you use to view the current ACL on a file?
SELinux provides enhanced granular security for the Linux operating system.
getfacl
Sendmail
Public/private key authentication provides an additional layer of security because you need the correct key instead of just knowing someone's password. Passwords combined with public/private keys take the security one additional step.