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 file needs to be edited so that the system will mount a file system at boot time?
getsebool -a | grep http
The /etc/fstab file.
The NFS service uses TCP port 2049 by default.
choose which mode you'd like it to operate in
2. Does a DHCP server allow reserved IP addresses - If so - how?
Version 2 is the latest and most secure version of SSH.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The DHCP server listens on port 67 by default.
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.
3. 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
4. Can you put your /boot partition on a RAID 5 array?
The three utilities are: route - ping - and nslookup.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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.
5. How can you change the security context of a directory to work with Apache?
Using the chcon command - you can change the context of a file to work with Apache.
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 virsh command is used to manage virtual guests.
This command reboots virtual guest Client04.
6. What does virsh reboot Client04 do?
rpmbuild
This command reboots virtual guest Client04.
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.
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.
7. What two commands are used for package management?
cat /proc/mdstat
load balancing and redundancy benefits
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The yum and rpm commands are used for package management.
8. Do you need to write changes to the disk when using the parted command? What about fdisk?
A virtual host is a way of hosting multiple sites using a single IP address.
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.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
9. What port on the firewall needs to be open for the TFTP server to work?
Enforcing during installation
chcon
rpmbuild
The TFTP server uses UDP port 69.
10. What option is used to allow anonymous uploads to the FTP server?
Use the resize2fs command to grow a file system.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
generates errors under Red Hat Enterprise Linux 6
rpcbind service
11. What command can you use to create a password-protected page?
The lastlog and faillog commands are used to view user login-related events?
serve both files and printers to users
browseable option
The htpasswd command can be used to password-protect a web page.
12. What command can you use to query information from the kernel about RAID arrays?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
used for kickstart and/or network installs
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.
cat /proc/mdstat
13. The firewall service is...
chkconfig sshd off
enabled by default
Enforcing during installation
The two main config files are master.cf and main.cf.
14. Are additional packages besides httpd required for a secure website - If so - what are they?
The /etc/fstab file.
For Apache to run a secure site - the mod_ssl package is required to be installed.
The four types of DNS servers are master - slave - caching-only - and forwarding.
browseable option
15. What is SSH used for?
SSH is used for secure remote management of Linux systems.
setsebool -P nfs_export_all_rw=1
The virsh command is used to manage virtual guests.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
16. What happens if you call the command from question 3 with the -c option after it has already been run?
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.
defining a %pre section although it is rarely used
The service command is used to start - stop - and manage system services.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
17. 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.
schedule one-time-only jobs
VNC is used to control a remote desktop session.
service sshd statuts
18. What is the name of the package used to install an FTP?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The vsftpd package is used to install an FTP server.
The service command is used to start - stop - and manage system services.
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.
19. Before you work with quotas - what do you need to do to the file system?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The rndc utility provides a method for managing the DNS server remotely and securely.
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.
20. A PXE server eases the automation process but isn't required for...
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.
kickstart installations to work
The /var/log/audit/audit.log file contains all policy violations.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
21. What command do you use to report information on quota usage?
you have access to the correct packages or repositories.
repquota
LUKS encryption
Use the resize2fs command to grow a file system.
22. What is the difference between an ext2 and ext3 file system?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
23. What does the rdnc-confgen command do?
SELinux Booleans provide restrictions to different aspects of a service.
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 /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
24. How do you run a command with elevated privileges?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
rpmbuild
choose which mode you'd like it to operate in
This chapter described tdbsm and smbpasswd back-end authentication.
25. What is the /etc/vsftpd/user_list file used for?
The user_list file can be used to limit which users have access to the FTP server.
chcon
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.
generates errors under Red Hat Enterprise Linux 6
26. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
The print option is used with both the fdisk and parted commands to display the current partition tables.
Physical volumes - volume groups - and logical volumes.
The service command is used to start - stop - and manage system services.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
27. What option at the GRUB boot menu can you use to append something to a kernel?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
This command reboots virtual guest Client04.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
alternatives --config mta
28. What port does NFS use by default?
The yum and rpm commands are used for package management.
chcon
The four types of DNS servers are master - slave - caching-only - and forwarding.
The NFS service uses TCP port 2049 by default.
29. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
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.
Use the setgid flag to create the appropriate permissions (chmod 2770).
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 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.
30. What three components are needed to fully automate a kickstart installation?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
service httpd configtest
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
31. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
support for TCP Wrappers
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 rndc utility provides a method for managing the DNS server remotely and securely.
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.
32. What command would you use to create a group - to add the user George to the group?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
33. What commands can you use to add a client machine to an LDAP server?
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 can use the authconfig-tui command or the authconfig command.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
used for kickstart and/or network installs
34. What are the side effects of shrinking a volume group or logical volume?
cat /proc/mdstat
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
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.
used for kickstart and/or network installs
35. What is the default port that Squid runs on?
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
By default - Squid runs on port 3128.
36. What are the two config files for Postfix called?
The two main config files are master.cf and main.cf.
The /etc/fstab file.
Physical volumes - volume groups - and logical volumes.
Sendmail
37. 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.
repquota
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
38. What command is used to create an RPM package?
The vsftpd package is used to install an FTP server.
rpmbuild
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
SSH is used for secure remote management of Linux systems.
39. 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
40. Which version of SSH should you use?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Version 2 is the latest and most secure version of SSH.
SELinux Booleans provide restrictions to different aspects of a service.
41. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
You add your action to the end of the /home/user01/.bashrc file.
setsebool -P nfs_export_all_rw=1
rpcbind service
cat /proc/mdstat
42. Red Hat Enterprise Linux 6 is the only version that officially supports _______
ifconfig
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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
LUKS encryption
43. What is the top command used for?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
getsebool
Use the top command to view CPU and memory usage.
A user's home directory is created under the /home directory.
44. What command can you use to validate the syntax of the Apache config file?
Use the yum groupinstall command to install multiple packages in a single group at once.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
service httpd configtest
45. What two commands are special for dealing with user login events?
The lastlog and faillog commands are used to view user login-related events?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
choose which mode you'd like it to operate in
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.
46. What command can you use to view the current ACL on a file?
getsebool -a | grep http
createrepo
getfacl
Enforcing during installation
47. How would you view all Boolean options for the HTTP service?
The -t nfs option is used with the mount command to mount NFS resources.
getsebool -a | grep http
generates errors under Red Hat Enterprise Linux 6
chkconfig sshd off
48. What command and option do you use to view the description of Boolean values?
The dig - host - and ping commands can be used to test DNS server functionality.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
semanage boolean -l
schedule one-time-only jobs
49. The package selection screen allows you to install any software you want during the installation process as long as...
you have access to the correct packages or repositories.
chkconfig sshd off
getfacl
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
50. 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 two main config files are master.cf and main.cf.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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