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. 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.
The three utilities are: route - ping - and nslookup.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
run on any port you'd like (provided that port is available)
2. What is a gateway used for on a network?
user's home directory in the /etc/skel directory
service sshd statuts
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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
3. What two commands are used for package management?
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The two main config files are master.cf and main.cf.
You can use the authconfig-tui command or the authconfig command.
The yum and rpm commands are used for package management.
4. What command can you use to create a new SSL certificate?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The smbpasswd command is used to create Samba users.
5. Which file shows you all the client IP addresses?
service httpd configtest
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
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.
6. To export directories as resources - what file needs to be edited?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
7. What benefit does a web proxy provide to your network?
you have access to the correct packages or repositories.
Sendmail
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
8. What command can you use to query Boolean values?
halts the system
user's home directory in the /etc/skel directory
getsebool
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
9. What command can you use to monitor and troubleshoot network connections?
The htpasswd command can be used to password-protect a web page.
Use the ps command to view processes and their CPU usage.
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 tcpdump command is used to monitor network connections on different interfaces.
10. What command can you use to view mounted Samba shares?
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.
Use the resize2fs command to grow a file system.
The smbstatus command shows you currently mounted Samba resources.
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.
11. Can you name the two commands that can be used to view the free space on the system?
browseable option
load balancing and redundancy benefits
The du and df commands are used to view available space on the system.
schedule one-time-only jobs
12. What happens to jobs that are scheduled to run while the system is off?
lvdisplay
support TCP Wrappers
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.
used for kickstart and/or network installs
13. What option needs to be used with the mount command to mount an NFS resource?
SELinux provides enhanced granular security for the Linux operating system.
Using the chcon command - you can change the context of a file to work with Apache.
DNS uses port 53.
The -t nfs option is used with the mount command to mount NFS resources.
14. What option is used with both the fdisk and parted commands to display the current partition tables?
The print option is used with both the fdisk and parted commands to display the current partition tables.
The yum and rpm commands are used for package management.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
VNC is used to control a remote desktop session.
15. What command can you use to query information from the kernel about RAID arrays?
By defining a %post section - you can run scripts after a kickstart installation is complete.
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.
cat /proc/mdstat
enabled by default
16. A service needs to have _______________ to be able to use it.
The lftp command can be used on a client to test FTP server connections.
Use the resize2fs command to grow a file system.
semanage boolean -l
support for TCP Wrappers
17. What protocols are used with Dovecot?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The du and df commands are used to view available space on the system.
cat /proc/mdstat
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
18. Can you name three utilities that can be used for network or DNS client troubleshooting?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
Use the resize2fs command to grow a file system.
The three utilities are: route - ping - and nslookup.
19. What command can you use to test the config files before starting the DNS service?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
service named configtest
20. SSH does...
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
support TCP Wrappers
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
service named configtest
21. What are the five required directories when building RPMS?
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
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 five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
rpcbind service
22. What is the superblock used for?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The yum and rpm commands are used for package management.
via the command line
The smbstatus command shows you currently mounted Samba resources.
23. What command (and options) can be used to create a user named George with the description "Jr Admin"?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
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.
useradd -c "Jr Admin" George
24. How can virtual hosts be used?
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.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
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.
ifconfig
25. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
rpmbuild
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.
generates errors under Red Hat Enterprise Linux 6
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.
26. What command can you use to get information about logical volumes?
lvdisplay
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.
useradd -c "Jr Admin" George
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
27. What command is used to create a user for Samba?
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.
Sendmail
The service command is used to start - stop - and manage system services.
The smbpasswd command is used to create Samba users.
28. What is the virsh command used for?
The virsh command is used to manage virtual guests.
For Apache to run a secure site - the mod_ssl package is required to be installed.
The dig - host - and ping commands can be used to test DNS server functionality.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
29. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
The vsftpd package is used to install an FTP server.
chkconfig sshd off
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
rpcbind service
30. What command and options can you use to update the time?
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.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
getsebool
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.
31. What are the two config files for Postfix called?
service sshd statuts
By default - Squid runs on port 3128.
alternatives --config mta
The two main config files are master.cf and main.cf.
32. How can you verify the status of the SSH service after the system has booted?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
service sshd statuts
semanage boolean -l
33. What port does the rndc utility listen on by default?
atq
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
By default - the rndc utility listens on port 953.
useradd -c "Jr Admin" George
34. 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
35. What command can you use to view NFS statistics?
chkconfig xinetd --list
run on any port you'd like (provided that port is available)
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 nfsstat command can be used to view NFS statistics.
36. What commands can you use to add a client machine to an LDAP server?
VNC is used to control a remote desktop session.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
amount of RAM
You can use the authconfig-tui command or the authconfig command.
37. What command can you use to validate the syntax of the Apache config file?
Enforcing during installation
service httpd configtest
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
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.
38. What are SELinux Booleans?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
SELinux Booleans provide restrictions to different aspects of a service.
The virsh command is used to manage virtual guests.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
39. What is the format of the /etc/shadow file?
The nfsstat command can be used to view NFS statistics.
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.
createrepo
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
40. The ____________ is available for each share.
getsebool
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
browseable option
The rndc utility provides a method for managing the DNS server remotely and securely.
41. What is the top command used for?
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.
Use the resize2fs command to grow a file system.
Use the top command to view CPU and memory usage.
The smbstatus command shows you currently mounted Samba resources.
42. What command can be used to easily list all the options in the FTP main config file?
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.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The user_list file can be used to limit which users have access to the FTP server.
You can use the authconfig-tui command or the authconfig command.
43. A PXE server eases the automation process but isn't required for...
run on any port you'd like (provided that port is available)
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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
kickstart installations to work
44. What are the three items that make up LVM?
Physical volumes - volume groups - and logical volumes.
rpmbuild
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
45. What command can you use to test connectivity to another host?
The ping command can be used to verify connectivity to another host.
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.
For Apache to run a secure site - the mod_ssl package is required to be installed.
repquota
46. What command is used to show all services being controlled by the xinetd daemon?
The NFS service uses TCP port 2049 by default.
The smbpasswd command is used to create Samba users.
chkconfig xinetd --list
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
47. What directory is used to represent the virtual file system created by the kernel?
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.
Enforcing during installation
LUKS encryption
48. 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
49. Where are Yum repository config files located?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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.
service dhcpd configtest
VNC is used to control a remote desktop session.
50. 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...
Use the top command to view CPU and memory usage.
lvdisplay
have the same effect
Use the setgid flag to create the appropriate permissions (chmod 2770).
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