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. Can you name three utilities that can be used for network or DNS client troubleshooting?
The three utilities are: route - ping - and nslookup.
The smbpasswd command is used to create Samba users.
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.
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.
2. Through its main config file - SSH can be configured to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
3. Samba servers can...
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.
serve both files and printers to users
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
useradd -c "Jr Admin" George
4. 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.
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
Apache uses port 80 for HTTP and port 443 for HTTPS.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
5. What benefit does a web proxy provide to your network?
browseable option
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Use the ps command to view processes and their CPU usage.
chkconfig sshd off
6. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
getsebool -a | grep http
Sendmail
The smbpasswd command is used to create Samba users.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
7. A slave DNS server provides...
amount of RAM
Use the ps command to view processes and their CPU usage.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
load balancing and redundancy benefits
8. What port does NFS use by default?
The mount command lists all currently mounted file systems.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The NFS service uses TCP port 2049 by default.
The -t nfs option is used with the mount command to mount NFS resources.
9. What command can you use to monitor and troubleshoot network connections?
The tcpdump command is used to monitor network connections on different interfaces.
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.
chkconfig sshd off
Apache uses port 80 for HTTP and port 443 for HTTPS.
10. The portmap service was replaced by the ______________ in 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.
SELinux Booleans provide restrictions to different aspects of a service.
rpcbind service
The NFS service uses TCP port 2049 by default.
11. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
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.
support for TCP Wrappers
Physical volumes - volume groups - and logical volumes.
Use the setgid flag to create the appropriate permissions (chmod 2770).
12. What is the top command 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.
load balancing and redundancy benefits
Use the top command to view CPU and memory usage.
browseable option
13. What option is used with both the fdisk and parted commands to display the current partition tables?
The print option is used with both the fdisk and parted commands to display the current partition tables.
service dhcpd configtest
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.
Version 2 is the latest and most secure version of SSH.
14. A service needs to have _______________ to be able to use it.
user's home directory in the /etc/skel directory
getfacl
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
support for TCP Wrappers
15. 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.
chcon
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 three utilities are: route - ping - and nslookup.
16. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
The ping command can be used to verify connectivity to another host.
user's home directory in the /etc/skel directory
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The /etc/fstab file.
17. To export directories as resources - what file needs to be edited?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
You can use the authconfig-tui command or the authconfig command.
have the same effect
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.
19. What port must be opened on the firewall for DNS?
The service command is used to start - stop - and manage system services.
DNS uses port 53.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
20. How can you check the currently mounted file systems?
The dig - host - and ping commands can be used to test DNS server functionality.
The mount command lists all currently mounted file systems.
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.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
21. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
SELinux Booleans provide restrictions to different aspects of a service.
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.
service dhcpd configtest
22. What is the /etc/vsftpd/user_list file used for?
The ping command can be used to verify connectivity to another host.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The user_list file can be used to limit which users have access to the FTP server.
mkfs.ext4
23. What is the format of the /etc/shadow file?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
Enforcing during installation
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
24. What command is used to create a user for Samba?
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 smbpasswd command is used to create Samba users.
serve both files and printers to users
25. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
SSH is used for secure remote management of Linux systems.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
chkconfig xinetd --list
26. What command can you use to create your own repositories?
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.
support TCP Wrappers
createrepo
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
27. Where are Yum repository config files located?
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.
useradd -c "Jr Admin" George
choose which mode you'd like it to operate in
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.
28. What happens if you call the command from question 3 with the -c option after it has already been run?
The mount command lists all currently mounted file systems.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
Use the yum groupinstall command to install multiple packages in a single group at once.
29. What option at the GRUB boot menu can you use to append something to a kernel?
SSH is used for secure remote management of Linux systems.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The TFTP server uses UDP port 69.
30. Can you put your /boot partition on a RAID 5 array?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The two main config files are master.cf and main.cf.
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.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
31. What commands can you use to add a client machine to an LDAP server?
run on any port you'd like (provided that port is available)
The nfsstat command can be used to view NFS statistics.
alternatives --config mta
You can use the authconfig-tui command or the authconfig command.
32. Before you work with quotas - what do you need to do to the file system?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
33. What is the biggest benefit to using LVM over basic partitions?
service sshd statuts
getsebool
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.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
34. What command would you use to create a group - to add the user George to the group?
repquota
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.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The vsftpd package is used to install an FTP server.
35. What command can you use to view the current ACL on a file?
getfacl
alternatives --config mta
amount of RAM
SELinux Booleans provide restrictions to different aspects of a service.
36. How would you disable SELinux protection for NFS - allowing shares to be read/write?
setsebool -P nfs_export_all_rw=1
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.
service httpd configtest
service dhcpd configtest
37. What two commands are used for package management?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The yum and rpm commands are used for package management.
Sendmail
38. What are the two config files for Postfix called?
Use the setgid flag to create the appropriate permissions (chmod 2770).
ifconfig
The two main config files are master.cf and main.cf.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
39. What command can you use to create a password-protected page?
The vsftpd package is used to install an FTP server.
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 /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The htpasswd command can be used to password-protect a web page.
40. What command can be used to view the queue for at service jobs?
atq
halts the system
user's home directory in the /etc/skel directory
amount of RAM
41. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
used for kickstart and/or network installs
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
service named configtest
useradd -c "Jr Admin" George
42. What is the name of the package used to install an FTP?
The vsftpd package is used to install an FTP server.
The htpasswd command can be used to password-protect a web page.
Enforcing during installation
The smbpasswd command is used to create Samba users.
43. Do you need to write changes to the disk when using the parted command? What about fdisk?
VNC is used to control a remote desktop session.
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.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
44. Most boot issues can be resolved by...
entering rescue mode and repairing the problem.
Enforcing during installation
Using the chcon command - you can change the context of a file to work with Apache.
chkconfig xinetd --list
45. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
getfacl
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.
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 user_list file can be used to limit which users have access to the FTP server.
46. What command do you use to change the permissions on a file or directory - To change ownership?
Use the setgid flag to create the appropriate permissions (chmod 2770).
chcon
kickstart installations to work
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.
47. What command can you use to validate the syntax of the Apache config file?
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.
rpmbuild
Use the resize2fs command to grow a file system.
service httpd configtest
48. What command is used to create an RPM package?
rpmbuild
atq
The lftp command can be used on a client to test FTP server connections.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
49. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
rpmbuild
via the command line
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
You can use the remove or erase options with yum to remove a package.
50. What port does the DHCP server listen on by default?
The DHCP server listens on port 67 by default.
This command reboots virtual guest Client04.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
By default - Squid runs on port 3128.
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