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 command can be used to view the queue for at service jobs?
atq
Sendmail
Physical volumes - volume groups - and logical volumes.
have the same effect
2. How can virtual hosts be used?
Sendmail
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
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.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
3. What is SSH used for?
alternatives --config mta
You can use the remove or erase options with yum to remove a package.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
SSH is used for secure remote management of Linux systems.
4. What command can you use to create a new SSL certificate?
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 /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
export one or all resources
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
5. 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.
You must open TCP ports 20 and 21 for the FTP server to function properly.
Sendmail
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
6. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
chkconfig xinetd --list
The du and df commands are used to view available space on the system.
The ping command can be used to verify connectivity to another host.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
7. What command can you use to get information about logical volumes?
lvdisplay
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
Use the route command with the add option to create a static route.
The service command is used to start - stop - and manage system services.
8. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
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.
setsebool -P nfs_export_all_rw=1
export one or all resources
alternatives --config mta
9. What options with the yum command would you use to remove a package?
A large warning message appears indicating that the key doesn't match the host you are connecting to. You have to remove the key/host pair from the known_hosts file to proceed.
setsebool -P nfs_export_all_rw=1
You can use the remove or erase options with yum to remove a package.
The TFTP server uses UDP port 69.
10. What port does the rndc utility listen on by default?
support for TCP Wrappers
The TFTP server uses UDP port 69.
You must open TCP ports 20 and 21 for the FTP server to function properly.
By default - the rndc utility listens on port 953.
11. Red Hat Enterprise Linux 6 is the only version that officially supports _______
LUKS encryption
repquota
The -t nfs option is used with the mount command to mount NFS resources.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
12. How can you verify the status of the SSH service after the system has booted?
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.
service sshd statuts
The smbstatus command shows you currently mounted Samba resources.
alternatives --config mta
13. A service needs to have _______________ to be able to use it.
support for TCP Wrappers
have the same effect
useradd -c "Jr Admin" George
The -t nfs option is used with the mount command to mount NFS resources.
14. What two commands are special for dealing with user login events?
service httpd configtest
The lastlog and faillog commands are used to view user login-related events?
A user's home directory is created under the /home directory.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
15. How would you go about creating a static route?
VNC is used to control a remote desktop session.
Use the route command with the add option to create a static route.
rpmbuild
A virtual host is a way of hosting multiple sites using a single IP address.
16. A slave DNS server provides...
chkconfig—list
browseable option
load balancing and redundancy benefits
chkconfig xinetd --list
17. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
used for kickstart and/or network installs
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
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.
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.
18. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
getsebool
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The du and df commands are used to view available space on the system.
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.
19. What option is used with both the fdisk and parted commands to display the current partition tables?
mkfs.ext4
LUKS encryption
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The print option is used with both the fdisk and parted commands to display the current partition tables.
20. The at command is used to ____________. The cron service handles reoccurring system jobs.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
schedule one-time-only jobs
The anonymous_enable=YES option in the main config file allows anonymous uploads.
21. What command do you use to report information on quota usage?
SSH is used for secure remote management of Linux systems.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
repquota
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.
22. What are the three items that make up LVM?
Physical volumes - volume groups - and logical volumes.
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 rpm command can operate in install - query - or verify modes.
choose which mode you'd like it to operate in
23. There are four types of DNS servers. Name them.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The yum and rpm commands are used for package management.
24. What command displays your current interfaces and IP address?
By defining a %post section - you can run scripts after a kickstart installation is complete.
SELinux provides enhanced granular security for the Linux operating system.
ifconfig
The smbstatus command shows you currently mounted Samba resources.
25. What benefit does a web proxy provide to your network?
SELinux Booleans provide restrictions to different aspects of a service.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
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.
26. What is a virtual host?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
ifconfig
A virtual host is a way of hosting multiple sites using a single IP address.
run on any port you'd like (provided that port is available)
27. What port on the firewall needs to be open for the TFTP server to work?
browseable option
The TFTP server uses UDP port 69.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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.
28. What is the biggest benefit to using LVM over basic partitions?
You add your action to the end of the /home/user01/.bashrc file.
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 /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
mkfs.ext4
29. What port does NFS use by default?
The NFS service uses TCP port 2049 by default.
The lastlog and faillog commands are used to view user login-related events?
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.
chkconfig sshd off
30. The exportfs command is used to...
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.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
This command reboots virtual guest Client04.
export one or all resources
31. Before you work with quotas - what do you need to do to the file system?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
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 rpm command can operate in install - query - or verify modes.
32. To grow a file system
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.
Use the resize2fs command to grow a file system.
kickstart installations to work
Using the chcon command - you can change the context of a file to work with Apache.
33. What is the main config file for the DHCP service?
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 /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
Use the setgid flag to create the appropriate permissions (chmod 2770).
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.
34. What are the three different types of RAID described in this chapter?
rpmbuild
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.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Typing the mail or mutt command allows you to read mail from the command line.
35. What is the /var/lib/nfs/etab file used for?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
Use the top command to view CPU and memory usage.
The ping command can be used to verify connectivity to another host.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
36. What is the name of the package used to install an FTP?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The vsftpd package is used to install an FTP server.
37. What command can you use to query information from the kernel about RAID arrays?
The yum and rpm commands are used for package management.
schedule one-time-only jobs
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.
cat /proc/mdstat
38. What is the /etc/vsftpd/user_list file used for?
The user_list file can be used to limit which users have access to the FTP server.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
browseable option
mkfs.ext4
39. You must dictate the ____________ you want allocated to your virtual machine when you create it.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
amount of RAM
40. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
The vsftpd package is used to install an FTP server.
semanage boolean -l
You can use the remove or erase options with yum to remove a package.
via the command line
41. What command and option can you use to enable a service to start on boot?
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.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
getsebool
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
42. Which version of SSH should you use?
choose which mode you'd like it to operate in
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.
createrepo
Version 2 is the latest and most secure version of SSH.
43. Do you need to write changes to the disk when using the parted command? What about fdisk?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
createrepo
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.
ifconfig
44. What command can you use to view NFS statistics?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
For Apache to run a secure site - the mod_ssl package is required to be installed.
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.
The nfsstat command can be used to view NFS statistics.
45. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
You can use the remove or erase options with yum to remove a package.
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
alternatives --config mta
The rndc utility provides a method for managing the DNS server remotely and securely.
46. What is the last rule in the iptables file?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
47. How would you disable SELinux protection for NFS - allowing shares to be read/write?
setsebool -P nfs_export_all_rw=1
By default - the rndc utility listens on port 953.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The service command is used to start - stop - and manage system services.
48. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
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
used for kickstart and/or network installs
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
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.
49. What is the xinetd service used for?
used for kickstart and/or network installs
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
You can use the remove or erase options with yum to remove a package.
50. What is the point of using SELinux?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
SELinux provides enhanced granular security for the Linux operating system.
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.
A large warning message appears indicating that the key doesn't match the host you are connecting to. You have to remove the key/host pair from the known_hosts file to proceed.
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests