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 happens if you call the command from question 3 with the -c option after it has already been run?
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 three utilities are: route - ping - and nslookup.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
2. Where are Yum repository config files located?
LUKS encryption
The TFTP server uses UDP port 69.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
3. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
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 gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
You add your action to the end of the /home/user01/.bashrc file.
4. What does virsh reboot Client04 do?
halts the system
This command reboots virtual guest Client04.
The TFTP server uses UDP port 69.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
5. 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
6. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
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.
setsebool -P nfs_export_all_rw=1
The lftp command can be used on a client to test FTP server connections.
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.
7. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
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
Use the setgid flag to create the appropriate permissions (chmod 2770).
The anonymous_enable=YES option in the main config file allows anonymous uploads.
rpcbind service
8. How would you install a group of packages all at a single time?
repquota
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
Use the yum groupinstall command to install multiple packages in a single group at once.
9. What is the /var/lib/nfs/etab file used for?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The print option is used with both the fdisk and parted commands to display the current partition tables.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
10. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
The virsh command is used to manage virtual guests.
The smbstatus command shows you currently mounted Samba resources.
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.
11. What are the two types of back-end authentication mechanisms discussed in this chapter?
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 have access to the correct packages or repositories.
This chapter described tdbsm and smbpasswd back-end authentication.
choose which mode you'd like it to operate in
12. What is SSH used for?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
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.
support TCP Wrappers
SSH is used for secure remote management of Linux systems.
13. What is the name of the section used to run scripts after a kickstart installation?
By defining a %post section - you can run scripts after a kickstart installation is complete.
atq
Version 2 is the latest and most secure version of SSH.
mkfs.ext4
14. What are the two config files for Postfix called?
The two main config files are master.cf and main.cf.
The TFTP server uses UDP port 69.
Use the ps command to view processes and their CPU usage.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
15. What command is used to create a user for Samba?
kickstart installations to work
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.
The TFTP server uses UDP port 69.
The smbpasswd command is used to create Samba users.
16. You must dictate the ____________ you want allocated to your virtual machine when you create it.
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 smbpasswd command is used to create Samba users.
amount of RAM
Apache uses port 80 for HTTP and port 443 for HTTPS.
17. What command can you use to test connectivity to another host?
The ping command can be used to verify connectivity to another host.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
setsebool -P nfs_export_all_rw=1
18. What is VNC?
You can use the remove or erase options with yum to remove a package.
generates errors under Red Hat Enterprise Linux 6
VNC is used to control a remote desktop session.
SELinux provides enhanced granular security for the Linux operating system.
19. What command can you use to check the config file of the DHCP server?
You can use the remove or erase options with yum to remove a package.
service dhcpd configtest
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
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.
20. What command can you use to view the current ACL on a file?
The service command is used to start - stop - and manage system services.
getfacl
defining a %pre section although it is rarely used
Use the resize2fs command to grow a file system.
21. What command do you use to change the permissions on a file or directory - To change ownership?
The htpasswd command can be used to password-protect a web page.
getsebool -a | grep http
Enforcing during installation
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.
22. What directory is used to represent the virtual file system created by the kernel?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
used for kickstart and/or network installs
Use the ps command to view processes and their CPU usage.
The four types of DNS servers are master - slave - caching-only - and forwarding.
23. What does it mean if you ping a host and you receive the response Destination Unreachable?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
defining a %pre section although it is rarely 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.
setsebool -P nfs_export_all_rw=1
24. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The virsh command is used to manage virtual guests.
SELinux provides enhanced granular security for the Linux operating system.
LUKS encryption
Physical volumes - volume groups - and logical volumes.
25. What command can you use to create a file 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.
mkfs.ext4
The four types of DNS servers are master - slave - caching-only - and forwarding.
chcon
26. SSH does...
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.
support TCP Wrappers
load balancing and redundancy benefits
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. What two commands are used for package management?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The yum and rpm commands are used for package management.
The ping command can be used to verify connectivity to another host.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
28. What is the main config file for the DHCP service?
generates errors under Red Hat Enterprise Linux 6
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
29. What command can you use to view system processes and their CPU usage?
Use the ps command to view processes and their CPU usage.
chkconfig—list
support for TCP Wrappers
Typing the mail or mutt command allows you to read mail from the command line.
30. 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
31. Which remote management service is installed by default?Can you name the port that it uses?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
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.
amount of RAM
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.
32. What command can you use to query information from the kernel about RAID arrays?
The -t nfs option is used with the mount command to mount NFS resources.
enabled by default
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
cat /proc/mdstat
33. What command can be used to easily list all the options in the FTP main config file?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
getsebool
support TCP Wrappers
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
34. Most boot issues can be resolved by...
VNC is used to control a remote desktop session.
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.
entering rescue mode and repairing the problem.
atq
35. How can you change the security context of a directory to work with Apache?
have the same effect
export one or all resources
Using the chcon command - you can change the context of a file to work with Apache.
The nfsstat command can be used to view NFS statistics.
36. The exportfs command is used to...
kickstart installations to work
The htpasswd command can be used to password-protect a web page.
export one or all resources
Using the chcon command - you can change the context of a file to work with Apache.
37. What command do you use to report information on quota usage?
repquota
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.
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 du and df commands are used to view available space on the system.
38. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
semanage boolean -l
Using the chcon command - you can change the context of a file to work with Apache.
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.
support TCP Wrappers
39. The package selection screen allows you to install any software you want during the installation process as long as...
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
Version 2 is the latest and most secure version of SSH.
Use the setgid flag to create the appropriate permissions (chmod 2770).
you have access to the correct packages or repositories.
40. How can you display all virtual guests after they're connected to a hypervisor?
By default - Squid runs on port 3128.
This command reboots virtual guest Client04.
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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
41. To create a RAID or LVM partition using kickstart
service dhcpd configtest
semanage boolean -l
lvdisplay
Kickstart supports both basic and advanced partitioning (RAID/LVM).
42. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
ifconfig
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.
43. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
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.
44. 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
45. 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
used for kickstart and/or network installs
This command reboots virtual guest Client04.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
46. How can you verify the status of the SSH service after the system has booted?
service sshd statuts
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.
support for TCP Wrappers
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
47. Are additional packages besides httpd required for a secure website - If so - what are they?
SELinux provides enhanced granular security for the Linux operating system.
Use the resize2fs command to grow a file system.
The user_list file can be used to limit which users have access to the FTP server.
For Apache to run a secure site - the mod_ssl package is required to be installed.
48. What port must be opened on the firewall for DNS?
DNS uses port 53.
Use the setgid flag to create the appropriate permissions (chmod 2770).
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
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.
49. What is the virsh command used for?
repquota
The virsh command is used to manage virtual guests.
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.
service dhcpd configtest
50. What option is used to allow anonymous uploads to the FTP server?
schedule one-time-only jobs
Use the ps command to view processes and their CPU usage.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
Use the yum groupinstall command to install multiple packages in a single group at once.
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