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 a virtual host?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
via the command line
A virtual host is a way of hosting multiple sites using a single IP address.
The NFS service uses TCP port 2049 by default.
2. What command can you use to query information from the kernel about RAID arrays?
Enforcing during installation
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
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.
cat /proc/mdstat
3. What is the /var/lib/nfs/etab file used for?
The rpm command can operate in install - query - or verify modes.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The DHCP server listens on port 67 by default.
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.
4. What file needs to be edited so that the system will mount a file system at boot time?
The -t nfs option is used with the mount command to mount NFS resources.
The /etc/fstab file.
choose which mode you'd like it to operate in
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.
5. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
choose which mode you'd like it to operate in
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
via the command line
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
6. What command can you use to create a password-protected page?
used for kickstart and/or network installs
Version 2 is the latest and most secure version of SSH.
browseable option
The htpasswd command can be used to password-protect a web page.
7. What port does the DHCP server listen on by default?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The DHCP server listens on port 67 by default.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
8. What happens if a host changes its IP address and the keys don't match?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
9. 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
10. Before you work with ACLs - what do you need to do to the file system?
The tcpdump command is used to monitor network connections on different interfaces.
chkconfig xinetd --list
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
Use the top command to view CPU and memory usage.
11. What port must be opened on the firewall for DNS?
Use the top command to view CPU and memory usage.
cat /proc/mdstat
The dig - host - and ping commands can be used to test DNS server functionality.
DNS uses port 53.
12. What directory is used to represent the virtual file system created by the kernel?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The smbstatus command shows you currently mounted Samba resources.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
13. The at command is used to ____________. The cron service handles reoccurring system jobs.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
enabled by default
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
schedule one-time-only jobs
14. What port on the firewall needs to be open for the TFTP server to work?
Use the route command with the add option to create a static route.
The TFTP server uses UDP port 69.
choose which mode you'd like it to operate in
LUKS encryption
15. Can you name three utilities that can be used for network or DNS client troubleshooting?
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
The three utilities are: route - ping - and nslookup.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
A virtual host is a way of hosting multiple sites using a single IP address.
16. How would you view all Boolean options for the HTTP service?
LUKS encryption
getsebool -a | grep http
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 lastlog and faillog commands are used to view user login-related events?
17. What is the top command used for?
A user's home directory is created under the /home directory.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Use the top command to view CPU and memory usage.
export one or all resources
18. What command can you use to view the current ACL on a file?
getfacl
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
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.
19. GRUB has three stages. Can you name them?
Use the route command with the add option to create a static route.
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
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
20. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
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 five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
Use the top command to view CPU and memory usage.
21. A slave DNS server provides...
service sshd statuts
kickstart installations to work
load balancing and redundancy benefits
The DHCP server listens on port 67 by default.
22. The firewall service is...
enabled by default
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
Use the route command with the add option to create a static route.
Typing the mail or mutt command allows you to read mail from the command line.
23. Are additional packages besides httpd required for a secure website - If so - what are they?
The tcpdump command is used to monitor network connections on different interfaces.
By default - Squid runs on port 3128.
For Apache to run a secure site - the mod_ssl package is required to be installed.
setsebool -P nfs_export_all_rw=1
24. What command disables the SSH service from running when the system boots?
You can use the authconfig-tui command or the authconfig command.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
chkconfig sshd off
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
25. 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
26. You must dictate the ____________ you want allocated to your virtual machine when you create it.
amount of RAM
chkconfig xinetd --list
load balancing and redundancy benefits
generates errors under Red Hat Enterprise Linux 6
27. 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.
The three utilities are: route - ping - and nslookup.
This command reboots virtual guest Client04.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
28. What command is used to create an RPM package?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
The user_list file can be used to limit which users have access to the FTP server.
rpmbuild
29. 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.
chcon
defining a %pre section although it is rarely used
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.
30. What does the partprobe command do?
The service command is used to start - stop - and manage system services.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
31. What command can you use to manage system services?
Use the setgid flag to create the appropriate permissions (chmod 2770).
The virsh command is used to manage virtual guests.
The service command is used to start - stop - and manage system services.
choose which mode you'd like it to operate in
32. Can you name the two commands that can be used to view the free space on the system?
halts the system
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The du and df commands are used to view available space on the system.
The print option is used with both the fdisk and parted commands to display the current partition tables.
33. What is the main config file for the DHCP service?
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 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.
chkconfig xinetd --list
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
34. What command can you use to test the config files before starting the DNS service?
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.
semanage boolean -l
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.
service named configtest
35. Can you put your /boot partition on a RAID 5 array?
repquota
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.
Use the ps command to view processes and their CPU usage.
used for kickstart and/or network installs
36. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
service named configtest
run on any port you'd like (provided that port is available)
via the command line
37. 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
38. What command can you use to test connectivity to another host?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The ping command can be used to verify connectivity to another host.
39. What command is used to show all services being controlled by the xinetd daemon?
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.
chkconfig xinetd --list
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
entering rescue mode and repairing the problem.
40. What happens to jobs that are scheduled to run while the system is off?
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
A user's home directory is created under the /home directory.
The tcpdump command is used to monitor network connections on different interfaces.
41. What is PAM used for?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
getsebool
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.
The four types of DNS servers are master - slave - caching-only - and forwarding.
42. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
Sendmail
Use the route command with the add option to create a static route.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
43. 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.
export one or all resources
The nfsstat command can be used to view NFS statistics.
Enforcing during installation
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.
44. How can you list all services on the system to tell whether they will boot during startup?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
chkconfig—list
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The htpasswd command can be used to password-protect a web page.
45. What port does the rndc utility listen on by default?
Use the route command with the add option to create a static route.
By default - Squid runs on port 3128.
By default - the rndc utility listens on port 953.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
46. What option is used with both the fdisk and parted commands to display the current partition tables?
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.
The print option is used with both the fdisk and parted commands to display the current partition tables.
kickstart installations to work
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
47. What two ports should be opened on the firewall for the FTP server to function properly?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
Use the top command to view CPU and memory usage.
support TCP Wrappers
You must open TCP ports 20 and 21 for the FTP server to function properly.
48. Most boot issues can be resolved by...
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
entering rescue mode and repairing the problem.
serve both files and printers to users
By defining a %post section - you can run scripts after a kickstart installation is complete.
49. What command can be used to easily list all the options in the FTP main config file?
The yum and rpm commands are used for package management.
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.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
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
50. 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.
atq
By default - the rndc utility listens on port 953.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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