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 a swap? Is it created as a partition or device file?
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
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 three utilities are: route - ping - and nslookup.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
2. What command can you use to change the context of files?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
chcon
Sendmail
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
3. Samba servers can...
serve both files and printers to users
Use the resize2fs command to grow a file system.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
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.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The three utilities are: route - ping - and nslookup.
Apache uses port 80 for HTTP and port 443 for HTTPS.
5. What command can you use to create a file system?
The nfsstat command can be used to view NFS statistics.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
mkfs.ext4
You must open TCP ports 20 and 21 for the FTP server to function properly.
6. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
Typing the mail or mutt command allows you to read mail from the command line.
chkconfig—list
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
The user_list file can be used to limit which users have access to the FTP server.
7. What are SELinux Booleans?
SELinux Booleans provide restrictions to different aspects of a service.
getfacl
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 rndc utility provides a method for managing the DNS server remotely and securely.
8. To create a RAID or LVM partition using kickstart
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the yum groupinstall command to install multiple packages in a single group at once.
service httpd configtest
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
9. What port does the rndc utility listen on by default?
By default - the rndc utility listens on port 953.
getsebool
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.
useradd -c "Jr Admin" George
10. How can virtual hosts be used?
LUKS encryption
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.
halts the system
load balancing and redundancy benefits
11. What happens if you call the command from question 3 with the -c option after it has already been run?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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.
The dig - host - and ping commands can be used to test DNS server functionality.
12. What is the /etc/vsftpd/user_list file used for?
The du and df commands are used to view available space on the system.
The user_list file can be used to limit which users have access to the FTP server.
The lftp command can be used on a client to test FTP server connections.
serve both files and printers to users
13. What is the name of the section used to run scripts after a kickstart installation?
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.
By defining a %post section - you can run scripts after a kickstart installation is complete.
defining a %pre section although it is rarely used
chkconfig—list
14. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
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.
chkconfig sshd off
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
15. What command can you use to view NFS statistics?
The TFTP server uses UDP port 69.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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 nfsstat command can be used to view NFS statistics.
16. What command can you use to view the current ACL on a file?
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.
getfacl
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
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.
17. 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.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
setsebool -P nfs_export_all_rw=1
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
18. The package selection screen allows you to install any software you want during the installation process as long as...
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 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
you have access to the correct packages or repositories.
load balancing and redundancy benefits
19. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
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 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.
20. What is a gateway used for on a network?
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 smbpasswd command is used to create Samba users.
The vsftpd package is used to install an FTP server.
This chapter described tdbsm and smbpasswd back-end authentication.
21. How would you disable SELinux protection for NFS - allowing shares to be read/write?
A user's home directory is created under the /home directory.
lvdisplay
VNC is used to control a remote desktop session.
setsebool -P nfs_export_all_rw=1
22. What command is used to create an RPM package?
choose which mode you'd like it to operate in
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
rpmbuild
getsebool -a | grep http
23. The ____________ is available for each share.
mkfs.ext4
browseable option
The virsh command is used to manage virtual guests.
getsebool
24. What command can you use to get information about logical volumes?
service httpd configtest
lvdisplay
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The NFS service uses TCP port 2049 by default.
25. What is the main config file for the DHCP service?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
defining a %pre section although it is rarely used
The print option is used with both the fdisk and parted commands to display the current partition tables.
halts the system
26. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
The rndc utility provides a method for managing the DNS server remotely and securely.
The TFTP server uses UDP port 69.
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
27. 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.
You can use the remove or erase options with yum to remove a package.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The lastlog and faillog commands are used to view user login-related events?
28. What is the /var/lib/nfs/etab file used for?
setsebool -P nfs_export_all_rw=1
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
ifconfig
repquota
29. How can you change the security context of a directory to work with Apache?
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.
atq
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
Using the chcon command - you can change the context of a file to work with Apache.
30. What port does NFS use by default?
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 smbstatus command shows you currently mounted Samba resources.
By defining a %post section - you can run scripts after a kickstart installation is complete.
The NFS service uses TCP port 2049 by default.
31. What is the name of the package used to install an FTP?
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.
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.
Enforcing during installation
The vsftpd package is used to install an FTP server.
32. 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
33. The at command is used to ____________. The cron service handles reoccurring system jobs.
serve both files and printers to users
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
schedule one-time-only jobs
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
34. Can you name the two commands that can be used to view the free space on the system?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The rpm command can operate in install - query - or verify modes.
The du and df commands are used to view available space on the system.
Use the top command to view CPU and memory usage.
35. What command can you use to validate the syntax of the Apache config file?
The smbpasswd command is used to create Samba users.
service httpd configtest
createrepo
The rndc utility provides a method for managing the DNS server remotely and securely.
36. What port does the Apache web server run on - What about HTTPS?
Apache uses port 80 for HTTP and port 443 for HTTPS.
The DHCP server listens on port 67 by default.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
alternatives --config mta
37. What directory is used to represent the virtual file system created by the kernel?
By default - Squid runs on port 3128.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The mount command lists all currently mounted file systems.
You must open TCP ports 20 and 21 for the FTP server to function properly.
38. What three protocols can you use to perform network installations?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
you have access to the correct packages or repositories.
chkconfig sshd off
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
39. Before you work with quotas - what do you need to do to the file system?
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.
For Apache to run a secure site - the mod_ssl package is required to be installed.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
40. What are the three items that make up LVM?
The yum and rpm commands are used for package management.
Enforcing during installation
Physical volumes - volume groups - and logical volumes.
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.
41. 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
42. Where are Yum repository config files located?
atq
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.
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.
You can use the authconfig-tui command or the authconfig command.
43. What command can you use to monitor and troubleshoot network connections?
By default - Squid runs on port 3128.
This command reboots virtual guest Client04.
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 tcpdump command is used to monitor network connections on different interfaces.
44. What are the side effects of shrinking a volume group or logical volume?
The lftp command can be used on a client to test FTP server connections.
The yum and rpm commands are used for package management.
lvdisplay
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.
45. What option at the GRUB boot menu can you use to append something to a kernel?
rpcbind service
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
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 NFS service uses TCP port 2049 by default.
46. Can you name three utilities that can be used for network or DNS client troubleshooting?
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 three utilities are: route - ping - and nslookup.
The four types of DNS servers are master - slave - caching-only - and forwarding.
serve both files and printers to users
47. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
Use the setgid flag to create the appropriate permissions (chmod 2770).
By default - the rndc utility listens on port 953.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
defining a %pre section although it is rarely used
48. What does the rdnc-confgen command do?
rpmbuild
enabled by default
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
49. 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
50. A slave DNS server provides...
load balancing and redundancy benefits
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
alternatives --config mta
support for TCP Wrappers
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