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 are the two config files for Postfix called?
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.
Using the chcon command - you can change the context of a file to work with Apache.
The -t nfs option is used with the mount command to mount NFS resources.
The two main config files are master.cf and main.cf.
2. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
alternatives --config mta
A virtual host is a way of hosting multiple sites using a single IP address.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
3. How would you install a group of packages all at a single time?
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.
Use the yum groupinstall command to install multiple packages in a single group at once.
4. A service needs to have _______________ to be able to use it.
By defining a %post section - you can run scripts after a kickstart installation is complete.
support for TCP Wrappers
The DHCP server listens on port 67 by default.
Using the chcon command - you can change the context of a file to work with Apache.
5. What does virsh reboot Client04 do?
This command reboots virtual guest Client04.
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
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.
6. What is PAM used for?
The service command is used to start - stop - and manage system services.
The user_list file can be used to limit which users have access to the FTP server.
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.
enabled by default
7. Before you work with ACLs - what do you need to do to the file system?
useradd -c "Jr Admin" George
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 virsh command is used to manage virtual guests.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
8. What command and option do you use to view the description of Boolean values?
Use the route command with the add option to create a static route.
semanage boolean -l
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
9. What command-line program can you use to check your mail?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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.
Typing the mail or mutt command allows you to read mail from the command line.
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.
10. What command can you use to create a new SSL certificate?
Physical volumes - volume groups - and logical volumes.
The NFS service uses TCP port 2049 by default.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
11. How can you verify the status of the SSH service after the system has booted?
entering rescue mode and repairing the problem.
service sshd statuts
alternatives --config mta
This command reboots virtual guest Client04.
12. What command would you use to create a group - to add the user George to the group?
The tcpdump command is used to monitor network connections on different interfaces.
mkfs.ext4
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 groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
13. What does it mean if you ping a host and you receive the response Destination Unreachable?
Use the ps command to view processes and their CPU usage.
cat /proc/mdstat
load balancing and redundancy benefits
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
14. What command can be used to easily list all the options in the FTP main config file?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
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.
The ping command can be used to verify connectivity to another host.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
15. The ____________ is available for each share.
mkfs.ext4
browseable option
Physical volumes - volume groups - and logical volumes.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
16. What command disables the SSH service from running when the system boots?
chkconfig sshd off
The smbstatus command shows you currently mounted Samba resources.
getfacl
The NFS service uses TCP port 2049 by default.
17. What command can you use to test the config files before starting the DNS service?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
service named configtest
A virtual host is a way of hosting multiple sites using a single IP address.
atq
18. What option would you use to query an installed package using the rpm command?
amount of RAM
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
atq
19. How can you change the security context of a directory to work with Apache?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
used for kickstart and/or network installs
Typing the mail or mutt command allows you to read mail from the command line.
Using the chcon command - you can change the context of a file to work with Apache.
20. What port does the Apache web server run on - What about HTTPS?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The rpm command can operate in install - query - or verify modes.
The NFS service uses TCP port 2049 by default.
21. What command can you use to validate the syntax of the Apache config file?
service httpd configtest
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.
chcon
22. 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.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
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.
The service command is used to start - stop - and manage system services.
23. 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
24. What command can you use to view system processes and their CPU usage?
The three utilities are: route - ping - and nslookup.
The rpm command can operate in install - query - or verify modes.
SELinux provides enhanced granular security for the Linux operating system.
Use the ps command to view processes and their CPU usage.
25. 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
26. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
rpmbuild
via the command line
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
27. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The dig - host - and ping commands can be used to test DNS server functionality.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
28. What command can you use to change the context of files?
cat /proc/mdstat
chcon
The smbpasswd command is used to create Samba users.
DNS uses port 53.
29. What happens if you call the command from question 3 with the -c option after it has already been run?
user's home directory in the /etc/skel directory
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
ifconfig
DNS uses port 53.
30. What are SELinux Booleans?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
SELinux Booleans provide restrictions to different aspects of a service.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
This chapter described tdbsm and smbpasswd back-end authentication.
31. What is SSH used for?
export one or all resources
generates errors under Red Hat Enterprise Linux 6
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
SSH is used for secure remote management of Linux systems.
32. How can you display all virtual guests after they're connected to a hypervisor?
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
Apache uses port 80 for HTTP and port 443 for HTTPS.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
Sendmail
33. What port must be opened on the firewall for DNS?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
kickstart installations to work
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.
DNS uses port 53.
34. What file needs to be edited so that the system will mount a file system at boot time?
Apache uses port 80 for HTTP and port 443 for HTTPS.
The vsftpd package is used to install an FTP server.
The /etc/fstab file.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
35. What are the three different types of RAID described in this chapter?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The -t nfs option is used with the mount command to mount NFS resources.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
36. What is a virtual host?
SELinux provides enhanced granular security for the Linux operating system.
A virtual host is a way of hosting multiple sites using a single IP address.
alternatives --config mta
amount of RAM
37. Where are Yum repository config files located?
alternatives --config mta
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.
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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
38. What three protocols can you use to perform network installations?
schedule one-time-only jobs
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
39. A slave DNS server provides...
load balancing and redundancy benefits
The htpasswd command can be used to password-protect a web page.
rpcbind service
Apache uses port 80 for HTTP and port 443 for HTTPS.
40. 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
41. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
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.
Version 2 is the latest and most secure version of SSH.
You add your action to the end of the /home/user01/.bashrc file.
By default - Squid runs on port 3128.
42. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
The DHCP server listens on port 67 by default.
Enforcing during installation
halts the system
The ping command can be used to verify connectivity to another host.
43. What command do you use to change the permissions on a file or directory - To change ownership?
chcon
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 mount command lists all currently mounted file systems.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
44. 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
45. What port on the firewall needs to be open for the TFTP server to work?
The rndc utility provides a method for managing the DNS server remotely and securely.
The TFTP server uses UDP port 69.
createrepo
entering rescue mode and repairing the problem.
46. What command can you use to create a password-protected page?
entering rescue mode and repairing the problem.
The rndc utility provides a method for managing the DNS server remotely and securely.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The htpasswd command can be used to password-protect a web page.
47. What are the two types of back-end authentication mechanisms discussed in this chapter?
cat /proc/mdstat
Use the route command with the add option to create a static route.
This chapter described tdbsm and smbpasswd back-end authentication.
halts the system
48. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
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 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.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
49. What command displays your current interfaces and IP address?
The SMTP service runs on TCP port 110.
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
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.
ifconfig
50. What is the biggest benefit to using LVM over basic partitions?
By default - Squid runs on port 3128.
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.
service sshd statuts
Use the yum groupinstall command to install multiple packages in a single group at once.
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