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 command can you use to view mounted Samba shares?
getfacl
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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The smbstatus command shows you currently mounted Samba resources.
2. What two commands are special for dealing with user login events?
The lastlog and faillog commands are used to view user login-related events?
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 tcpdump command is used to monitor network connections on different interfaces.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
3. What command can you use to query Boolean values?
schedule one-time-only jobs
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
browseable option
getsebool
4. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
LUKS encryption
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.
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 anonymous_enable=YES option in the main config file allows anonymous uploads.
5. What command is used to create an RPM package?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
service dhcpd configtest
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
rpmbuild
6. 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
7. What is the format of the /etc/shadow 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.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Use the resize2fs command to grow a file system.
8. What are the three modes in which the rpm command can operate?
DNS uses port 53.
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 rpm command can operate in install - query - or verify modes.
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.
9. 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
10. Which version of SSH should you use?
The nfsstat command can be used to view NFS statistics.
The tcpdump command is used to monitor network connections on different interfaces.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Version 2 is the latest and most secure version of SSH.
11. What three components are needed to fully automate a kickstart installation?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
atq
The user_list file can be used to limit which users have access to the FTP server.
cat /proc/mdstat
12. Where are Yum repository config files located?
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
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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.
getsebool -a | grep http
13. There are four types of DNS servers. Name them.
The virsh command is used to manage virtual guests.
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 four types of DNS servers are master - slave - caching-only - and forwarding.
cat /proc/mdstat
14. What directory is used to represent the virtual file system created by the kernel?
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The SMTP service runs on TCP port 110.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
atq
15. 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
16. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
atq
17. What does virsh reboot Client04 do?
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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
This command reboots virtual guest Client04.
The smbpasswd command is used to create Samba users.
18. GRUB has three stages. Can you name them?
The -t nfs option is used with the mount command to mount NFS resources.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
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 five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
19. What are the two types of back-end authentication mechanisms discussed in this chapter?
This chapter described tdbsm and smbpasswd back-end authentication.
The smbstatus command shows you currently mounted Samba resources.
getsebool
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
20. What command can you use to query information from the kernel about RAID arrays?
setsebool -P nfs_export_all_rw=1
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.
serve both files and printers to users
cat /proc/mdstat
21. Do you need to write changes to the disk when using the parted command? What about fdisk?
user's home directory in the /etc/skel directory
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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 rpm command can operate in install - query - or verify modes.
22. What command can be used to easily list all the options in the FTP main config file?
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.
createrepo
Enforcing during installation
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
23. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
The smbpasswd command is used to create Samba users.
You must open TCP ports 20 and 21 for the FTP server to function properly.
Sendmail
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
24. What file is used to maintain custom parameters for the kernel during system boot?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
You add your action to the end of the /home/user01/.bashrc file.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
25. What command can you use to validate the syntax of the Apache config file?
service httpd configtest
getfacl
browseable option
The mount command lists all currently mounted file systems.
26. What is the name of the package that allows you to install VNC?
getsebool
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
By defining a %post section - you can run scripts after a kickstart installation is complete.
27. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
chcon
The print option is used with both the fdisk and parted commands to display the current partition tables.
28. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
schedule one-time-only jobs
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 /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
29. What is the main config file for the DHCP service?
The smbstatus command shows you currently mounted Samba resources.
The NFS service uses TCP port 2049 by default.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
30. The exportfs command is used to...
By default - Squid runs on port 3128.
atq
export one or all resources
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
31. 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...
serve both files and printers to users
have the same effect
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The rpm command can operate in install - query - or verify modes.
32. Before you work with ACLs - what do you need to do to the file system?
You must open TCP ports 20 and 21 for the FTP server to function properly.
This command reboots virtual guest Client04.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
chcon
33. What command can you use to monitor and troubleshoot network connections?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The tcpdump command is used to monitor network connections on different interfaces.
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.
SELinux Booleans provide restrictions to different aspects of a service.
34. What command and options can you use to update the time?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
getsebool
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
35. 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
36. Are additional packages besides httpd required for a secure website - If so - what are they?
For Apache to run a secure site - the mod_ssl package is required to be installed.
Physical volumes - volume groups - and logical volumes.
The dig - host - and ping commands can be used to test DNS server functionality.
setsebool -P nfs_export_all_rw=1
37. What command can you use to view the current ACL on a 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.
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
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
getfacl
38. The at command is used to ____________. The cron service handles reoccurring system jobs.
A virtual host is a way of hosting multiple sites using a single IP address.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
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.
schedule one-time-only jobs
39. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
The mount command lists all currently mounted file systems.
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.
chkconfig xinetd --list
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
40. A PXE server eases the automation process but isn't required for...
The dig - host - and ping commands can be used to test DNS server functionality.
rpcbind service
kickstart installations to work
Using the chcon command - you can change the context of a file to work with Apache.
41. What is the superblock used for?
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
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
Enforcing during installation
42. How can you change the security context of a directory to work with Apache?
SELinux Booleans provide restrictions to different aspects of a service.
The lftp command can be used on a client to test FTP server connections.
Using the chcon command - you can change the context of a file to work with Apache.
user's home directory in the /etc/skel directory
43. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
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.
kickstart installations to work
Physical volumes - volume groups - and logical volumes.
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.
44. What command can you use to change the context of files?
chcon
user's home directory in the /etc/skel directory
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.
45. What command do you use to report information on quota usage?
setsebool -P nfs_export_all_rw=1
repquota
used for kickstart and/or network installs
kickstart installations to work
46. Most boot issues can be resolved by...
entering rescue mode and repairing the problem.
The ping command can be used to verify connectivity to another host.
Enforcing during installation
Use the setgid flag to create the appropriate permissions (chmod 2770).
47. What command and option do you use to view the description of Boolean values?
For Apache to run a secure site - the mod_ssl package is required to be installed.
Use the ps command to view processes and their CPU usage.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
semanage boolean -l
48. Can you name the two commands that can be used to view the free space on the system?
The du and df commands are used to view available space on the system.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The htpasswd command can be used to password-protect a web page.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
49. What command would you use to create a group - to add the user George to the group?
Enforcing during installation
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
Version 2 is the latest and most secure version of SSH.
50. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
getsebool -a | grep http
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.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
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