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 last rule in the iptables file?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. What is the /var/lib/nfs/etab file used for?
you have access to the correct packages or repositories.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
enabled by default
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
3. The firewall service is...
enabled by default
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The /var/log/audit/audit.log file contains all policy violations.
The print option is used with both the fdisk and parted commands to display the current partition tables.
4. What option is used with both the fdisk and parted commands to display the current partition tables?
The print option is used with both the fdisk and parted commands to display the current partition tables.
have the same effect
The tcpdump command is used to monitor network connections on different interfaces.
SSH is used for secure remote management of Linux systems.
5. What command-line program can you use to check your mail?
defining a %pre section although it is rarely used
Typing the mail or mutt command allows you to read mail from the command line.
The two main config files are master.cf and main.cf.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
6. What critical step must you take after updating the kernel to a newer version?
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.
The virsh command is used to manage virtual guests.
support TCP Wrappers
7. What are the two config files for Postfix called?
The two main config files are master.cf and main.cf.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The SMTP service runs on TCP port 110.
The htpasswd command can be used to password-protect a web page.
8. What happens to jobs that are scheduled to run while the system is off?
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.
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.
browseable option
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
9. What command can you use to get information about logical volumes?
Use the resize2fs command to grow a file system.
The three utilities are: route - ping - and nslookup.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
lvdisplay
10. SSH does...
The DHCP server listens on port 67 by default.
The ping command can be used to verify connectivity to another host.
support TCP Wrappers
getsebool
11. Which file shows you all the client IP addresses?
have the same effect
used for kickstart and/or network installs
amount of RAM
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
12. What is the default port that Squid runs on?
DNS uses port 53.
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 default - Squid runs on port 3128.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
13. The package selection screen allows you to install any software you want during the installation process as long as...
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
you have access to the correct packages or repositories.
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.
14. What command can you use to view mounted Samba shares?
The -t nfs option is used with the mount command to mount NFS resources.
Version 2 is the latest and most secure version of SSH.
The smbstatus command shows you currently mounted Samba resources.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
15. 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
16. What does the rdnc-confgen command do?
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.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
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 rdnc-confgen command generates an rndc.conf file for the rndc utility.
17. What is the /etc/vsftpd/user_list file used for?
The user_list file can be used to limit which users have access to the FTP server.
Physical volumes - volume groups - and logical volumes.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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.
18. What two ports should be opened on the firewall for the FTP server to function properly?
The user_list file can be used to limit which users have access to the FTP server.
Enforcing during installation
The DHCP server listens on port 67 by default.
You must open TCP ports 20 and 21 for the FTP server to function properly.
19. Samba servers can...
The nfsstat command can be used to view NFS statistics.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
serve both files and printers to users
support TCP Wrappers
20. How would you disable SELinux protection for NFS - allowing shares to be read/write?
The four types of DNS servers are master - slave - caching-only - and forwarding.
kickstart installations to work
setsebool -P nfs_export_all_rw=1
rpcbind service
21. What happens if you call the command from question 3 with the -c option after it has already been run?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The SMTP service runs on TCP port 110.
SELinux Booleans provide restrictions to different aspects of a service.
getsebool -a | grep http
22. What command disables the SSH service from running when the system boots?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
chkconfig sshd off
choose which mode you'd like it to operate in
23. What directory is used to represent the virtual file system created by the kernel?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The NFS service uses TCP port 2049 by default.
24. Can you name the two commands that can be used to view the free space on the system?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
semanage boolean -l
The du and df commands are used to view available space on the system.
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
25. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
getfacl
A user's home directory is created under the /home directory.
mkfs.ext4
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
26. To export directories as resources - what file needs to be edited?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. What command can you use to create a file system?
The nfsstat command can be used to view NFS statistics.
mkfs.ext4
kickstart installations to work
Typing the mail or mutt command allows you to read mail from the command line.
28. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
LUKS encryption
The nfsstat command can be used to view NFS statistics.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
29. How would you go about creating a static route?
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
Use the route command with the add option to create a static route.
semanage boolean -l
30. What are the three items that make up LVM?
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.
Physical volumes - volume groups - and logical volumes.
The vsftpd package is used to install an FTP server.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
31. What option needs to be used with the mount command to mount an NFS resource?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The user_list file can be used to limit which users have access to the FTP server.
The three utilities are: route - ping - and nslookup.
The -t nfs option is used with the mount command to mount NFS resources.
32. What option is used to allow anonymous uploads to the FTP server?
getsebool -a | grep http
The dig - host - and ping commands can be used to test DNS server functionality.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
33. What is the /etc/hosts file used for?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. What command do you use to change the permissions on a file or directory - To change ownership?
support for TCP Wrappers
The smbstatus command shows you currently mounted Samba resources.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
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.
35. 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
36. What three protocols can you use to perform network installations?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
setsebool -P nfs_export_all_rw=1
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
37. Most boot issues can be resolved by...
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
entering rescue mode and repairing the problem.
enabled by default
The DHCP server listens on port 67 by default.
38. How would you install a group of packages all at a single time?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Version 2 is the latest and most secure version of SSH.
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.
Use the yum groupinstall command to install multiple packages in a single group at once.
39. What command can you use to create your own repositories?
SELinux Booleans provide restrictions to different aspects of a service.
createrepo
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The NFS service uses TCP port 2049 by default.
40. 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
have the same effect
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
VNC is used to control a remote desktop session.
41. What is the point of using SELinux?
SELinux provides enhanced granular security for the Linux operating system.
setsebool -P nfs_export_all_rw=1
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Kickstart supports both basic and advanced partitioning (RAID/LVM).
42. 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
43. What command can be used to easily list all the options in the FTP main config file?
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
via the command line
The smbpasswd command is used to create Samba users.
44. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
enabled by default
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
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
export one or all resources
45. What command can be used to view the queue for at service jobs?
atq
via the command line
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
46. What client-side command can you use to test your FTP server connection?
Apache uses port 80 for HTTP and port 443 for HTTPS.
The rpm command can operate in install - query - or verify modes.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The lftp command can be used on a client to test FTP server connections.
47. What port must be opened on the firewall for DNS?
DNS uses port 53.
The four types of DNS servers are master - slave - caching-only - and forwarding.
Enforcing during installation
service named configtest
48. How would you view all Boolean options for the HTTP service?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
amount of RAM
semanage boolean -l
getsebool -a | grep http
49. What command can you use to view the current ACL on a file?
The lastlog and faillog commands are used to view user login-related events?
getfacl
ifconfig
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
50. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
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 add your action to the end of the /home/user01/.bashrc file.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
support TCP Wrappers
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