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 the biggest benefit to using LVM over basic partitions?
You must open TCP ports 20 and 21 for the FTP server to function properly.
A user's home directory is created under the /home directory.
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.
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.
2. What is NAT - How is it used?
Using the chcon command - you can change the context of a file to work with Apache.
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.
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.
3. What command displays your current interfaces and IP address?
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.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
ifconfig
4. What command and option do you use to view the description of Boolean values?
You must open TCP ports 20 and 21 for the FTP server to function properly.
semanage boolean -l
amount of RAM
mkfs.ext4
5. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
service dhcpd configtest
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
6. What command can you use to test the config files before starting the DNS service?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
service named configtest
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
7. What client-side command can you use to test your FTP server connection?
You must open TCP ports 20 and 21 for the FTP server to function properly.
support TCP Wrappers
The lftp command can be used on a client to test FTP server connections.
Sendmail
8. What command can you use to manage system services?
Use the top command to view CPU and memory usage.
By defining a %post section - you can run scripts after a kickstart installation is complete.
serve both files and printers to users
The service command is used to start - stop - and manage system services.
9. What file is used to maintain custom parameters for the kernel during system boot?
getsebool
user's home directory in the /etc/skel directory
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
repquota
10. What command can you use to view the current ACL on a file?
mkfs.ext4
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.
getfacl
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
11. What are the side effects of shrinking a volume group or logical volume?
VNC is used to control a remote desktop session.
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.
The /etc/fstab file.
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.
12. What is PAM used for?
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.
used for kickstart and/or network installs
A user's home directory is created under the /home directory.
This command reboots virtual guest Client04.
13. Can you put your /boot partition on a RAID 5 array?
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.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The virsh command is used to manage virtual guests.
The lftp command can be used on a client to test FTP server connections.
14. What does the rdnc-confgen command do?
You can use the remove or erase options with yum to remove a package.
repquota
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
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.
15. What command can you use to create a new SSL certificate?
export one or all resources
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
16. What port does the DHCP server listen on by default?
The smbpasswd command is used to create Samba users.
chkconfig sshd off
Use the setgid flag to create the appropriate permissions (chmod 2770).
The DHCP server listens on port 67 by default.
17. What port does the rndc utility listen on by default?
atq
The nfsstat command can be used to view NFS statistics.
By default - the rndc utility listens on port 953.
Enforcing during installation
18. What three components are needed to fully automate a kickstart installation?
Use the route command with the add option to create a static route.
chcon
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.
19. 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
20. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
repquota
used for kickstart and/or network installs
Network installations can be performed using the HTTP - FTP - and NFS protocols.
You add your action to the end of the /home/user01/.bashrc file.
21. What command can you use to validate the syntax of the Apache config file?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
service httpd configtest
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The rpm command can operate in install - query - or verify modes.
22. What is the top command 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 top command to view CPU and memory usage.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
23. 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
24. What command can you use to create a password-protected page?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
DNS uses port 53.
Enforcing during installation
The htpasswd command can be used to password-protect a web page.
25. What command-line program can you use to check your mail?
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.
Enforcing during installation
Typing the mail or mutt command allows you to read mail from the command line.
Use the route command with the add option to create a static route.
26. Explain the difference between soft and hard limits in quotas.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. What command can you use to view system processes and their CPU usage?
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
Use the ps command to view processes and their CPU usage.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
generates errors under Red Hat Enterprise Linux 6
28. What is the name of the package used to install an FTP?
The vsftpd package is used to install an FTP server.
You can use the authconfig-tui command or the authconfig command.
choose which mode you'd like it to operate in
You must open TCP ports 20 and 21 for the FTP server to function properly.
29. What option is used to allow anonymous uploads to the FTP server?
Version 2 is the latest and most secure version of SSH.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
30. The firewall service is...
enabled by default
The four types of DNS servers are master - slave - caching-only - and forwarding.
The lastlog and faillog commands are used to view user login-related events?
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
31. What options with the yum command would you use to remove a package?
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 can use the remove or erase options with yum to remove a package.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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.
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. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
you have access to the correct packages or repositories.
34. What option needs to be used with the mount command to mount an NFS resource?
By default - the rndc utility listens on port 953.
The lastlog and faillog commands are used to view user login-related events?
The -t nfs option is used with the mount command to mount NFS resources.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
35. To create a RAID or LVM partition using kickstart
halts the system
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
Kickstart supports both basic and advanced partitioning (RAID/LVM).
A virtual host is a way of hosting multiple sites using a single IP address.
36. How can you list all services on the system to tell whether they will boot during startup?
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 lastlog and faillog commands are used to view user login-related events?
chkconfig—list
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
37. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
used for kickstart and/or network installs
The lastlog and faillog commands are used to view user login-related events?
38. What protocols are used with Dovecot?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
Use the setgid flag to create the appropriate permissions (chmod 2770).
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.
ifconfig
39. 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 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.
SSH is used for secure remote management of Linux systems.
A virtual host is a way of hosting multiple sites using a single IP address.
40. Most boot issues can be resolved by...
support TCP Wrappers
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
entering rescue mode and repairing the problem.
41. Which version of SSH should you use?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The print option is used with both the fdisk and parted commands to display the current partition tables.
Version 2 is the latest and most secure version of SSH.
The TFTP server uses UDP port 69.
42. What are the two types of back-end authentication mechanisms discussed in this chapter?
lvdisplay
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.
This chapter described tdbsm and smbpasswd back-end authentication.
Apache uses port 80 for HTTP and port 443 for HTTPS.
43. What is SSH used for?
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.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
SSH is used for secure remote management of Linux systems.
You can use the authconfig-tui command or the authconfig command.
44. What is the main config file for the DHCP service?
Version 2 is the latest and most secure version of SSH.
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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
45. What command is used to create an RPM package?
getsebool -a | grep http
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
rpmbuild
Apache uses port 80 for HTTP and port 443 for HTTPS.
46. What critical step must you take after updating the kernel to a newer version?
Use the route command with the add option to create a static route.
The du and df commands are used to view available space on the system.
rpcbind service
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.
47. What is the difference between an A record and a PTR record?
semanage boolean -l
The lftp command can be used on a client to test FTP server connections.
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.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
48. What is a gateway used for on a network?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
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 sshd off
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
49. What is the /var/lib/nfs/etab file used for?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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
Enforcing during installation
The mount command lists all currently mounted file systems.
50. Before you work with quotas - what do you need to do to the file system?
cat /proc/mdstat
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The SMTP service runs on TCP port 110.
The four types of DNS servers are master - slave - caching-only - and forwarding.
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