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 /etc/vsftpd/user_list file used for?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
SELinux provides enhanced granular security for the Linux operating system.
The user_list file can be used to limit which users have access to the FTP server.
lvdisplay
2. 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
3. What port does the Apache web server run on - What about HTTPS?
getsebool -a | grep http
Apache uses port 80 for HTTP and port 443 for HTTPS.
The -t nfs option is used with the mount command to mount NFS resources.
chkconfig—list
4. What command can you use to validate the syntax of the Apache config file?
service httpd configtest
Typing the mail or mutt command allows you to read mail from the command line.
The rndc utility provides a method for managing the DNS server remotely and securely.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
5. Does a DHCP server allow reserved IP addresses - If so - how?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
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
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
6. How do you run a command with elevated privileges?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
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.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
getsebool -a | grep http
7. Should you allow remote root access - Why or why not?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
8. What command can be used to view the queue for at service jobs?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
atq
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
kickstart installations to work
9. What three protocols can you use to perform network installations?
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 du and df commands are used to view available space on the system.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
halts the system
10. What is the difference between an A record and a PTR record?
atq
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
have the same effect
you have access to the correct packages or repositories.
11. What command is used to create an RPM package?
service named configtest
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
generates errors under Red Hat Enterprise Linux 6
rpmbuild
12. What command can you use to view NFS statistics?
The /etc/fstab file.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The nfsstat command can be used to view NFS statistics.
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
13. 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
14. What command disables the SSH service from running when the system boots?
createrepo
chkconfig sshd off
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
15. What port does the SMTP service run on?
The SMTP service runs on TCP port 110.
Enforcing during installation
chcon
The print option is used with both the fdisk and parted commands to display the current partition tables.
16. What is SSH used for?
VNC is used to control a remote desktop session.
The TFTP server uses UDP port 69.
have the same effect
SSH is used for secure remote management of Linux systems.
17. What is the virsh command used for?
Apache uses port 80 for HTTP and port 443 for HTTPS.
The virsh command is used to manage virtual guests.
The rpm command can operate in install - query - or verify modes.
The print option is used with both the fdisk and parted commands to display the current partition tables.
18. What two ports should be opened on the firewall for the FTP server to function properly?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
You must open TCP ports 20 and 21 for the FTP server to function properly.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
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.
19. What is the biggest benefit to using LVM over basic partitions?
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
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.
This chapter described tdbsm and smbpasswd back-end authentication.
The dig - host - and ping commands can be used to test DNS server functionality.
20. What protocols are used with Dovecot?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The virsh command is used to manage virtual guests.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
LUKS encryption
21. Which remote management service is installed by default?Can you name the port that it uses?
Sendmail
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.
By default - Squid runs on port 3128.
22. How can you list all services on the system to tell whether they will boot during startup?
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—list
Enforcing during installation
createrepo
23. What command can you use to change the context of files?
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.
You can use the authconfig-tui command or the authconfig command.
chcon
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
24. What is a swap? Is it created as a partition or device file?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The lftp command can be used on a client to test FTP server 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.
You can use the remove or erase options with yum to remove a package.
25. 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
26. What option is used to allow anonymous uploads to the FTP server?
The rpm command can operate in install - query - or verify modes.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
you have access to the correct packages or repositories.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
27. What command can you use to test the config files before starting the DNS service?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
Use the resize2fs command to grow a file system.
service named configtest
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
28. What does the partprobe command do?
SSH is used for secure remote management of Linux systems.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
mkfs.ext4
Typing the mail or mutt command allows you to read mail from the command line.
29. Which version of SSH should you use?
Use the ps command to view processes and their CPU usage.
generates errors under Red Hat Enterprise Linux 6
The tcpdump command is used to monitor network connections on different interfaces.
Version 2 is the latest and most secure version of SSH.
30. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The tcpdump command is used to monitor network connections on different interfaces.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
alternatives --config mta
The vsftpd package is used to install an FTP server.
31. What port on the firewall needs to be open for the TFTP server to work?
service httpd configtest
The TFTP server uses UDP port 69.
kickstart installations to work
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
32. How would you go about creating a static route?
This chapter described tdbsm and smbpasswd back-end authentication.
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.
Use the route command with the add option to create a static route.
used for kickstart and/or network installs
33. Before you work with quotas - what do you need to do to the file system?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
Use the setgid flag to create the appropriate permissions (chmod 2770).
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.
ifconfig
34. What is the main config file for the DHCP service?
Use the resize2fs command to grow a file system.
The NFS service uses TCP port 2049 by default.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
setsebool -P nfs_export_all_rw=1
35. What command displays your current interfaces and IP address?
ifconfig
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The service command is used to start - stop - and manage system services.
36. What is the point of using SELinux?
Use the yum groupinstall command to install multiple packages in a single group at once.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
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.
37. 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.
ifconfig
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
A user's home directory is created under the /home directory.
38. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
The lastlog and faillog commands are used to view user login-related events?
The rndc utility provides a method for managing the DNS server remotely and securely.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
enabled by default
39. What is the /var/lib/nfs/etab file used for?
Sendmail
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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.
Use the top command to view CPU and memory usage.
40. How can you verify the status of the SSH service after the system has booted?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
SSH is used for secure remote management of Linux systems.
schedule one-time-only jobs
service sshd statuts
41. Do you need to write changes to the disk when using the parted command? What about fdisk?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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 top command to view CPU and memory usage.
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.
42. What command do you use to change the permissions on a file or directory - To change ownership?
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.
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
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 /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
43. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
amount of RAM
The rndc utility provides a method for managing the DNS server remotely and securely.
Sendmail
support TCP Wrappers
44. What is VNC?
Typing the mail or mutt command allows you to read mail from the command line.
The -t nfs option is used with the mount command to mount NFS resources.
VNC is used to control a remote desktop session.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
45. To grow a file system
Use the resize2fs command to grow a file system.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
You can use the authconfig-tui command or the authconfig command.
The htpasswd command can be used to password-protect a web page.
46. What is the name of the section used to run scripts after a kickstart installation?
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.
By defining a %post section - you can run scripts after a kickstart installation is complete.
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 /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
47. 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
48. How can virtual hosts be used?
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
serve both files and printers to users
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.
49. What command can you use to create a password-protected page?
The htpasswd command can be used to password-protect a web page.
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
The NFS service uses TCP port 2049 by default.
50. What command can you use to create your own repositories?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
export one or all resources
createrepo
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
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