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 is used to create a user for Samba?
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.
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 smbpasswd command is used to create Samba users.
The ping command can be used to verify connectivity to another host.
2. What are the two config files for Postfix called?
The two main config files are master.cf and main.cf.
A user's home directory is created under the /home directory.
Use the resize2fs command to grow a file system.
The NFS service uses TCP port 2049 by default.
3. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
Physical volumes - volume groups - and logical volumes.
getfacl
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 /var/lib/nfs/etab file is used to keep track of currently exported resources.
4. What port on the firewall needs to be open for the TFTP server to work?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The TFTP server uses UDP port 69.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
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.
5. What command can you use to test connectivity to another host?
The mount command lists all currently mounted file systems.
support for TCP Wrappers
The ping command can be used to verify connectivity to another host.
A user's home directory is created under the /home directory.
6. What command can you use to monitor and troubleshoot network connections?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The tcpdump command is used to monitor network connections on different interfaces.
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.
support for TCP Wrappers
7. 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.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
mkfs.ext4
8. What is the superblock used for?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
9. What port does NFS use by default?
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The ping command can be used to verify connectivity to another host.
halts the system
The NFS service uses TCP port 2049 by default.
10. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
Use the setgid flag to create the appropriate permissions (chmod 2770).
The lftp command can be used on a client to test FTP server connections.
The lastlog and faillog commands are used to view user login-related events?
11. A service needs to have _______________ to be able to use it.
The TFTP server uses UDP port 69.
The nfsstat command can be used to view NFS statistics.
support for TCP Wrappers
The /var/log/audit/audit.log file contains all policy violations.
12. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
alternatives --config mta
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.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
13. What does virsh reboot Client04 do?
This command reboots virtual guest Client04.
kickstart installations to work
The TFTP server uses UDP port 69.
You can use the authconfig-tui command or the authconfig command.
14. 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
15. Do you need to write changes to the disk when using the parted command? What about fdisk?
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.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
rpcbind service
16. What is the top command used for?
The du and df commands are used to view available space on the system.
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.
amount of RAM
Use the top command to view CPU and memory usage.
17. 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
18. What command can you use to get information about logical volumes?
lvdisplay
Sendmail
The NFS service uses TCP port 2049 by default.
getfacl
19. Which version of SSH should you use?
defining a %pre section although it is rarely used
service dhcpd configtest
support for TCP Wrappers
Version 2 is the latest and most secure version of SSH.
20. How can you list all services on the system to tell whether they will boot during startup?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The dig - host - and ping commands can be used to test DNS server functionality.
chkconfig—list
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.
21. What command can you use to create your own repositories?
createrepo
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 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.
Typing the mail or mutt command allows you to read mail from the command line.
22. 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...
have the same effect
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
You must open TCP ports 20 and 21 for the FTP server to function properly.
23. What command displays your current interfaces and IP address?
ifconfig
The mount command lists all currently mounted file systems.
A virtual host is a way of hosting multiple sites using a single IP address.
This chapter described tdbsm and smbpasswd back-end authentication.
24. What is the benefit of using public/private key authentication?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. The at command is used to ____________. The cron service handles reoccurring system jobs.
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 rpm command can operate in install - query - or verify modes.
getsebool -a | grep http
schedule one-time-only jobs
26. How do you run a command with elevated privileges?
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.
Use the yum groupinstall command to install multiple packages in a single group at once.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The lastlog and faillog commands are used to view user login-related events?
27. The package selection screen allows you to install any software you want during the installation process as long as...
Version 2 is the latest and most secure version of SSH.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
you have access to the correct packages or repositories.
entering rescue mode and repairing the problem.
28. Which remote management service is installed by default?Can you name the port that it uses?
The two main config files are master.cf and main.cf.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
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.
29. What is the name of the package that allows you to install VNC?
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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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.
defining a %pre section although it is rarely used
30. It is possible to run scripts before a kickstart installation. This is done by...
The service command is used to start - stop - and manage system services.
defining a %pre section although it is rarely used
The ping command can be used to verify connectivity to another host.
enabled by default
31. What two commands are special for dealing with user login events?
The lastlog and faillog commands are used to view user login-related events?
chkconfig sshd off
browseable option
halts the system
32. Red Hat Enterprise Linux 6 is the only version that officially supports _______
LUKS encryption
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
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 four types of DNS servers are master - slave - caching-only - and forwarding.
33. How can you check the currently mounted file systems?
The tcpdump command is used to monitor network connections on different interfaces.
You can use the authconfig-tui command or the authconfig command.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The mount command lists all currently mounted file systems.
34. What does the rdnc-confgen command do?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
cat /proc/mdstat
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
35. What is the virsh command used for?
service sshd statuts
getsebool
By default - the rndc utility listens on port 953.
The virsh command is used to manage virtual guests.
36. What is the xinetd service used for?
SSH is used for secure remote management of Linux systems.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
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.
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.
37. What are the side effects of shrinking a volume group or logical volume?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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.
SELinux Booleans provide restrictions to different aspects of a service.
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
38. What command would you use to create a group - to add the user George to the group?
Enforcing during installation
getsebool -a | grep http
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
By default - the rndc utility listens on port 953.
39. Runlevel 0 ___________. Runlevel 6 reboots 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.
serve both files and printers to users
halts the system
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
40. What client-side command can you use to test your FTP server connection?
The lftp command can be used on a client to test FTP server connections.
Apache uses port 80 for HTTP and port 443 for HTTPS.
SSH is used for secure remote management of Linux systems.
atq
41. What directory is used to represent the virtual file system created by the kernel?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
kickstart installations to work
Use the ps command to view processes and their CPU usage.
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.
42. What port does the Apache web server run on - What about HTTPS?
Use the resize2fs command to grow a file system.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
support for TCP Wrappers
43. What command and options can you use to update the time?
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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.
rpmbuild
44. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The htpasswd command can be used to password-protect a web page.
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.
45. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
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 xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
A virtual host is a way of hosting multiple sites using a single IP address.
46. What happens to jobs that are scheduled to run while the system is off?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The nfsstat command can be used to view NFS statistics.
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.
VNC is used to control a remote desktop session.
47. What critical step must you take after updating the kernel to a newer version?
The lastlog and faillog commands are used to view user login-related events?
SELinux Booleans provide restrictions to different aspects of a service.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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.
48. The exportfs command is used to...
have the same effect
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
SELinux provides enhanced granular security for the Linux operating system.
export one or all resources
49. What port does the DHCP server listen on by default?
The DHCP server listens on port 67 by default.
You must open TCP ports 20 and 21 for the FTP server to function properly.
Version 2 is the latest and most secure version of SSH.
rpmbuild
50. What file needs to be edited so that the system will mount a file system at boot time?
The htpasswd command can be used to password-protect a web page.
By defining a %post section - you can run scripts after a kickstart installation is complete.
ifconfig
The /etc/fstab file.
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