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. Red Hat Enterprise Linux 6 is the only version that officially supports _______
By default - Squid runs on port 3128.
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.
LUKS encryption
useradd -c "Jr Admin" George
2. What command can you use to manage system services?
The service command is used to start - stop - and manage system services.
You add your action to the end of the /home/user01/.bashrc file.
Use the resize2fs command to grow a file system.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
3. How can you change the security context of a directory to work with Apache?
entering rescue mode and repairing the problem.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Using the chcon command - you can change the context of a file to work with Apache.
4. What does virsh reboot Client04 do?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
rpcbind service
This command reboots virtual guest Client04.
5. What command can you use to query information from the kernel about RAID arrays?
cat /proc/mdstat
VNC is used to control a remote desktop session.
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
6. Which file shows you all the client IP addresses?
SELinux Booleans provide restrictions to different aspects of a service.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The dig - host - and ping commands can be used to test DNS server functionality.
This command reboots virtual guest Client04.
7. What is the name of the package that allows you to install VNC?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Using the chcon command - you can change the context of a file to work with Apache.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
8. What are the side effects of shrinking a volume group or logical volume?
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 web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
alternatives --config mta
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
9. What command is used to show all services being controlled by the xinetd daemon?
The lastlog and faillog commands are used to view user login-related events?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
kickstart installations to work
chkconfig xinetd --list
10. What are SELinux Booleans?
load balancing and redundancy benefits
entering rescue mode and repairing the problem.
SELinux Booleans provide restrictions to different aspects of a service.
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.
11. Does a DHCP server allow reserved IP addresses - If so - how?
chkconfig—list
The four types of DNS servers are master - slave - caching-only - and forwarding.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
12. There are four types of DNS servers. Name them.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The dig - host - and ping commands can be used to test DNS server functionality.
The yum and rpm commands are used for package management.
13. Which log file is used to keep track of policy violations?
The /var/log/audit/audit.log file contains all policy violations.
chkconfig xinetd --list
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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.
14. 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
15. What directory is used to represent the virtual file system created by the kernel?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
export one or all resources
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
16. 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
17. What happens to jobs that are scheduled to run while the system is off?
This chapter described tdbsm and smbpasswd back-end authentication.
enabled by default
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
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.
18. The at command is used to ____________. The cron service handles reoccurring system jobs.
rpmbuild
Enforcing during installation
schedule one-time-only jobs
You should never use the -U option because it erases the prior kernel when updating. This leaves you with no fallback kernel should your system not boot properly.
19. What command do you use to report information on quota usage?
repquota
SELinux provides enhanced granular security for the Linux operating system.
The DHCP server listens on port 67 by default.
The /etc/fstab file.
20. What does the rdnc-confgen command do?
alternatives --config mta
Use the setgid flag to create the appropriate permissions (chmod 2770).
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
You add your action to the end of the /home/user01/.bashrc file.
21. What command is used to create a user for Samba?
chkconfig—list
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The smbpasswd command is used to create Samba users.
mkfs.ext4
22. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The vsftpd package is used to install an FTP server.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
23. What is the /etc/vsftpd/user_list file used for?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
You must open TCP ports 20 and 21 for the FTP server to function properly.
The user_list file can be used to limit which users have access to the FTP server.
24. What are the two types of back-end authentication mechanisms discussed in this chapter?
By default - the rndc utility listens on port 953.
VNC is used to control a remote desktop session.
The firewall rule is inserted into the fifth line of the iptables rules and opens up TCP port 80 (for the HTTP service) on the firewall to allow incoming connections.
This chapter described tdbsm and smbpasswd back-end authentication.
25. For Red Hat Enterprise Linux 6 - SELinux comes set up in enforcing mode. When installing Red Hat Enterprise Linux 5 - you have the option to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
26. The ____________ is available for each share.
The TFTP server uses UDP port 69.
run on any port you'd like (provided that port is available)
browseable option
Use the yum groupinstall command to install multiple packages in a single group at once.
27. What command can be used to view the queue for at service jobs?
rpmbuild
Apache uses port 80 for HTTP and port 443 for HTTPS.
Use the top command to view CPU and memory usage.
atq
28. What command can you use to create a new SSL certificate?
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.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The mount command lists all currently mounted file systems.
via the command line
29. What does the partprobe command do?
The -t nfs option is used with the mount command to mount NFS resources.
semanage boolean -l
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
30. What client-side command can you use to test your FTP server connection?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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.
rpmbuild
31. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
getsebool -a | grep http
Use the setgid flag to create the appropriate permissions (chmod 2770).
Enforcing during installation
32. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
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.
service sshd statuts
chkconfig—list
The service command is used to start - stop - and manage system services.
33. What benefit does a web proxy provide to your network?
You add your action to the end of the /home/user01/.bashrc file.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
user's home directory in the /etc/skel directory
You can use the remove or erase options with yum to remove a package.
34. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
via the command line
entering rescue mode and repairing the problem.
rpmbuild
35. What protocols are used with Dovecot?
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.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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.
The smbstatus command shows you currently mounted Samba resources.
36. What does it mean if you ping a host and you receive the response Destination Unreachable?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
You must open TCP ports 20 and 21 for the FTP server to function 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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
37. What is the main config file for the DHCP service?
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 /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The lastlog and faillog commands are used to view user login-related events?
A virtual host is a way of hosting multiple sites using a single IP address.
38. What commands can you use to add a client machine to an LDAP server?
You can use the authconfig-tui command or the authconfig command.
Use the yum groupinstall command to install multiple packages in a single group at once.
cat /proc/mdstat
enabled by default
39. A slave DNS server provides...
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
load balancing and redundancy benefits
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
Physical volumes - volume groups - and logical volumes.
40. What command can you use to view the current ACL on a file?
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.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
getfacl
41. What option would you use to query an installed package using the rpm command?
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.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
When you exit the parted utility - all your changes are automatically written to disk. With the fdisk command - you need to manually write your changes to disk for them to take effect.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
42. 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
43. What file needs to be edited so that the system will mount a file system at boot time?
The /etc/fstab file.
run on any port you'd like (provided that port is available)
This chapter described tdbsm and smbpasswd back-end authentication.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
44. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
rpmbuild
rpcbind service
chkconfig sshd off
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
45. The firewall service is...
enabled by default
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
Kickstart supports both basic and advanced partitioning (RAID/LVM).
repquota
46. How would you view all Boolean options for the HTTP service?
For Apache to run a secure site - the mod_ssl package is required to be installed.
schedule one-time-only jobs
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
getsebool -a | grep http
47. What does the testparm command do?
Use the top command to view CPU and memory usage.
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 testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
service httpd configtest
48. Before you work with quotas - what do you need to do to the file system?
service sshd statuts
The virsh command is used to manage virtual guests.
The rndc utility provides a method for managing the DNS server remotely and securely.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
49. What is the rndc utility used for?
The rndc utility provides a method for managing the DNS server remotely and securely.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
The mount command lists all currently mounted file systems.
chkconfig—list
50. What two commands are special for dealing with user login events?
You can use the remove or erase options with yum to remove a package.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The lastlog and faillog commands are used to view user login-related events?
The mount command lists all currently mounted file systems.