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 benefit to using centralized authentication?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. What does the testparm command do?
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.
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 testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
3. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
Use the top command to view CPU and memory usage.
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.
alternatives --config mta
4. The package selection screen allows you to install any software you want during the installation process as long as...
run on any port you'd like (provided that port is available)
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
The smbpasswd command is used to create Samba users.
you have access to the correct packages or repositories.
5. What command can you use to query Boolean values?
The tcpdump command is used to monitor network connections on different interfaces.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
A virtual host is a way of hosting multiple sites using a single IP address.
getsebool
6. How would you go about creating a static route?
The du and df commands are used to view available space on the system.
Use the route command with the add option to create a static route.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
ifconfig
7. What three components are needed to fully automate a kickstart installation?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
SELinux Booleans provide restrictions to different aspects of a service.
The vsftpd package is used to install an FTP server.
8. What options with the yum command would you use to remove a package?
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.
choose which mode you'd like it to operate in
You can use the remove or erase options with yum to remove a package.
Enforcing during installation
9. What command can you use to view the current ACL on a file?
have the same effect
You can use the authconfig-tui command or the authconfig command.
The htpasswd command can be used to password-protect a web page.
getfacl
10. The exportfs command is used to...
export one or all resources
support TCP Wrappers
You add your action to the end of the /home/user01/.bashrc 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.
11. What command can you use to test connectivity to another host?
The ping command can be used to verify connectivity to another host.
getsebool
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
chkconfig sshd off
12. There are four types of DNS servers. Name them.
The four types of DNS servers are master - slave - caching-only - and forwarding.
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.
generates errors under Red Hat Enterprise Linux 6
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
13. What is the top command used for?
chkconfig xinetd --list
Network installations can be performed using the HTTP - FTP - and NFS protocols.
Use the top command to view CPU and memory usage.
You must open TCP ports 20 and 21 for the FTP server to function properly.
14. What is the biggest benefit to using LVM over basic partitions?
The TFTP server uses UDP port 69.
The /etc/fstab file.
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.
Use the top command to view CPU and memory usage.
15. Can you name the two commands that can be used to view the free space on the system?
The du and df commands are used to view available space on the system.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The lastlog and faillog commands are used to view user login-related events?
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
16. What command can you use to view mounted Samba shares?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
A virtual host is a way of hosting multiple sites using a single IP address.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
The smbstatus command shows you currently mounted Samba resources.
17. What command can you use to create your own repositories?
repquota
Network installations can be performed using the HTTP - FTP - and NFS protocols.
createrepo
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.
18. What command disables the SSH service from running when the system boots?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
A virtual host is a way of hosting multiple sites using a single IP address.
chkconfig sshd off
19. What command can you use to create a new SSL certificate?
By default - Squid runs on port 3128.
LUKS encryption
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
Apache uses port 80 for HTTP and port 443 for HTTPS.
20. What command is used to create an RPM package?
The virsh command is used to manage virtual guests.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The yum and rpm commands are used for package management.
rpmbuild
21. What command do you use to change the permissions on a file or directory - To change ownership?
entering rescue mode and repairing the problem.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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.
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.
22. What command do you use to report information on quota usage?
createrepo
semanage boolean -l
repquota
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
23. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
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.
rpcbind service
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
LUKS encryption
24. How can you verify the status of the SSH service after the system has booted?
atq
service sshd statuts
Use the setgid flag to create the appropriate permissions (chmod 2770).
kickstart installations to work
25. What is the last rule in the iptables file?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
26. What command can you use to check the config file of the DHCP server?
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
service dhcpd configtest
support for TCP Wrappers
The three utilities are: route - ping - and nslookup.
27. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
You add your action to the end of the /home/user01/.bashrc file.
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.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
28. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
You add your action to the end of the /home/user01/.bashrc file.
The three utilities are: route - ping - and nslookup.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
29. What is the default port that Squid runs on?
atq
By default - Squid runs on port 3128.
used for kickstart and/or network installs
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.
30. What command can you use to view system processes and their CPU usage?
The yum and rpm commands are used for package management.
Use the ps command to view processes and their CPU usage.
Sendmail
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
31. What two commands are used for package management?
The yum and rpm commands are used for package management.
The three utilities are: route - ping - and nslookup.
The lastlog and faillog commands are used to view user login-related events?
The -t nfs option is used with the mount command to mount NFS resources.
32. How can you change the security context of a directory to work with Apache?
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.
You add your action to the end of the /home/user01/.bashrc file.
Using the chcon command - you can change the context of a file to work with Apache.
This command reboots virtual guest Client04.
33. What command and option do you use to view the description of Boolean values?
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.
semanage boolean -l
VNC is used to control a remote desktop session.
34. What is the name of the package that allows you to install VNC?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP 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.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
35. What command would you use to create a group - to add the user George to the group?
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
SELinux provides enhanced granular security for the Linux operating system.
Sendmail
36. What is the /var/lib/nfs/etab file used for?
repquota
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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/dhcp/dhcpd.conf file is the main config file for the DHCP service.
37. What is 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.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
VNC is used to control a remote desktop session.
you have access to the correct packages or repositories.
38. Samba servers can...
serve both files and printers to users
DNS uses port 53.
The NFS service uses TCP port 2049 by default.
support for TCP Wrappers
39. What is a virtual host?
The yum and rpm commands are used for package management.
A virtual host is a way of hosting multiple sites using a single IP address.
You must open TCP ports 20 and 21 for the FTP server to function properly.
SELinux Booleans provide restrictions to different aspects of a service.
40. By default - what is the path to a user's home directory?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. What command can you use to create a password-protected page?
enabled by default
run on any port you'd like (provided that port is available)
The htpasswd command can be used to password-protect a web page.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
42. A PXE server eases the automation process but isn't required for...
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The smbpasswd command is used to create Samba users.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
kickstart installations to work
43. What are the two config files for Postfix called?
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
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 two main config files are master.cf and main.cf.
44. What option is used to allow anonymous uploads to the FTP server?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
45. What critical step must you take after updating the kernel to a newer version?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The htpasswd command can be used to password-protect a web page.
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.
46. What file is used to maintain custom parameters for the kernel during system boot?
via the command line
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
47. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
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.
The nfsstat command can be used to view NFS statistics.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
48. What command can you use to query information from the kernel about RAID arrays?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
SELinux provides enhanced granular security for the Linux operating system.
cat /proc/mdstat
49. What two ports should be opened on the firewall for the FTP server to function properly?
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.
Enforcing during installation
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.
You must open TCP ports 20 and 21 for the FTP server to function properly.
50. Does a DHCP server allow reserved IP addresses - If so - how?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
Use the resize2fs command to grow a file system.
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