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 are the three modes in which the rpm command can operate?
The rpm command can operate in install - query - or verify modes.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
kickstart installations to work
2. Do you need to write changes to the disk when using the parted command? What about fdisk?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
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.
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 option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
load balancing and redundancy benefits
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
via the command line
createrepo
5. There are four types of DNS servers. Name them.
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 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.
service dhcpd configtest
6. Red Hat Enterprise Linux 6 is the only version that officially supports _______
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
LUKS encryption
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.
getsebool
7. What is the main config file for the DHCP service?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
8. What options with the yum command would you use to remove a package?
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.
The /etc/fstab file.
getsebool -a | grep http
9. What port on the firewall needs to be open for the TFTP server to work?
mkfs.ext4
You add your action to the end of the /home/user01/.bashrc file.
The TFTP server uses UDP port 69.
The three utilities are: route - ping - and nslookup.
10. What three commands can you use to help verify that the DNS server is functioning properly?
defining a %pre section although it is rarely used
Enforcing during installation
The dig - host - and ping commands can be used to test DNS server functionality.
export one or all resources
11. How can you list all services on the system to tell whether they will boot during startup?
The tcpdump command is used to monitor network connections on different interfaces.
export one or all resources
generates errors under Red Hat Enterprise Linux 6
chkconfig—list
12. Should you allow remote root access - Why or why not?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
13. What file is used to maintain custom parameters for the kernel during system boot?
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
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
SELinux provides enhanced granular security for the Linux operating system.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
14. Where are Yum repository config files located?
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The smbpasswd command is used to create Samba users.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
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.
15. A service needs to have _______________ to be able to use it.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
support for TCP Wrappers
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
Enforcing during installation
16. The ____________ is available for each share.
browseable option
The rndc utility provides a method for managing the DNS server remotely and securely.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
17. What is the top command used for?
used for kickstart and/or network installs
defining a %pre section although it is rarely used
By default - the rndc utility listens on port 953.
Use the top command to view CPU and memory usage.
18. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
You must open TCP ports 20 and 21 for the FTP server to function properly.
You add your action to the end of the /home/user01/.bashrc 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.
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.
19. What is a virtual host?
semanage boolean -l
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
Use the ps command to view processes and their CPU usage.
A virtual host is a way of hosting multiple sites using a single IP address.
20. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
The tcpdump command is used to monitor network connections on different interfaces.
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 /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The vsftpd package is used to install an FTP server.
21. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
alternatives --config mta
The service command is used to start - stop - and manage system services.
serve both files and printers to users
22. What is the difference between an A record and a PTR record?
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.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
23. You must dictate the ____________ you want allocated to your virtual machine when you create it.
amount of RAM
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.
have the same effect
For Apache to run a secure site - the mod_ssl package is required to be installed.
24. What command can you use to view NFS statistics?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
By defining a %post section - you can run scripts after a kickstart installation is complete.
The two main config files are master.cf and main.cf.
The nfsstat command can be used to view NFS statistics.
25. How do you run a command with elevated privileges?
You add your action to the end of the /home/user01/.bashrc file.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
rpcbind service
The smbstatus command shows you currently mounted Samba resources.
26. To grow a file system
mkfs.ext4
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the resize2fs command to grow a file system.
27. What command can you use to get information about logical volumes?
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 /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
lvdisplay
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
28. How would you view all Boolean options for the HTTP service?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
ifconfig
getsebool -a | grep http
useradd -c "Jr Admin" George
29. What critical step must you take after updating the kernel to a newer version?
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).
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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
30. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
rpcbind service
The four types of DNS servers are master - slave - caching-only - and forwarding.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
chkconfig xinetd --list
31. What does it mean if you ping a host and you receive the response Destination Unreachable?
The lastlog and faillog commands are used to view user login-related events?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
SSH is used for secure remote management of Linux systems.
32. What command do you use to report information on quota usage?
The rndc utility provides a method for managing the DNS server remotely and securely.
repquota
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
chcon
33. What command can you use to create a password-protected page?
The ping command can be used to verify connectivity to another host.
alternatives --config mta
Typing the mail or mutt command allows you to read mail from the command line.
The htpasswd command can be used to password-protect a web page.
34. What command can you use to view system processes and their CPU usage?
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
user's home directory in the /etc/skel directory
Use the ps command to view processes and their CPU usage.
via the command line
35. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
The -t nfs option is used with the mount command to mount NFS resources.
run on any port you'd like (provided that port is available)
SELinux provides enhanced granular security for the Linux operating system.
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.
36. The firewall service is...
enabled by default
serve both files and printers to users
load balancing and redundancy benefits
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
37. What three components are needed to fully automate a kickstart installation?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The lastlog and faillog commands are used to view user login-related events?
kickstart installations to work
This command reboots virtual guest Client04.
38. What command can you use to create your own repositories?
createrepo
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
The mount command lists all currently mounted file systems.
39. What command and option do you use to view the description of Boolean values?
semanage boolean -l
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.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
DNS uses port 53.
40. What three protocols can you use to perform network installations?
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.
DNS uses port 53.
The rpm command can operate in install - query - or verify modes.
41. What command can you use to change the context of files?
mkfs.ext4
chcon
serve both files and printers to users
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
42. What is the /etc/vsftpd/user_list file used for?
browseable option
The user_list file can be used to limit which users have access to the FTP server.
support for TCP Wrappers
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
43. What command (and options) can be used to create a user named George with the description "Jr Admin"?
Sendmail
choose which mode you'd like it to operate in
useradd -c "Jr Admin" George
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.
44. What command can you use to check the config file of the DHCP server?
The vsftpd package is used to install an FTP server.
user's home directory in the /etc/skel directory
service dhcpd configtest
mkfs.ext4
45. What command can you use to test the config files before starting the DNS service?
The du and df commands are used to view available space on the system.
service named configtest
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
46. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
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.
via the command line
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
used for kickstart and/or network installs
47. The at command is used to ____________. The cron service handles reoccurring system jobs.
schedule one-time-only jobs
The lastlog and faillog commands are used to view user login-related events?
service sshd statuts
The rndc utility provides a method for managing the DNS server remotely and securely.
48. SSH does...
This chapter described tdbsm and smbpasswd back-end authentication.
The /etc/fstab file.
support TCP Wrappers
Apache uses port 80 for HTTP and port 443 for HTTPS.
49. What are the three items that make up LVM?
The user_list file can be used to limit which users have access to the FTP server.
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
Physical volumes - volume groups - and logical volumes.
50. What file needs to be edited so that the system will mount a file system at boot time?
Version 2 is the latest and most secure version of SSH.
The virsh command is used to manage virtual guests.
The /etc/fstab file.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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