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 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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The ping command can be used to verify connectivity to another host.
schedule one-time-only jobs
2. What command can you use to test the config files before starting the DNS service?
service named configtest
The htpasswd command can be used to password-protect a web page.
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.
3. What file is used to maintain custom parameters for the kernel during system boot?
Use the yum groupinstall command to install multiple packages in a single group at once.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
serve both files and printers to users
You can use the remove or erase options with yum to remove a package.
4. What port must be opened on the firewall for DNS?
DNS uses port 53.
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.
chkconfig sshd off
support for TCP Wrappers
5. What is the main config file for the DHCP service?
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 supports both basic and advanced partitioning (RAID/LVM).
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The htpasswd command can be used to password-protect a web page.
6. What is the name of the section used to run scripts after a kickstart installation?
By default - the rndc utility listens on port 953.
enabled by default
By defining a %post section - you can run scripts after a kickstart installation is complete.
The /etc/fstab file.
7. What is the default port that Squid runs on?
atq
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
used for kickstart and/or network installs
By default - Squid runs on port 3128.
8. How would you view all Boolean options for the HTTP service?
This chapter described tdbsm and smbpasswd back-end authentication.
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.
getsebool -a | grep http
The dig - host - and ping commands can be used to test DNS server functionality.
9. What client-side command can you use to test your FTP server connection?
user's home directory in the /etc/skel directory
The lftp command can be used on a client to test FTP server connections.
The four types of DNS servers are master - slave - caching-only - and forwarding.
service named configtest
10. The ____________ is available for each share.
run on any port you'd like (provided that port is available)
browseable option
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.
SELinux provides enhanced granular security for the Linux operating system.
11. To grow a file system
Enforcing during installation
service httpd configtest
rpcbind service
Use the resize2fs command to grow a file system.
12. 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
13. What command and option do you use to view the description of Boolean values?
semanage boolean -l
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
Physical volumes - volume groups - and logical volumes.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
14. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
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.
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.
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.
used for kickstart and/or network installs
15. What is VNC?
Use the ps command to view processes and their CPU usage.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
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.
VNC is used to control a remote desktop session.
16. What three protocols can you use to perform network installations?
user's home directory in the /etc/skel directory
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.
service named configtest
Network installations can be performed using the HTTP - FTP - and NFS protocols.
17. What are the three items that make up LVM?
The nfsstat command can be used to view NFS statistics.
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.
Physical volumes - volume groups - and logical volumes.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
18. 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
19. Does a DHCP server allow reserved IP addresses - If so - how?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
The service command is used to start - stop - and manage system services.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
service httpd configtest
20. What option is used to allow anonymous uploads to the FTP server?
createrepo
The dig - host - and ping commands can be used to test DNS server functionality.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
21. GRUB has three stages. Can you name them?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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 rdnc-confgen command generates an rndc.conf file for the rndc utility.
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.
22. What command would you use to create a group - to add the user George to the group?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
user's home directory in the /etc/skel directory
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
23. What command disables the SSH service from running when the system boots?
atq
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
You can use the remove or erase options with yum to remove a package.
chkconfig sshd off
24. Place all files you want added to a _______________ during creation.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. What happens to jobs that are scheduled to run while the system is off?
entering rescue mode and repairing the problem.
VNC is used to control a remote desktop session.
The du and df commands are used to view available space on the system.
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.
26. What port does the rndc utility listen on by default?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
schedule one-time-only jobs
By default - the rndc utility listens on port 953.
27. Which version of SSH should you use?
Version 2 is the latest and most secure version of SSH.
The du and df commands are used to view available space on the system.
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.
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.
28. What does the partprobe command do?
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 command reboots virtual guest Client04.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
service httpd configtest
29. What is the xinetd service used for?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The smbstatus command shows you currently mounted Samba resources.
30. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
service dhcpd configtest
alternatives --config mta
You add your action to the end of the /home/user01/.bashrc file.
31. What command can you use to view NFS statistics?
The dig - host - and ping commands can be used to test DNS server functionality.
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 nfsstat command can be used to view NFS statistics.
run on any port you'd like (provided that port is available)
32. What is PAM used for?
getsebool -a | grep http
The mount command lists all currently mounted file systems.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
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.
33. What command can you use to create a file system?
halts the system
getfacl
mkfs.ext4
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
34. What command is used to create a user for Samba?
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
The smbpasswd command is used to create Samba users.
You can use the authconfig-tui command or the authconfig command.
used for kickstart and/or network installs
35. What are the two types of back-end authentication mechanisms discussed in this chapter?
This chapter described tdbsm and smbpasswd back-end authentication.
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.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The two main config files are master.cf and main.cf.
36. What are the three different types of RAID described in this chapter?
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.
you have access to the correct packages or repositories.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
37. What command do you use to change the permissions on a file or directory - To change ownership?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
rpmbuild
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.
38. What commands can you use to add a client machine to an LDAP server?
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.
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
You can use the authconfig-tui command or the authconfig command.
39. What command and options can you use to update the time?
You add your action to the end of the /home/user01/.bashrc file.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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
40. How can you verify the status of the SSH service after the system has booted?
The print option is used with both the fdisk and parted commands to display the current partition tables.
You must open TCP ports 20 and 21 for the FTP server to function properly.
service sshd statuts
useradd -c "Jr Admin" George
41. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
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.
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.
serve both files and printers to users
The yum and rpm commands are used for package management.
42. What is the format of the /etc/shadow file?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
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 format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
43. What command can you use to create a new SSL certificate?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
SELinux Booleans provide restrictions to different aspects of a service.
Use the top command to view CPU and memory usage.
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.
44. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
Use the setgid flag to create the appropriate permissions (chmod 2770).
kickstart installations to work
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
chkconfig—list
45. Before you work with ACLs - what do you need to do to the file system?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
chkconfig xinetd --list
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
46. What options with the yum command would you use to remove a package?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
You can use the remove or erase options with yum to remove a package.
rpcbind service
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
47. What option is used with both the fdisk and parted commands to display the current partition tables?
This chapter described tdbsm and smbpasswd back-end authentication.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The print option is used with both the fdisk and parted commands to display the current partition tables.
48. 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
49. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
run on any port you'd like (provided that port is available)
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
LUKS encryption
Sendmail
50. What is the virsh command used for?
The smbstatus command shows you currently mounted Samba resources.
The virsh command is used to manage virtual guests.
The user_list file can be used to limit which users have access to the FTP server.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
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