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 directory is used to represent the virtual file system created by the kernel?
Use the resize2fs command to grow a file system.
The service command is used to start - stop - and manage system services.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
ifconfig
2. What does virsh reboot Client04 do?
ifconfig
The rpm command can operate in install - query - or verify modes.
This command reboots virtual guest Client04.
useradd -c "Jr Admin" George
3. SSH does...
createrepo
Enforcing during installation
schedule one-time-only jobs
support TCP Wrappers
4. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
Typing the mail or mutt command allows you to read mail from the command line.
The /etc/fstab file.
VNC is used to control a remote desktop session.
You add your action to the end of the /home/user01/.bashrc file.
5. What command can you use to check the config file of the DHCP server?
SELinux Booleans provide restrictions to different aspects of a service.
service dhcpd configtest
kickstart installations to work
Use the yum groupinstall command to install multiple packages in a single group at once.
6. How can you verify the status of the SSH service after the system has booted?
service sshd statuts
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.
The mount command lists all currently mounted file systems.
7. Editing the /etc/xinetd.d/tftp file and enabling the service are the same as running the chkconfig tftp on command. Both of these actions...
The /var/log/audit/audit.log file contains all policy violations.
have the same effect
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Physical volumes - volume groups - and logical volumes.
8. What are SELinux Booleans?
Apache uses port 80 for HTTP and port 443 for HTTPS.
Use the top command to view CPU and memory usage.
SELinux Booleans provide restrictions to different aspects of a 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.
9. What command can you use to test connectivity to another host?
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.
enabled by default
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The ping command can be used to verify connectivity to another host.
10. What is the name of the package used to install an FTP?
The vsftpd package is used to install an FTP server.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
chkconfig sshd off
11. What three commands can you use to help verify that the DNS server is functioning properly?
The tcpdump command is used to monitor network connections on different interfaces.
The dig - host - and ping commands can be used to test DNS server functionality.
lvdisplay
defining a %pre section although it is rarely used
12. How can virtual hosts be used?
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.
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.
entering rescue mode and repairing the problem.
Enforcing during installation
13. What command can you use to test the config files before starting the DNS service?
service named configtest
The service command is used to start - stop - and manage system services.
setsebool -P nfs_export_all_rw=1
The print option is used with both the fdisk and parted commands to display the current partition tables.
14. 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
15. What command is used to create a user for Samba?
The smbpasswd command is used to create Samba users.
The /etc/fstab file.
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.
export one or all resources
16. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
DNS uses port 53.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The DHCP server listens on port 67 by default.
17. What command is used to show all services being controlled by the xinetd daemon?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
chkconfig xinetd --list
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
18. What command can you use to change the context of files?
chkconfig—list
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.
The /etc/fstab file.
19. It is possible to run scripts before a kickstart installation. This is done by...
getfacl
The lastlog and faillog commands are used to view user login-related events?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
defining a %pre section although it is rarely used
20. 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.
The mount command lists all currently mounted file systems.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
21. What command and options can you use to update the time?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
22. What port must be opened on the firewall for DNS?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
DNS uses port 53.
chkconfig xinetd --list
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
23. What command can be used to easily list all the options in the FTP main config file?
The du and df commands are used to view available space on the system.
The nfsstat command can be used to view NFS statistics.
choose which mode you'd like it to operate in
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
24. What happens if you call the command from question 3 with the -c option after it has already been run?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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 file that stores usernames and their encrypted passwords is erased and replaced with a new file.
25. How can you change the security context of a directory to work with Apache?
Typing the mail or mutt command allows you to read mail from the command line.
Using the chcon command - you can change the context of a file to work with Apache.
For Apache to run a secure site - the mod_ssl package is required to be installed.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
26. What two commands are used for package management?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The yum and rpm commands are used for package management.
Use the yum groupinstall command to install multiple packages in a single group at once.
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.
27. What command can you use to view mounted Samba shares?
The smbstatus command shows you currently mounted Samba resources.
cat /proc/mdstat
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
You can use the authconfig-tui command or the authconfig command.
28. What command can you use to validate the syntax of the Apache config file?
You can use the remove or erase options with yum to remove a package.
ifconfig
service httpd configtest
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
29. What is the default port that Squid runs on?
By default - Squid runs on port 3128.
support TCP Wrappers
Use the route command with the add option to create a static route.
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.
30. How do you run a command with elevated privileges?
SELinux provides enhanced granular security for the Linux operating system.
cat /proc/mdstat
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
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.
31. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
A user's home directory is created under the /home directory.
By default - Squid runs on port 3128.
Enforcing during installation
The du and df commands are used to view available space on the system.
32. What two commands are special for dealing with user login events?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The lastlog and faillog commands are used to view user login-related events?
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.
33. Which remote management service is installed by default?Can you name the port that it uses?
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.
Enforcing during installation
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
entering rescue mode and repairing the problem.
34. What client-side command can you use to test your FTP server connection?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The lftp command can be used on a client to test FTP server connections.
Apache uses port 80 for HTTP and port 443 for HTTPS.
chkconfig sshd off
35. What protocols are used with Dovecot?
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.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
By defining a %post section - you can run scripts after a kickstart installation is complete.
useradd -c "Jr Admin" George
36. What two ports should be opened on the firewall for the FTP server to function properly?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
You must open TCP ports 20 and 21 for the FTP server to function properly.
The lftp command can be used on a client to test FTP server connections.
have the same effect
37. What is the top command used for?
used for kickstart and/or network installs
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.
Use the top command to view CPU and memory usage.
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.
38. What is a swap? Is it created as a partition or device file?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
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.
ifconfig
The ping command can be used to verify connectivity to another host.
39. What three protocols can you use to perform network installations?
Use the setgid flag to create the appropriate permissions (chmod 2770).
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
40. What command can be used to view the queue for at service jobs?
Use the top command to view CPU and memory 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
atq
The /etc/fstab file.
41. 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
42. 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 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 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.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
43. What file is used to maintain custom parameters for the kernel during system boot?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The service command is used to start - stop - and manage system services.
The vsftpd package is used to install an FTP server.
SELinux provides enhanced granular security for the Linux operating system.
44. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
DNS uses port 53.
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 xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
45. What commands can you use to add a client machine to an LDAP server?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The nfsstat command can be used to view NFS statistics.
The two main config files are master.cf and main.cf.
You can use the authconfig-tui command or the authconfig command.
46. What option would you use to query an installed package using the rpm command?
Use the yum groupinstall command to install multiple packages in a single group at once.
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.
Typing the mail or mutt command allows you to read mail from the command line.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
47. Do you need to write changes to the disk when using the parted command? What about fdisk?
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.
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.
The dig - host - and ping commands can be used to test DNS server functionality.
enabled by default
48. Are additional packages besides httpd required for a secure website - If so - what are they?
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.
For Apache to run a secure site - the mod_ssl package is required to be installed.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
49. Through its main config file - SSH can be configured to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
50. What is the biggest benefit to using LVM over basic partitions?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
choose which mode you'd like it to operate in
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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