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. 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
2. SSH does...
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
support TCP Wrappers
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.
This command reboots virtual guest Client04.
3. What are the two types of back-end authentication mechanisms discussed in this chapter?
This chapter described tdbsm and smbpasswd back-end authentication.
The dig - host - and ping commands can be used to test DNS server functionality.
have the same effect
The htpasswd command can be used to password-protect a web page.
4. What port must be opened on the firewall for DNS?
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.
Use the setgid flag to create the appropriate permissions (chmod 2770).
rpmbuild
DNS uses port 53.
5. Can you name three utilities that can be used for network or DNS client troubleshooting?
Enforcing during installation
The three utilities are: route - ping - and nslookup.
SELinux Booleans provide restrictions to different aspects of a service.
repquota
6. What is the xinetd service used for?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The du and df commands are used to view available space on the system.
You can use the authconfig-tui command or the authconfig command.
The smbpasswd command is used to create Samba users.
7. To grow a file system
Use the resize2fs command to grow a file system.
The virsh command is used to manage virtual guests.
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.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
8. What port does the DHCP server listen on by default?
The smbstatus command shows you currently mounted Samba resources.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The DHCP server listens on port 67 by default.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
9. What command can you use to query information from the kernel about RAID arrays?
service named configtest
serve both files and printers to users
cat /proc/mdstat
browseable option
10. How would you go about creating a static route?
Version 2 is the latest and most secure version of SSH.
This command reboots virtual guest Client04.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
Use the route command with the add option to create a static route.
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 command is used to show all services being controlled by the xinetd daemon?
The tcpdump command is used to monitor network connections on different interfaces.
chkconfig xinetd --list
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
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.
13. What is the main config file for the DHCP service?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
used for kickstart and/or network installs
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.
14. A service needs to have _______________ to be able to use it.
browseable option
support for TCP Wrappers
Use the route command with the add option to create a static route.
VNC is used to control a remote desktop session.
15. 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
16. What port does NFS use by default?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The NFS service uses TCP port 2049 by default.
By defining a %post section - you can run scripts after a kickstart installation is complete.
ifconfig
17. What is a swap? Is it created as a partition or device file?
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.
service dhcpd configtest
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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.
18. What file needs to be edited so that the system will mount a file system at boot time?
The /etc/fstab file.
atq
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Typing the mail or mutt command allows you to read mail from the command line.
19. What are the three different types of RAID described in this chapter?
chkconfig sshd off
The nfsstat command can be used to view NFS statistics.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
20. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
mkfs.ext4
used for kickstart and/or network installs
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
21. How can virtual hosts be used?
getsebool -a | grep http
atq
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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.
22. What are the five required directories when building RPMS?
For Apache to run a secure site - the mod_ssl package is required to be installed.
The three utilities are: route - ping - and nslookup.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Sendmail
23. What is SSH used for?
SSH is used for secure remote management of Linux systems.
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.
mkfs.ext4
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
24. A PXE server eases the automation process but isn't required for...
kickstart installations to work
The du and df commands are used to view available space on the system.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
For Apache to run a secure site - the mod_ssl package is required to be installed.
25. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
Sendmail
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
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.
26. What command can you use to validate the syntax of the Apache config file?
service httpd configtest
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.
kickstart installations to work
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.
27. Place all files you want added to a _______________ during creation.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
28. What is the top command used for?
support TCP Wrappers
The DHCP server listens on port 67 by default.
Use the top command to view CPU and memory usage.
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.
29. What two commands are used for package management?
By default - the rndc utility listens on port 953.
The nfsstat command can be used to view NFS statistics.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The yum and rpm commands are used for package management.
30. 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.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
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
31. What is the difference between an ext2 and ext3 file system?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. For Red Hat Enterprise Linux 6 - SELinux comes set up in enforcing mode. When installing Red Hat Enterprise Linux 5 - you have the option to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
33. What is NAT - How is it used?
The /var/log/audit/audit.log file contains all policy violations.
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.
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.
setsebool -P nfs_export_all_rw=1
34. What does the testparm command do?
setsebool -P nfs_export_all_rw=1
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 testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
By defining a %post section - you can run scripts after a kickstart installation is complete.
35. What does virsh reboot Client04 do?
This command reboots virtual guest Client04.
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 dig - host - and ping commands can be used to test DNS server functionality.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
36. Does a DHCP server allow reserved IP addresses - If so - how?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
createrepo
Use the top command to view CPU and memory usage.
support TCP Wrappers
37. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
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.
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.
ifconfig
The dig - host - and ping commands can be used to test DNS server functionality.
38. 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.
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.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
This command reboots virtual guest Client04.
39. Most boot issues can be resolved by...
createrepo
entering rescue mode and repairing the problem.
The du and df commands are used to view available space on the system.
The smbpasswd command is used to create Samba users.
40. The ____________ is available for each share.
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.
browseable option
By default - Squid runs on port 3128.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
41. What commands can you use to add a client machine to an LDAP server?
A virtual host is a way of hosting multiple sites using a single IP address.
You can use the authconfig-tui command or the authconfig command.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
have the same effect
42. What command can you use to view NFS statistics?
rpcbind service
The nfsstat command can be used to view NFS statistics.
The /var/log/audit/audit.log file contains all policy violations.
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.
43. What three commands can you use to help verify that the DNS server is functioning properly?
The dig - host - and ping commands can be used to test DNS server functionality.
The htpasswd command can be used to password-protect a web page.
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.
cat /proc/mdstat
44. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
SSH is used for secure remote management of Linux systems.
rpcbind service
The tcpdump command is used to monitor network connections on different interfaces.
getfacl
45. What critical step must you take after updating the kernel to a newer version?
getfacl
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.
Typing the mail or mutt command allows you to read mail from the command line.
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.
46. What is the name of the package that allows you to install VNC?
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/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
47. What command can you use to view mounted Samba shares?
run on any port you'd like (provided that port is available)
cat /proc/mdstat
The lastlog and faillog commands are used to view user login-related events?
The smbstatus command shows you currently mounted Samba resources.
48. What command can you use to test connectivity to another host?
The ping command can be used to verify connectivity to another host.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The /etc/fstab file.
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.
49. What command-line program can you use to check your mail?
A user's home directory is created under the /home directory.
Typing the mail or mutt command allows you to read mail from the command line.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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.
50. Samba servers can...
The three utilities are: route - ping - and nslookup.
kickstart installations to work
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
serve both files and printers to users
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