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 ____________ is available for each share.
browseable option
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 rndc utility provides a method for managing the DNS server remotely and securely.
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.
2. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
service named configtest
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
support for TCP Wrappers
3. What are the two config files for Postfix called?
chkconfig xinetd --list
The two main config files are master.cf and main.cf.
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.
The yum and rpm commands are used for package management.
4. What does virsh reboot Client04 do?
This command reboots virtual guest Client04.
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.
ifconfig
service named configtest
5. Can you name three utilities that can be used for network or DNS client troubleshooting?
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.
The three utilities are: route - ping - and nslookup.
SSH is used for secure remote management of Linux systems.
service httpd configtest
6. Before you work with ACLs - what do you need to do to the file system?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
user's home directory in the /etc/skel directory
7. Place all files you want added to a _______________ during creation.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
8. What command is used to create an RPM package?
rpmbuild
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.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
9. The at command is used to ____________. The cron service handles reoccurring system jobs.
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
schedule one-time-only jobs
The SMTP service runs on TCP port 110.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
10. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
rpcbind service
service httpd configtest
By defining a %post section - you can run scripts after a kickstart installation is complete.
11. What command-line program can you use to check your mail?
The smbpasswd command is used to create Samba users.
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.
Typing the mail or mutt command allows you to read mail from the command line.
SSH is used for secure remote management of Linux systems.
12. What command can you use to view system processes and their CPU usage?
used for kickstart and/or network installs
Use the ps command to view processes and their CPU usage.
By defining a %post section - you can run scripts after a kickstart installation is complete.
Enforcing during installation
13. What happens to jobs that are scheduled to run while the system is off?
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.
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.
Physical volumes - volume groups - and logical volumes.
lvdisplay
14. What option is used to allow anonymous uploads to the FTP server?
The lastlog and faillog commands are used to view user login-related events?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
15. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
For Apache to run a secure site - the mod_ssl package is required to be installed.
Enforcing during installation
16. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
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.
halts the system
17. What option is used with both the fdisk and parted commands to display the current partition tables?
SSH is used for secure remote management of Linux systems.
The print option is used with both the fdisk and parted commands to display the current partition tables.
service sshd statuts
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
18. Which file shows you all the client IP addresses?
Version 2 is the latest and most secure version of SSH.
By default - Squid runs on port 3128.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
entering rescue mode and repairing the problem.
19. How can you check the currently mounted file systems?
The nfsstat command can be used to view NFS statistics.
The mount command lists all currently mounted file systems.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
SSH is used for secure remote management of Linux systems.
20. How would you disable SELinux protection for NFS - allowing shares to be read/write?
semanage boolean -l
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
setsebool -P nfs_export_all_rw=1
The anonymous_enable=YES option in the main config file allows anonymous uploads.
21. What command can you use to create a file system?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The smbstatus command shows you currently mounted Samba resources.
mkfs.ext4
22. What are SELinux Booleans?
The smbpasswd command is used to create Samba users.
via the command line
you have access to the correct packages or repositories.
SELinux Booleans provide restrictions to different aspects of a service.
23. How would you install a group of packages all at a single time?
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
Sendmail
Enforcing during installation
Use the yum groupinstall command to install multiple packages in a single group at once.
24. What is SSH used for?
SSH is used for secure remote management of Linux systems.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The /etc/fstab file.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
25. How would you go about creating a static route?
kickstart installations to work
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the route command with the add option to create a static route.
The /var/log/audit/audit.log file contains all policy violations.
26. Samba servers can...
export one or all resources
serve both files and printers to users
user's home directory in the /etc/skel directory
The three utilities are: route - ping - and nslookup.
27. What command is used to show all services being controlled by the xinetd daemon?
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.
chkconfig xinetd --list
Use the top command to view CPU and memory usage.
The /var/log/audit/audit.log file contains all policy violations.
28. Which remote management service is installed by default?Can you name the port that it uses?
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.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
29. What option at the GRUB boot menu can you use to append something to a kernel?
via the command line
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
Typing the mail or mutt command allows you to read mail from the command line.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
30. How do you run a command with elevated privileges?
chkconfig xinetd --list
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
31. What command can be used to view the queue for at service jobs?
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.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
atq
32. There are four types of DNS servers. Name them.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
user's home directory in the /etc/skel directory
The lftp command can be used on a client to test FTP server connections.
33. 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
34. What are the three different types of RAID described in this chapter?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
You add your action to the end of the /home/user01/.bashrc file.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
35. What is the default port that Squid runs on?
By default - Squid runs on port 3128.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The three utilities are: route - ping - and nslookup.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
36. What port does the rndc utility listen on by default?
getsebool
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.
Version 2 is the latest and most secure version of SSH.
By default - the rndc utility listens on port 953.
37. What is the name of the package that allows you to install VNC?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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.
service httpd configtest
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
38. Where are Yum repository config files located?
The print option is used with both the fdisk and parted commands to display the current partition tables.
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 htpasswd command can be used to password-protect a web page.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
39. How can you change the security context of a directory to work with Apache?
Using the chcon command - you can change the context of a file to work with Apache.
chkconfig—list
The four types of DNS servers are master - slave - caching-only - and forwarding.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
40. What does it mean if you ping a host and you receive the response Destination Unreachable?
You can use the authconfig-tui command or the authconfig command.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
Use the yum groupinstall command to install multiple packages in a single group at once.
41. Through its main config file - SSH can be configured to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. What are the five required directories when building RPMS?
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 five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The mount command lists all currently mounted file systems.
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.
43. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
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.
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.
chkconfig xinetd --list
44. What command do you use to report information on quota usage?
You can use the authconfig-tui command or the authconfig command.
repquota
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.
ifconfig
45. You must dictate the ____________ you want allocated to your virtual machine when you create it.
semanage boolean -l
amount of RAM
repquota
The du and df commands are used to view available space on the system.
46. What port does the Apache web server run on - What about HTTPS?
The TFTP server uses UDP port 69.
generates errors under Red Hat Enterprise Linux 6
export one or all resources
Apache uses port 80 for HTTP and port 443 for HTTPS.
47. What command can be used to easily list all the options in the FTP main config file?
have the same effect
choose which mode you'd like it to operate in
The four types of DNS servers are master - slave - caching-only - and forwarding.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
48. What command can you use to create a password-protected page?
The htpasswd command can be used to password-protect a web page.
Sendmail
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
49. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
You add your action to the end of the /home/user01/.bashrc file.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
50. The firewall service is...
enabled by default
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The ping command can be used to verify connectivity to another host.
The lastlog and faillog commands are used to view user login-related events?