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. A slave DNS server provides...
DNS uses port 53.
load balancing and redundancy benefits
Version 2 is the latest and most secure version of SSH.
useradd -c "Jr Admin" George
2. Does a DHCP server allow reserved IP addresses - If so - how?
The dig - host - and ping commands can be used to test DNS server functionality.
cat /proc/mdstat
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
3. How can you check the currently mounted file systems?
enabled by default
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
You must open TCP ports 20 and 21 for the FTP server to function properly.
The mount command lists all currently mounted file systems.
4. What is the name of the package that allows you to install VNC?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
LUKS encryption
The NFS service uses TCP port 2049 by default.
chkconfig—list
5. What three commands can you use to help verify that the DNS server is functioning properly?
chcon
rpmbuild
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 dig - host - and ping commands can be used to test DNS server functionality.
6. What is the /var/lib/nfs/etab file used for?
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.
you have access to the correct packages or repositories.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
7. 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
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
Sendmail
atq
8. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
used for kickstart and/or network installs
alternatives --config mta
export one or all resources
9. What protocols are used with Dovecot?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
chkconfig—list
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 DHCP server listens on port 67 by default.
10. What is the point of using SELinux?
entering rescue mode and repairing the problem.
SELinux provides enhanced granular security for the Linux operating system.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
VNC is used to control a remote desktop session.
11. What command can be used to view the queue for at service jobs?
The user_list file can be used to limit which users have access to the FTP server.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The service command is used to start - stop - and manage system services.
atq
12. What does the partprobe command do?
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 rpm command can operate in install - query - or verify modes.
chcon
SELinux provides enhanced granular security for the Linux operating system.
13. What command can you use to view NFS statistics?
The nfsstat command can be used to view NFS statistics.
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.
The yum and rpm commands are used for package management.
The rpm command can operate in install - query - or verify modes.
14. What is the top command used for?
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 top command to view CPU and memory usage.
getsebool -a | grep http
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
15. 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.
setsebool -P nfs_export_all_rw=1
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
16. What is the /etc/vsftpd/user_list file used for?
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.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
load balancing and redundancy benefits
The user_list file can be used to limit which users have access to the FTP server.
17. What is the format of the /etc/shadow file?
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 file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
halts the system
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
18. What is NAT - How is it used?
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 yum and rpm commands are used for package management.
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.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
19. To grow a file system
The dig - host - and ping commands can be used to test DNS server functionality.
Use the resize2fs command to grow a file system.
halts the system
SSH is used for secure remote management of Linux systems.
20. What happens to jobs that are scheduled to run while the system is off?
schedule one-time-only jobs
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.
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.
setsebool -P nfs_export_all_rw=1
21. How can you change the security context of a directory to work with Apache?
Use the setgid flag to create the appropriate permissions (chmod 2770).
entering rescue mode and repairing the problem.
have the same effect
Using the chcon command - you can change the context of a file to work with Apache.
22. What is the difference between an A record and a PTR record?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The rndc utility provides a method for managing the DNS server remotely and securely.
The user_list file can be used to limit which users have access to the 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.
23. What does it mean if you ping a host and you receive the response Destination Unreachable?
You can use the authconfig-tui command or the authconfig command.
Typing the mail or mutt command allows you to read mail from the command line.
mkfs.ext4
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
24. How can you list all services on the system to tell whether they will boot during startup?
chkconfig—list
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
defining a %pre section although it is rarely used
have the same effect
25. 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
26. Do you need to write changes to the disk when using the parted command? What about fdisk?
lvdisplay
By default - the rndc utility listens on port 953.
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.
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.
27. Can you name the two commands that can be used to view the free space on the system?
Use the ps command to view processes and their CPU usage.
createrepo
The du and df commands are used to view available space on the system.
This chapter described tdbsm and smbpasswd back-end authentication.
28. What two commands are used for package management?
The yum and rpm commands are used for package management.
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.
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.
You add your action to the end of the /home/user01/.bashrc file.
29. What are the two config files for Postfix called?
Version 2 is the latest and most secure version of SSH.
You must open TCP ports 20 and 21 for the FTP server to function 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.
The two main config files are master.cf and main.cf.
30. What command can you use to view the current ACL on a file?
halts the system
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.
getfacl
The htpasswd command can be used to password-protect a web page.
31. What are the two types of back-end authentication mechanisms discussed in this chapter?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
lvdisplay
This chapter described tdbsm and smbpasswd back-end authentication.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
32. What command and option do you use to view the description of Boolean values?
The four types of DNS servers are master - slave - caching-only - and forwarding.
semanage boolean -l
The print option is used with both the fdisk and parted commands to display the current partition tables.
export one or all resources
33. What is the name of the section used to run scripts after a kickstart installation?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The yum and rpm commands are used for package management.
useradd -c "Jr Admin" George
By defining a %post section - you can run scripts after a kickstart installation is complete.
34. The exportfs command is used to...
export one or all resources
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
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
By default - the rndc utility listens on port 953.
35. What is a gateway used for on a network?
The du and df commands are used to view available space on the system.
chcon
Using the chcon command - you can change the context of a file to work with Apache.
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.
36. What are SELinux Booleans?
SELinux Booleans provide restrictions to different aspects of a service.
Typing the mail or mutt command allows you to read mail from the command line.
browseable option
used for kickstart and/or network installs
37. What option is used to allow anonymous uploads to the FTP server?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
getsebool -a | grep http
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
38. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
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
rpcbind service
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
39. What file is used to maintain custom parameters for the kernel during system boot?
getsebool
The smbstatus command shows you currently mounted Samba resources.
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 /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
40. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
have the same effect
The nfsstat command can be used to view NFS statistics.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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.
41. What command do you use to change the permissions on a file or directory - To change ownership?
alternatives --config mta
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 sshd off
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
42. What command can be used to easily list all the options in the FTP main config file?
You can use the authconfig-tui command or the authconfig command.
The dig - host - and ping commands can be used to test DNS server functionality.
Use the yum groupinstall command to install multiple packages in a single group at once.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
43. What does the rdnc-confgen command do?
A virtual host is a way of hosting multiple sites using a single IP address.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
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.
service sshd statuts
44. What command disables the SSH service from running when the system boots?
chkconfig sshd off
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
via the command line
A user's home directory is created under the /home directory.
45. How can you display all virtual guests after they're connected to a hypervisor?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
via 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.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
46. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
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
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 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.
47. What command can you use to monitor and troubleshoot network connections?
The /etc/fstab file.
The TFTP server uses UDP port 69.
The tcpdump command is used to monitor network connections on different interfaces.
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.
48. What happens if you call the command from question 3 with the -c option after it has already been run?
Physical volumes - volume groups - and logical volumes.
By default - the rndc utility listens on port 953.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
49. What option at the GRUB boot menu can you use to append something to a kernel?
The yum and rpm commands are used for package management.
service sshd statuts
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 entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
50. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
The four types of DNS servers are master - slave - caching-only - and forwarding.
service sshd statuts
You add your action to the end of the /home/user01/.bashrc file.
The virsh command is used to manage virtual guests.
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