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 happens to jobs that are scheduled to run while the system is off?
The -t nfs option is used with the mount command to mount NFS resources.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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.
Physical volumes - volume groups - and logical volumes.
2. What command do you use to change the permissions on a file or directory - To change ownership?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The /etc/fstab file.
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 dig - host - and ping commands can be used to test DNS server functionality.
3. What benefit does a web proxy provide to your network?
The rpm command can operate in install - query - or verify modes.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
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.
4. What port must be opened on the firewall for DNS?
chkconfig xinetd --list
DNS uses port 53.
The service command is used to start - stop - and manage system services.
The smbstatus command shows you currently mounted Samba resources.
5. 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
6. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
The print option is used with both the fdisk and parted commands to display the current partition tables.
rpcbind service
The four types of DNS servers are master - slave - caching-only - and forwarding.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
7. 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
8. What three protocols can you use to perform network installations?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
Use the resize2fs command to grow a file system.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
9. What port does the SMTP service run on?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The SMTP service runs on TCP port 110.
The smbstatus command shows you currently mounted Samba resources.
10. Which version of SSH should you use?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
amount of RAM
Version 2 is the latest and most secure version of SSH.
The NFS service uses TCP port 2049 by default.
11. What are the five required directories when building RPMS?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
Using the chcon command - you can change the context of a file to work with Apache.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
12. What command can you use to view mounted Samba shares?
The virsh command is used to manage virtual guests.
Using the chcon command - you can change the context of a file to work with Apache.
SSH is used for secure remote management of Linux systems.
The smbstatus command shows you currently mounted Samba resources.
13. Can you name three utilities that can be used for network or DNS client troubleshooting?
The /var/log/audit/audit.log file contains all policy violations.
service named configtest
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.
The three utilities are: route - ping - and nslookup.
14. What does it mean if you ping a host and you receive the response Destination Unreachable?
The virsh command is used to manage virtual guests.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
chkconfig xinetd --list
15. To create a RAID or LVM partition using kickstart
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
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 DHCP server listens on port 67 by default.
16. What is the name of the package used to install an FTP?
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 vsftpd package is used to install an FTP server.
rpcbind service
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
17. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
alternatives --config mta
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.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
18. What are the three different types of RAID described in this chapter?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
defining a %pre section although it is rarely used
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
19. 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.
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
chcon
20. What is the xinetd service used for?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
you have access to the correct packages or repositories.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
service sshd statuts
21. What command can you use to check the config file of the DHCP server?
choose which mode you'd like it to operate in
you have access to the correct packages or repositories.
service dhcpd configtest
Kickstart supports both basic and advanced partitioning (RAID/LVM).
22. What two ports should be opened on the firewall for the FTP server to function properly?
You must open TCP ports 20 and 21 for the FTP server to function properly.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
23. What three components are needed to fully automate a kickstart installation?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
Apache uses port 80 for HTTP and port 443 for HTTPS.
createrepo
24. What file is used to maintain custom parameters for the kernel during system boot?
Use the ps command to view processes and their CPU usage.
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 /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
25. 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.
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.
For Apache to run a secure site - the mod_ssl package is required to be installed.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
26. What command can you use to view system processes and their CPU usage?
The three utilities are: route - ping - and nslookup.
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.
Use the ps command to view processes and their CPU usage.
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.
27. What command can you use to change the context of files?
via the command line
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
chcon
This chapter described tdbsm and smbpasswd back-end authentication.
28. What command disables the SSH service from running when the system boots?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
Enforcing during installation
chkconfig sshd off
The vsftpd package is used to install an FTP server.
29. What commands can you use to add a client machine to an LDAP server?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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.
You can use the authconfig-tui command or the authconfig command.
The mount command lists all currently mounted file systems.
30. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
This command reboots virtual guest Client04.
Using the chcon command - you can change the context of a file to work with Apache.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
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.
31. What command is used to create a user for Samba?
The smbpasswd command is used to create Samba users.
alternatives --config mta
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
amount of RAM
32. 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
33. What is the superblock used for?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
You add your action to the end of the /home/user01/.bashrc file.
user's home directory in the /etc/skel directory
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.
34. How can virtual hosts be used?
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.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
By default - Squid runs on port 3128.
The smbstatus command shows you currently mounted Samba resources.
35. What command-line program can you use to check your mail?
service named configtest
LUKS encryption
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.
Typing the mail or mutt command allows you to read mail from the command line.
36. What is the format of the /etc/shadow file?
getsebool -a | grep http
The file that stores usernames and their encrypted passwords is erased and replaced with a new 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.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
37. GRUB has three stages. Can you name them?
The dig - host - and ping commands can be used to test DNS server functionality.
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
amount of RAM
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.
38. What does virsh reboot Client04 do?
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.
This command reboots virtual guest Client04.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
DNS uses port 53.
39. What command can you use to create a file system?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
mkfs.ext4
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The lftp command can be used on a client to test FTP server connections.
40. What is the default port that Squid runs on?
atq
By default - Squid runs on port 3128.
repquota
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.
41. What client-side command can you use to test your FTP server connection?
The lftp command can be used on a client to test FTP server connections.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The print option is used with both the fdisk and parted commands to display the current partition tables.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
42. What protocols are used with Dovecot?
Use the route command with the add option to create a static route.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
43. What command can you use to query Boolean values?
getsebool
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The /var/log/audit/audit.log file contains all policy violations.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
44. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
chkconfig xinetd --list
entering rescue mode and repairing the problem.
rpcbind service
45. A service needs to have _______________ to be able to use it.
The lastlog and faillog commands are used to view user login-related events?
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.
support for TCP Wrappers
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
46. What are the side effects of shrinking a volume group or logical volume?
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
Typing the mail or mutt command allows you to read mail from the command line.
The four types of DNS servers are master - slave - caching-only - and forwarding.
47. Does a DHCP server allow reserved IP addresses - If so - how?
For Apache to run a secure site - the mod_ssl package is required to be installed.
Use the resize2fs command to grow a file system.
The -t nfs option is used with the mount command to mount NFS resources.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
48. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
VNC is used to control a remote desktop session.
By defining a %post section - you can run scripts after a kickstart installation is complete.
The du and df commands are used to view available space on the system.
49. What command is used to create an RPM package?
The ping command can be used to verify connectivity to another host.
kickstart installations to work
The du and df commands are used to view available space on the system.
rpmbuild
50. Are additional packages besides httpd required for a secure website - If so - what are they?
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).
Use the route command with the add option to create a static route.
The TFTP server uses UDP port 69.
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