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 is the default port that Squid runs on?
By default - Squid runs on port 3128.
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.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
defining a %pre section although it is rarely used
2. What is a virtual host?
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 rndc utility provides a method for managing the DNS server remotely and securely.
A virtual host is a way of hosting multiple sites using a single IP address.
SSH is used for secure remote management of Linux systems.
3. What port does the SMTP service run on?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
The SMTP service runs on TCP port 110.
SELinux provides enhanced granular security for the Linux operating system.
4. Which log file is used to keep track of policy violations?
mkfs.ext4
The /var/log/audit/audit.log file contains all policy violations.
The tcpdump command is used to monitor network connections on different interfaces.
By default - Squid runs on port 3128.
5. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
used for kickstart and/or network installs
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
cat /proc/mdstat
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
6. What port does the rndc utility listen on by default?
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 resize2fs command to grow a file system.
By default - the rndc utility listens on port 953.
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.
7. What is the rndc utility used for?
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 smbstatus command shows you currently mounted Samba resources.
The rndc utility provides a method for managing the DNS server remotely and securely.
chkconfig xinetd --list
8. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
Sendmail
Typing the mail or mutt command allows you to read mail from the command line.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The three utilities are: route - ping - and nslookup.
9. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
support for TCP Wrappers
The tcpdump command is used to monitor network connections on different interfaces.
The virsh command is used to manage virtual guests.
10. What command would you use to create a group - to add the user George to the group?
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
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 yum groupinstall command to install multiple packages in a single group at once.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
11. What command and option can you use to enable a service to start on boot?
serve both files and printers to users
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 chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
Sendmail
12. What is the name of the package that allows you to install VNC?
mkfs.ext4
schedule one-time-only jobs
You can use the remove or erase options with yum to remove a package.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
13. Can you name three utilities that can be used for network or DNS client troubleshooting?
chkconfig sshd off
The three utilities are: route - ping - and nslookup.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
SELinux Booleans provide restrictions to different aspects of a service.
14. It is possible to run scripts before a kickstart installation. This is done by...
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
choose which mode you'd like it to operate in
defining a %pre section although it is rarely used
15. SSH does...
Physical volumes - volume groups - and logical volumes.
support TCP Wrappers
The four types of DNS servers are master - slave - caching-only - and forwarding.
createrepo
16. What are the three modes in which the rpm command can operate?
The SMTP service runs on TCP port 110.
The rpm command can operate in install - query - or verify modes.
kickstart installations to work
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
17. What protocols are used with Dovecot?
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 file that stores usernames and their encrypted passwords is erased and replaced with a new file.
By default - the rndc utility listens on port 953.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
18. What command can you use to view NFS statistics?
Version 2 is the latest and most secure version of SSH.
The user_list file can be used to limit which users have access to the FTP server.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The nfsstat command can be used to view NFS statistics.
19. What command can you use to validate the syntax of the Apache config file?
service httpd configtest
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
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.
20. How would you disable SELinux protection for NFS - allowing shares to be read/write?
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.
Use the route command with the add option to create a static route.
For Apache to run a secure site - the mod_ssl package is required to be installed.
setsebool -P nfs_export_all_rw=1
21. There are four types of DNS servers. Name them.
The four types of DNS servers are master - slave - caching-only - and forwarding.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
service named configtest
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.
22. What is the /etc/hosts file used for?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
23. 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
24. What command can you use to check the config file of the DHCP server?
getsebool -a | grep http
service dhcpd configtest
cat /proc/mdstat
lvdisplay
25. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
LUKS encryption
Using the chcon command - you can change the context of a file to work with Apache.
26. What command can be used to view the queue for at service jobs?
support for TCP Wrappers
atq
Use the yum groupinstall command to install multiple packages in a single group at once.
alternatives --config mta
27. What is the virsh command used for?
Sendmail
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
support for TCP Wrappers
The virsh command is used to manage virtual guests.
28. The at command is used to ____________. The cron service handles reoccurring system jobs.
The four types of DNS servers are master - slave - caching-only - and forwarding.
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
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
schedule one-time-only jobs
29. What are the three items that make up LVM?
browseable option
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.
Physical volumes - volume groups - and logical volumes.
rpcbind service
30. 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
31. What is the name of the section used to run scripts after a kickstart installation?
By defining a %post section - you can run scripts after a kickstart installation is complete.
enabled by default
setsebool -P nfs_export_all_rw=1
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
32. What command and option do you use to view the description of Boolean values?
semanage boolean -l
This chapter described tdbsm and smbpasswd back-end authentication.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
enabled by default
33. What are the two types of back-end authentication mechanisms discussed in this chapter?
This chapter described tdbsm and smbpasswd back-end authentication.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
34. 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.
You can use the authconfig-tui command or the authconfig command.
The service command is used to start - stop - and manage system services.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
35. How can you verify the status of the SSH service after the system has booted?
chkconfig xinetd --list
load balancing and redundancy benefits
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.
service sshd statuts
36. You must dictate the ____________ you want allocated to your virtual machine when you create it.
A virtual host is a way of hosting multiple sites using a single IP address.
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
chkconfig xinetd --list
amount of RAM
37. What does virsh reboot Client04 do?
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 /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
This command reboots virtual guest Client04.
chcon
38. How would you go about creating a static route?
Sendmail
This command reboots virtual guest Client04.
createrepo
Use the route command with the add option to create a static route.
39. Can you put your /boot partition on a RAID 5 array?
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.
getsebool
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.
chkconfig xinetd --list
40. What are the five required directories when building RPMS?
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 file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
41. The firewall service is...
halts the system
amount of RAM
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
enabled by default
42. Before you work with quotas - what do you need to do to the file system?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The mount command lists all currently mounted file systems.
halts the system
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
43. What command can be used to easily list all the options in the FTP main config file?
Use the route command with the add option to create a static route.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
kickstart installations to work
For Apache to run a secure site - the mod_ssl package is required to be installed.
44. Where are Yum repository config files located?
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.
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.
mkfs.ext4
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.
45. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
The smbpasswd command is used to create Samba users.
LUKS encryption
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.
ifconfig
46. How would you install a group of packages all at a single time?
Use the yum groupinstall command to install multiple packages in a single group at once.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The three utilities are: route - ping - and nslookup.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
47. What is the format of the /etc/shadow file?
SSH is used for secure remote management of Linux systems.
getsebool -a | grep http
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The tcpdump command is used to monitor network connections on different interfaces.
48. In Red Hat Enterprise Linux 6 - the default for SELinux is _______________ (which can be changed after the installation completes). For Red Hat Enterprise Linux 5 - you were able to choose what mode you wanted SELinux to start in.
Using the chcon command - you can change the context of a file to work with Apache.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The print option is used with both the fdisk and parted commands to display the current partition tables.
Enforcing during installation
49. 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
50. What command displays your current interfaces and IP address?
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.
This chapter described tdbsm and smbpasswd back-end authentication.
ifconfig
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