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. 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
2. What command can you use to view mounted Samba shares?
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
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
Use the top command to view CPU and memory usage.
The smbstatus command shows you currently mounted Samba resources.
3. Which log file is used to keep track of policy violations?
The smbpasswd command is used to create Samba users.
The /var/log/audit/audit.log file contains all policy violations.
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 SMTP service runs on TCP port 110.
4. There are four types of DNS servers. Name them.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The four types of DNS servers are master - slave - caching-only - and forwarding.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
5. What command-line program can you use to check your mail?
The -t nfs option is used with the mount command to mount NFS resources.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP 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.
Typing the mail or mutt command allows you to read mail from the command line.
6. 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.
semanage boolean -l
Enforcing during installation
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
7. What is a gateway used for on a network?
getsebool -a | grep http
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.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf 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.
8. What is VNC?
VNC is used to control a remote desktop session.
The three utilities are: route - ping - and nslookup.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The smbstatus command shows you currently mounted Samba resources.
9. What does the partprobe command do?
used for kickstart and/or network installs
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.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
cat /proc/mdstat
10. What two commands are special for dealing with user login events?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The lastlog and faillog commands are used to view user login-related events?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
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.
11. What is the name of the package used to install an FTP?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
repquota
service dhcpd configtest
The vsftpd package is used to install an FTP server.
12. What option needs to be used with the mount command to mount an NFS resource?
choose which mode you'd like it to operate in
Use the top command to view CPU and memory usage.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The -t nfs option is used with the mount command to mount NFS resources.
13. What are the three modes in which the rpm command can operate?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
Use the ps command to view processes and their CPU usage.
The rpm command can operate in install - query - or verify modes.
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.
14. 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
15. How would you disable SELinux protection for NFS - allowing shares to be read/write?
setsebool -P nfs_export_all_rw=1
Network installations can be performed using the HTTP - FTP - and NFS protocols.
support for TCP Wrappers
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
16. What three components are needed to fully automate a kickstart installation?
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 -t nfs option is used with the mount command to mount NFS resources.
The rndc utility provides a method for managing the DNS server remotely and securely.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
17. What is the xinetd service used for?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
You can use the remove or erase options with yum to remove a package.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
18. 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.
service named configtest
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
getsebool
19. What protocols are used with Dovecot?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
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
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
20. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
generates errors under Red Hat Enterprise Linux 6
schedule one-time-only jobs
This chapter described tdbsm and smbpasswd back-end authentication.
21. What is the benefit to using centralized authentication?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
22. The exportfs command is used to...
The user_list file can be used to limit which users have access to the FTP server.
export one or all resources
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.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
23. What command do you use to report information on quota usage?
The user_list file can be used to limit which users have access to the FTP server.
repquota
DNS uses port 53.
Enforcing during installation
24. What command would you use to create a group - to add the user George to the group?
schedule one-time-only jobs
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
setsebool -P nfs_export_all_rw=1
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.
25. What port does NFS use by default?
The vsftpd package is used to install an FTP server.
The NFS service uses TCP port 2049 by default.
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.
chkconfig xinetd --list
26. What benefit does a web proxy provide to your network?
service httpd configtest
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
This chapter described tdbsm and smbpasswd back-end authentication.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
27. Which remote management service is installed by default?Can you name the port that it uses?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The du and df commands are used to view available space on the system.
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.
Use the top command to view CPU and memory usage.
28. What happens to jobs that are scheduled to run while the system is off?
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.
The service command is used to start - stop - and manage system services.
getsebool
This command reboots virtual guest Client04.
29. 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...
ifconfig
semanage boolean -l
getsebool -a | grep http
have the same effect
30. What command can you use to get information about logical volumes?
The four types of DNS servers are master - slave - caching-only - and forwarding.
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.
lvdisplay
The anonymous_enable=YES option in the main config file allows anonymous uploads.
31. A PXE server eases the automation process but isn't required for...
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
You add your action to the end of the /home/user01/.bashrc file.
kickstart installations to work
A virtual host is a way of hosting multiple sites using a single IP address.
32. How would you install a group of packages all at a single time?
For Apache to run a secure site - the mod_ssl package is required to be installed.
Use the setgid flag to create the appropriate permissions (chmod 2770).
The rpm command can operate in install - query - or verify modes.
Use the yum groupinstall command to install multiple packages in a single group at once.
33. What command can you use to create a password-protected page?
Use the top command to view CPU and memory usage.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The htpasswd command can be used to password-protect a web page.
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.
34. What option at the GRUB boot menu can you use to append something to a kernel?
The SMTP service runs on TCP port 110.
Use the top command to view CPU and memory usage.
By default - Squid runs on port 3128.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
35. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
used for kickstart and/or network installs
Typing the mail or mutt command allows you to read mail from the command line.
For Apache to run a secure site - the mod_ssl package is required to be installed.
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.
36. The at command is used to ____________. The cron service handles reoccurring system jobs.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
schedule one-time-only jobs
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.
load balancing and redundancy benefits
37. 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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
amount of RAM
38. Where are Yum repository config files located?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
VNC is used to control a remote desktop session.
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.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
39. What command can be used to view the queue for at service jobs?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
atq
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.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
40. What command can you use to create a file system?
mkfs.ext4
The virsh command is used to manage virtual guests.
You can use the remove or erase options with yum to remove a package.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
41. In Red Hat Enterprise Linux 6 - the default for SELinux is _______________ (which can be changed after the installation completes). For Red Hat Enterprise Linux 5 - you were able to choose what mode you wanted SELinux to start in.
via the command line
DNS uses port 53.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
Enforcing during installation
42. How do you run a command with elevated privileges?
generates errors under Red Hat Enterprise Linux 6
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The virsh command is used to manage virtual guests.
43. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
amount of RAM
SELinux provides enhanced granular security for the Linux operating system.
By default - the rndc utility listens on port 953.
alternatives --config mta
44. 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
45. Samba servers can...
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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 three utilities are: route - ping - and nslookup.
serve both files and printers to users
46. What command displays your current interfaces and IP address?
ifconfig
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 du and df commands are used to view available space on the system.
The two main config files are master.cf and main.cf.
47. You must dictate the ____________ you want allocated to your virtual machine when you create it.
You must open TCP ports 20 and 21 for the FTP server to function properly.
amount of RAM
The print option is used with both the fdisk and parted commands to display the current partition tables.
entering rescue mode and repairing the problem.
48. What command and option can you use to enable a service to start on boot?
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
kickstart installations to work
The vsftpd package is used to install an FTP server.
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.
49. What command can you use to view system processes and their CPU usage?
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.
chkconfig xinetd --list
Use the ps command to view processes and their CPU usage.
The smbstatus command shows you currently mounted Samba resources.
50. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
rpcbind service
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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