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 superblock used for?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The TFTP server uses UDP port 69.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
semanage boolean -l
2. The ____________ is available for each share.
browseable option
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.
A virtual host is a way of hosting multiple sites using a single IP address.
The nfsstat command can be used to view NFS statistics.
3. How can you check the currently mounted file systems?
VNC is used to control a remote desktop session.
Typing the mail or mutt command allows you to read mail from the command line.
This chapter described tdbsm and smbpasswd back-end authentication.
The mount command lists all currently mounted file systems.
4. What are the side effects of shrinking a volume group or logical volume?
amount of RAM
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.
DNS uses port 53.
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.
5. What command can be used to view the queue for at service jobs?
The /etc/fstab file.
atq
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Enforcing during installation
6. What three components are needed to fully automate a kickstart installation?
Enforcing during installation
support TCP Wrappers
browseable option
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
7. What does virsh reboot Client04 do?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
run on any port you'd like (provided that port is available)
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.
This command reboots virtual guest Client04.
8. What is the /var/lib/nfs/etab file used for?
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.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The SMTP service runs on TCP port 110.
chcon
9. Should you allow remote root access - Why or why not?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. What is the default port that Squid runs on?
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.
By default - Squid runs on port 3128.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The du and df commands are used to view available space on the system.
11. What is the main config file for the DHCP service?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
12. To grow 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.
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 file that stores usernames and their encrypted passwords is erased and replaced with a new file.
Use the resize2fs command to grow a file system.
13. How can you display all virtual guests after they're connected to a hypervisor?
browseable option
The lftp command can be used on a client to test FTP server connections.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
14. What command disables the SSH service from running when the system boots?
repquota
chkconfig sshd off
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
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.
15. What is the biggest benefit to using LVM over basic partitions?
alternatives --config mta
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
rpcbind service
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.
16. What does the rdnc-confgen command do?
The user_list file can be used to limit which users have access to the FTP server.
service httpd configtest
By default - Squid runs on port 3128.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
17. Can you name three utilities that can be used for network or DNS client troubleshooting?
The SMTP service runs on TCP port 110.
The three utilities are: route - ping - and nslookup.
getfacl
serve both files and printers to users
18. 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).
Use the yum groupinstall command to install multiple packages in a single group at once.
By default - Squid runs on port 3128.
The virsh command is used to manage virtual guests.
19. What are the two types of back-end authentication mechanisms discussed in this chapter?
schedule one-time-only jobs
This chapter described tdbsm and smbpasswd back-end authentication.
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.
20. A PXE server eases the automation process but isn't required for...
rpmbuild
kickstart installations to work
support TCP Wrappers
The SMTP service runs on TCP port 110.
21. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
via the command line
The virsh command is used to manage virtual guests.
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.
22. What command and options can you use to update the time?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
VNC is used to control a remote desktop session.
LUKS encryption
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
23. What command is used to create an RPM package?
rpmbuild
For Apache to run a secure site - the mod_ssl package is required to be installed.
Apache uses port 80 for HTTP and port 443 for HTTPS.
generates errors under Red Hat Enterprise Linux 6
24. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
Use the route command with the add option to create a static route.
used for kickstart and/or network installs
Sendmail
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
25. What port does the rndc utility listen on by default?
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.
Enforcing during installation
By default - the rndc utility listens on port 953.
You must open TCP ports 20 and 21 for the FTP server to function properly.
26. What option is used with both the fdisk and parted commands to display the current partition tables?
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.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The print option is used with both the fdisk and parted commands to display the current partition tables.
A virtual host is a way of hosting multiple sites using a single IP address.
27. What is the name of the package that allows you to install VNC?
support TCP Wrappers
The two main config files are master.cf and main.cf.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
28. How can you verify the status of the SSH service after the system has booted?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
service sshd statuts
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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.
29. 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.
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.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The -t nfs option is used with the mount command to mount NFS resources.
30. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
rpmbuild
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.
alternatives --config mta
Use the setgid flag to create the appropriate permissions (chmod 2770).
31. What are the three modes in which the rpm command can operate?
Use the setgid flag to create the appropriate permissions (chmod 2770).
The virsh command is used to manage virtual guests.
The rpm command can operate in install - query - or verify modes.
The rndc utility provides a method for managing the DNS server remotely and securely.
32. What does the partprobe command do?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
support TCP Wrappers
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
33. What option is used to allow anonymous uploads to the FTP server?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
SSH is used for secure remote management of Linux systems.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
Use the setgid flag to create the appropriate permissions (chmod 2770).
34. What command do you use to change the permissions on a file or directory - To change ownership?
lvdisplay
chkconfig sshd off
defining a %pre section although it is rarely used
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.
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. What command and option do you use to view the description of Boolean values?
choose which mode you'd like it to operate in
semanage boolean -l
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
run on any port you'd like (provided that port is available)
37. Before you work with quotas - what do you need to do to the file system?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The ping command can be used to verify connectivity to another host.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
38. There are four types of DNS servers. Name them.
support for TCP Wrappers
repquota
The four types of DNS servers are master - slave - caching-only - and forwarding.
createrepo
39. How can virtual hosts be used?
You can use the authconfig-tui command or the authconfig command.
This chapter described tdbsm and smbpasswd back-end authentication.
getfacl
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.
40. What command-line program can you use to check your mail?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
Typing the mail or mutt command allows you to read mail from the command line.
This command reboots virtual guest Client04.
You can use the authconfig-tui command or the authconfig command.
41. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
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.
generates errors under Red Hat Enterprise Linux 6
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
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
42. 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
43. What command can you use to monitor and troubleshoot network connections?
You can use the remove or erase options with yum to remove a package.
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.
The tcpdump command is used to monitor network connections on different interfaces.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
44. A service needs to have _______________ to be able to use it.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
rpcbind service
support for TCP Wrappers
SSH is used for secure remote management of Linux systems.
45. What is PAM used for?
rpcbind service
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
The service command is used to start - stop - and manage system services.
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.
46. What file is used to maintain custom parameters for the kernel during system boot?
Enforcing during installation
Use the yum groupinstall command to install multiple packages in a single group at once.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The SMTP service runs on TCP port 110.
47. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
LUKS encryption
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
48. What benefit does a web proxy provide to your network?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The /var/log/audit/audit.log file contains all policy violations.
SSH is used for secure remote management of Linux systems.
The smbpasswd command is used to create Samba users.
49. What two ports should be opened on the firewall for the FTP server to function properly?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
You must open TCP ports 20 and 21 for the FTP server to function properly.
Use the yum groupinstall command to install multiple packages in a single group at once.
The ping command can be used to verify connectivity to another host.
50. How would you disable SELinux protection for NFS - allowing shares to be read/write?
setsebool -P nfs_export_all_rw=1
The /etc/fstab file.
The virsh command is used to manage virtual guests.
useradd -c "Jr Admin" George
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