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 command can you use to create a new SSL certificate?
The nfsstat command can be used to view NFS statistics.
DNS uses port 53.
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.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
2. GRUB has three stages. Can you name them?
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
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.
support for TCP Wrappers
This command reboots virtual guest Client04.
3. What port does the DHCP server listen on by default?
LUKS encryption
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
user's home directory in the /etc/skel directory
The DHCP server listens on port 67 by default.
4. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
Enforcing during installation
This command reboots virtual guest Client04.
The smbpasswd command is used to create Samba users.
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. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
The lastlog and faillog commands are used to view user login-related events?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
user's home directory in the /etc/skel directory
You add your action to the end of the /home/user01/.bashrc file.
7. What command and options can you use to update the time?
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.
A user's home directory is created under the /home directory.
getsebool
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
8. What is a gateway used for on a network?
The ping command can be used to verify connectivity to another host.
The rndc utility provides a method for managing the DNS server remotely and securely.
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.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
9. How do you run a command with elevated privileges?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
SELinux Booleans provide restrictions to different aspects of a service.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
10. What command and option do you use to view the description of Boolean values?
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.
semanage boolean -l
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
createrepo
11. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
Use the yum groupinstall command to install multiple packages in a single group at once.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
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.
12. To create a RAID or LVM partition using kickstart
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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.
generates errors under Red Hat Enterprise Linux 6
13. What is NAT - How is it used?
The rpm command can operate in install - query - or verify modes.
You must open TCP ports 20 and 21 for the FTP server to function properly.
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 file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
14. 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
15. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
support TCP Wrappers
Typing the mail or mutt command allows you to read mail from the command line.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
16. Explain the difference between soft and hard limits in quotas.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. The exportfs command is used to...
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 SMTP service runs on TCP port 110.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
export one or all resources
18. The package selection screen allows you to install any software you want during the installation process as long as...
ifconfig
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.
you have access to the correct packages or repositories.
A user's home directory is created under the /home directory.
19. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
chkconfig—list
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
chcon
The four types of DNS servers are master - slave - caching-only - and forwarding.
20. SSH does...
support TCP Wrappers
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The rndc utility provides a method for managing the DNS server remotely and securely.
21. How can virtual hosts be used?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
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.
The rndc utility provides a method for managing the DNS server remotely and securely.
Using the chcon command - you can change the context of a file to work with Apache.
22. What is the superblock used for?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
load balancing and redundancy benefits
defining a %pre section although it is rarely used
23. In Red Hat Enterprise Linux 6 - the default for SELinux is _______________ (which can be changed after the installation completes). For Red Hat Enterprise Linux 5 - you were able to choose what mode you wanted SELinux to start in.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
The TFTP server uses UDP port 69.
You can use the remove or erase options with yum to remove a package.
Enforcing during installation
24. What command can you use to view the current ACL on a file?
choose which mode you'd like it to operate in
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.
getfacl
The /var/log/audit/audit.log file contains all policy violations.
25. What are the three modes in which the rpm command can operate?
The dig - host - and ping commands can be used to test DNS server functionality.
The rpm command can operate in install - query - or verify modes.
getfacl
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.
26. What command can you use to create your own repositories?
halts the system
createrepo
user's home directory in the /etc/skel directory
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
27. What protocols are used with Dovecot?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
SELinux Booleans provide restrictions to different aspects of a service.
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 ping command can be used to verify connectivity to another host.
28. What are the two types of back-end authentication mechanisms discussed in this chapter?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
This chapter described tdbsm and smbpasswd back-end authentication.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
getfacl
29. What happens to jobs that are scheduled to run while the system is off?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
You can use the remove or erase options with yum to remove a package.
chkconfig sshd off
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.
30. How would you disable SELinux protection for NFS - allowing shares to be read/write?
amount of RAM
chkconfig—list
The TFTP server uses UDP port 69.
setsebool -P nfs_export_all_rw=1
31. What file is used to maintain custom parameters for the kernel during system boot?
amount of RAM
The lftp command can be used on a client to test FTP server connections.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
32. What is the name of the package that allows you to install VNC?
Enforcing during installation
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
33. What command can you use to create a file system?
The rndc utility provides a method for managing the DNS server remotely and securely.
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.
mkfs.ext4
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
34. What command can you use to create a password-protected page?
The htpasswd command can be used to password-protect a web page.
lvdisplay
The /etc/fstab file.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
35. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
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.
chkconfig sshd off
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.
36. What command and option can you use to enable a service to start on boot?
used for kickstart and/or network installs
The vsftpd package is used to install an FTP server.
rpcbind service
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
37. What happens if you call the command from question 3 with the -c option after it has already been run?
rpmbuild
cat /proc/mdstat
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 file that stores usernames and their encrypted passwords is erased and replaced with a new file.
38. 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
39. What option would you use to query an installed package using the rpm command?
The print option is used with both the fdisk and parted commands to display the current partition tables.
export one or all resources
rpcbind service
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.
40. What are the two config files for Postfix called?
The two main config files are master.cf and main.cf.
The print option is used with both the fdisk and parted commands to display the current partition tables.
The user_list file can be used to limit which users have access to the FTP server.
entering rescue mode and repairing the problem.
41. What is VNC?
The htpasswd command can be used to password-protect a web page.
You can use the authconfig-tui command or the authconfig command.
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
VNC is used to control a remote desktop session.
42. What port does the Apache web server run on - What about HTTPS?
Apache uses port 80 for HTTP and port 443 for HTTPS.
By default - the rndc utility listens on port 953.
The three utilities are: route - ping - and nslookup.
have the same effect
43. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
getfacl
The nfsstat command can be used to view NFS statistics.
VNC is used to control a remote desktop session.
44. What critical step must you take after updating the kernel to a newer version?
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
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 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.
45. What command can you use to test the config files before starting the DNS service?
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
service named configtest
By defining a %post section - you can run scripts after a kickstart installation is complete.
SELinux provides enhanced granular security for the Linux operating system.
46. What command can be used to view the queue for at service jobs?
The mount command lists all currently mounted file systems.
service sshd statuts
The lastlog and faillog commands are used to view user login-related events?
atq
47. What is the name of the package used to install an FTP?
Typing the mail or mutt command allows you to read mail from the command line.
SELinux Booleans provide restrictions to different aspects of a service.
The vsftpd package is used to install an FTP server.
cat /proc/mdstat
48. What three protocols can you use to perform network installations?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
mkfs.ext4
The htpasswd command can be used to password-protect a web page.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
49. What command disables the SSH service from running when the system boots?
rpmbuild
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.
chkconfig sshd off
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
50. How can you display all virtual guests after they're connected to a hypervisor?
The lastlog and faillog commands are used to view user login-related events?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
export one or all resources
choose which mode you'd like it to operate in
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