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 do you use to report information on quota usage?
defining a %pre section although it is rarely used
getsebool
repquota
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.
2. 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.
repquota
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The nfsstat command can be used to view NFS statistics.
3. What command-line program can you use to check your mail?
atq
For Apache to run a secure site - the mod_ssl package is required to be installed.
Typing the mail or mutt command allows you to read mail from the command line.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
4. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
Enforcing during installation
A virtual host is a way of hosting multiple sites using a single IP address.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
5. GRUB has three stages. Can you name them?
The smbstatus command shows you currently mounted Samba resources.
LUKS encryption
For Apache to run a secure site - the mod_ssl package is required to be installed.
Stage 1: During this stage - the primary bootloader is read into memory by the BIOS from the MBR. Stage 1.5: During this stage - the bootloader is read into memory by the stage 1 bootloader (only if necessary). Stage 2: During this stage - the bootlo
6. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
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.
rpcbind service
getfacl
defining a %pre section although it is rarely used
7. What port does the rndc utility listen on by default?
By default - the rndc utility listens on port 953.
Use the resize2fs command to grow a file system.
DNS uses port 53.
schedule one-time-only jobs
8. What file needs to be edited so that the system will mount a file system at boot time?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The /etc/fstab file.
Sendmail
You can use the authconfig-tui command or the authconfig command.
9. There are four types of DNS servers. Name them.
repquota
The /etc/fstab file.
Enforcing during installation
The four types of DNS servers are master - slave - caching-only - and forwarding.
10. How would you install a group of packages all at a single time?
The /etc/fstab file.
Use the ps command to view processes and their CPU usage.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
Use the yum groupinstall command to install multiple packages in a single group at once.
11. What are the three modes in which the rpm command can operate?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The TFTP server uses UDP port 69.
The rpm command can operate in install - query - or verify modes.
By defining a %post section - you can run scripts after a kickstart installation is complete.
12. What is the name of the section used to run scripts after a kickstart installation?
kickstart installations to work
The rndc utility provides a method for managing the DNS server remotely and securely.
serve both files and printers to users
By defining a %post section - you can run scripts after a kickstart installation is complete.
13. What three commands can you use to help verify that the DNS server is functioning properly?
DNS uses port 53.
The dig - host - and ping commands can be used to test DNS server functionality.
The DHCP server listens on port 67 by default.
The three utilities are: route - ping - and nslookup.
14. What command can you use to view NFS statistics?
The rpm command can operate in install - query - or verify modes.
used for kickstart and/or network installs
createrepo
The nfsstat command can be used to view NFS statistics.
15. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
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 format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The vsftpd package is used to install an FTP server.
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.
16. How can you change the security context of a directory to work with Apache?
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.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Using the chcon command - you can change the context of a file to work with Apache.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
17. The ____________ is available for each share.
have the same effect
rpmbuild
You add your action to the end of the /home/user01/.bashrc file.
browseable option
18. What does the rdnc-confgen command do?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The /etc/fstab file.
rpmbuild
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
19. A slave DNS server provides...
load balancing and redundancy benefits
setsebool -P nfs_export_all_rw=1
service named configtest
The virsh command is used to manage virtual guests.
20. What is the name of the package used to install an FTP?
useradd -c "Jr Admin" George
The vsftpd package is used to install an FTP server.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
alternatives --config mta
21. Runlevel 0 ___________. Runlevel 6 reboots the system.
halts the system
mkfs.ext4
A user's home directory is created under the /home directory.
The NFS service uses TCP port 2049 by default.
22. Are additional packages besides httpd required for a secure website - If so - what are they?
For Apache to run a secure site - the mod_ssl package is required to be installed.
The nfsstat command can be used to view NFS statistics.
The NFS service uses TCP port 2049 by default.
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.
23. What command can you use to change the context of files?
service named configtest
halts the system
chcon
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
24. What is the rndc utility used for?
repquota
The rndc utility provides a method for managing the DNS server remotely and securely.
load balancing and redundancy benefits
The dig - host - and ping commands can be used to test DNS server functionality.
25. What is the /etc/vsftpd/user_list file used for?
The SMTP service runs on TCP port 110.
Enforcing during installation
The user_list file can be used to limit which users have access to the FTP server.
service named configtest
26. What is a gateway used for on a network?
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
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.
chkconfig xinetd --list
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.
27. What is the point of using SELinux?
used for kickstart and/or network installs
Apache uses port 80 for HTTP and port 443 for HTTPS.
SELinux provides enhanced granular security for the Linux operating system.
Physical volumes - volume groups - and logical volumes.
28. What command displays your current interfaces and IP address?
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.
ifconfig
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
29. What command can you use to validate the syntax of the Apache config file?
The /etc/fstab file.
you have access to the correct packages or repositories.
service httpd configtest
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.
30. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
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 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.
The print option is used with both the fdisk and parted commands to display the current partition tables.
The nfsstat command can be used to view NFS statistics.
31. By default - what is the path to a user's home directory?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. What port does the DHCP server listen on by default?
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 htpasswd command can be used to password-protect a web page.
The DHCP server listens on port 67 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.
33. How can you list all services on the system to tell whether they will boot during startup?
Sendmail
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.
chkconfig—list
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
34. What happens to jobs that are scheduled to run while the system is off?
Use the yum groupinstall command to install multiple packages in a single group at once.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
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 five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
35. How can you check the currently mounted file systems?
Use the route command with the add option to create a static route.
The mount command lists all currently mounted file systems.
support for TCP Wrappers
The du and df commands are used to view available space on the system.
36. What two ports should be opened on the firewall for the FTP server to function properly?
You must open TCP ports 20 and 21 for the FTP server to function properly.
You can use the remove or erase options with yum to remove a package.
The user_list file can be used to limit which users have access to the FTP server.
The four types of DNS servers are master - slave - caching-only - and forwarding.
37. Can you put your /boot partition on a RAID 5 array?
Use the top command to view CPU and memory usage.
This command reboots virtual guest Client04.
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.
via the command line
38. Can you name the two commands that can be used to view the free space on the system?
The du and df commands are used to view available space on the system.
halts the system
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
39. What is NAT - How is it used?
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.
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.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
lvdisplay
40. The package selection screen allows you to install any software you want during the installation process as long as...
support for TCP Wrappers
you have access to the correct packages or repositories.
The SMTP service runs on TCP port 110.
Apache uses port 80 for HTTP and port 443 for HTTPS.
41. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
browseable option
via the command line
The rndc utility provides a method for managing the DNS server remotely and securely.
42. 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
43. What two commands are used for package management?
getfacl
You can use the authconfig-tui command or the authconfig command.
support TCP Wrappers
The yum and rpm commands are used for package management.
44. 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
createrepo
Using the chcon command - you can change the context of a file to work with Apache.
getsebool
45. How can virtual hosts be used?
getsebool
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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.
46. A service needs to have _______________ to be able to use it.
Apache uses port 80 for HTTP and port 443 for HTTPS.
Typing the mail or mutt command allows you to read mail from the command line.
support for TCP Wrappers
The service command is used to start - stop - and manage system services.
47. What two commands are special for dealing with user login events?
VNC is used to control a remote desktop session.
The lastlog and faillog commands are used to view user login-related events?
Use the route command with the add option to create a static route.
DNS uses port 53.
48. To create a RAID or LVM partition using kickstart
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
user's home directory in the /etc/skel directory
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
49. 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
50. What does the partprobe command do?
Use the setgid flag to create the appropriate permissions (chmod 2770).
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/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf 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