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 biggest benefit to using LVM over basic partitions?
amount of RAM
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.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
Sendmail
2. What command-line program can you use to check your mail?
The smbpasswd command is used to create Samba users.
The rndc utility provides a method for managing the DNS server remotely and securely.
The virsh command is used to manage virtual guests.
Typing the mail or mutt command allows you to read mail from the command line.
3. What command disables the SSH service from running when the system boots?
mkfs.ext4
chkconfig sshd off
alternatives --config mta
DNS uses port 53.
4. What command can you use to create your own repositories?
createrepo
Use the resize2fs command to grow a file system.
The mount command lists all currently mounted file systems.
user's home directory in the /etc/skel directory
5. What command is used to create a user for Samba?
The smbpasswd command is used to create Samba users.
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.
The nfsstat command can be used to view NFS statistics.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
6. 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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
schedule one-time-only jobs
via the command line
atq
7. There are four types of DNS servers. Name them.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
browseable option
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The four types of DNS servers are master - slave - caching-only - and forwarding.
8. 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
amount of RAM
Use the setgid flag to create the appropriate permissions (chmod 2770).
via the command line
9. How would you disable SELinux protection for NFS - allowing shares to be read/write?
support for TCP Wrappers
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
Use the resize2fs command to grow a file system.
setsebool -P nfs_export_all_rw=1
10. What is the /var/lib/nfs/etab file used for?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
getfacl
via the command line
11. 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
12. What is the name of the package used to install an FTP?
The vsftpd package is used to install an FTP server.
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.
semanage boolean -l
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.
13. What is a virtual host?
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
lvdisplay
SSH is used for secure remote management of Linux systems.
A virtual host is a way of hosting multiple sites using a single IP address.
14. Where are Yum repository config files located?
enabled by default
This chapter described tdbsm and smbpasswd back-end authentication.
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.
This command reboots virtual guest Client04.
15. 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
16. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
getsebool -a | grep http
amount of RAM
The NFS service uses TCP port 2049 by default.
17. What are the side effects of shrinking a volume group or logical volume?
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.
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 /etc/fstab file.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
18. What are the five required directories when building RPMS?
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 xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
alternatives --config mta
19. What command can you use to test the config files before starting the DNS service?
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.
service named configtest
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.
The rndc utility provides a method for managing the DNS server remotely and securely.
20. What command can be used to view the queue for at service jobs?
atq
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 lftp command can be used on a client to test FTP server connections.
21. What command can you use to manage system services?
entering rescue mode and repairing the problem.
getsebool
The service command is used to start - stop - and manage system services.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
22. What option is used with both the fdisk and parted commands to display the current partition tables?
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 print option is used with both the fdisk and parted commands to display the current partition tables.
The rpm command can operate in install - query - or verify modes.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
23. What protocols are used with Dovecot?
Physical volumes - volume groups - and logical volumes.
lvdisplay
export one or all resources
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
24. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
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.
generates errors under Red Hat Enterprise Linux 6
Sendmail
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.
25. What command can you use to check the config file of the DHCP server?
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
You can use the authconfig-tui command or the authconfig command.
service dhcpd configtest
26. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
enabled by default
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 virsh command is used to manage virtual guests.
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.
27. The firewall service is...
enabled by default
semanage boolean -l
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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
28. What port does NFS use by default?
The nfsstat command can be used to view NFS statistics.
The NFS service uses TCP port 2049 by default.
This chapter described tdbsm and smbpasswd back-end authentication.
DNS uses port 53.
29. Red Hat Enterprise Linux 6 is the only version that officially supports _______
LUKS encryption
The htpasswd command can be used to password-protect a web page.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
used for kickstart and/or network installs
30. Does a DHCP server allow reserved IP addresses - If so - how?
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
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
lvdisplay
Enforcing during installation
31. Can you name three utilities that can be used for network or DNS client troubleshooting?
The three utilities are: route - ping - and nslookup.
lvdisplay
For Apache to run a secure site - the mod_ssl package is required to be installed.
ifconfig
32. What command can you use to monitor and troubleshoot network connections?
The tcpdump command is used to monitor network connections on different interfaces.
SELinux Booleans provide restrictions to different aspects of a service.
service dhcpd configtest
The anonymous_enable=YES option in the main config file allows anonymous uploads.
33. The exportfs command is used to...
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
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.
export one or all resources
ifconfig
34. How can you check the currently mounted file systems?
useradd -c "Jr Admin" George
You can use the authconfig-tui command or the authconfig command.
The user_list file can be used to limit which users have access to the FTP server.
The mount command lists all currently mounted file systems.
35. What command (and options) can be used to create a user named George with the description "Jr Admin"?
useradd -c "Jr Admin" George
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
This command reboots virtual guest Client04.
Enforcing during installation
36. What port must be opened on the firewall for DNS?
schedule one-time-only jobs
You add your action to the end of the /home/user01/.bashrc file.
DNS uses port 53.
chkconfig sshd off
37. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
you have access to the correct packages or repositories.
Enforcing during installation
Physical volumes - volume groups - and logical volumes.
kickstart installations to work
38. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
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.
alternatives --config mta
VNC is used to control a remote desktop session.
By default - the rndc utility listens on port 953.
39. What two ports should be opened on the firewall for the FTP server to function properly?
service httpd configtest
Enforcing during installation
You must open TCP ports 20 and 21 for the FTP server to function properly.
The four types of DNS servers are master - slave - caching-only - and forwarding.
40. 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.
Enforcing during installation
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
semanage boolean -l
For Apache to run a secure site - the mod_ssl package is required to be installed.
41. What port does the DHCP server listen on by default?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The DHCP server listens on port 67 by default.
The NFS service uses TCP port 2049 by default.
chcon
42. Are additional packages besides httpd required for a secure website - If so - what are they?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
For Apache to run a secure site - the mod_ssl package is required to be installed.
service httpd configtest
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
43. Which log file is used to keep track of policy violations?
The smbpasswd command is used to create Samba users.
generates errors under Red Hat Enterprise Linux 6
The /var/log/audit/audit.log file contains all policy violations.
you have access to the correct packages or repositories.
44. What are the two config files for Postfix called?
The two main config files are master.cf and main.cf.
service named configtest
getsebool -a | grep http
The four types of DNS servers are master - slave - caching-only - and forwarding.
45. How would you go about creating a static route?
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
Use the route command with the add option to create a static route.
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 /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
46. What command and option do you use to view the description of Boolean values?
semanage boolean -l
The dig - host - and ping commands can be used to test DNS server functionality.
Use the route command with the add option to create a static route.
The mount command lists all currently mounted file systems.
47. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
Use the top command to view CPU and memory usage.
LUKS encryption
rpcbind service
48. What are the three modes in which the rpm command can operate?
support for TCP Wrappers
Apache uses port 80 for HTTP and port 443 for HTTPS.
lvdisplay
The rpm command can operate in install - query - or verify modes.
49. 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
50. Can you name the two commands that can be used to view the free space on the system?
service httpd configtest
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.
entering rescue mode and repairing the problem.
The du and df commands are used to view available space on the system.
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