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. There are four types of DNS servers. Name them.
By defining a %post section - you can run scripts after a kickstart installation is complete.
load balancing and redundancy benefits
The four types of DNS servers are master - slave - caching-only - and forwarding.
By default - Squid runs on port 3128.
2. What is the name of the package that allows you to install VNC?
SELinux provides enhanced granular security for the Linux operating system.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
3. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
Sendmail
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.
chkconfig sshd off
The /etc/fstab file.
4. What command can you use to create a password-protected page?
The virsh command is used to manage virtual guests.
The service command is used to start - stop - and manage system services.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
The htpasswd command can be used to password-protect a web page.
5. 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
6. What port does the rndc utility listen on by default?
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 default - the rndc utility listens on port 953.
The two main config files are master.cf and main.cf.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
7. What command can you use to check the config file of the DHCP server?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The four types of DNS servers are master - slave - caching-only - and forwarding.
The virsh command is used to manage virtual guests.
service dhcpd configtest
8. To grow a file system
Sendmail
amount of RAM
Use the resize2fs command to grow a file system.
createrepo
9. What command can you use to change the context of files?
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.
halts the system
chcon
chkconfig sshd off
10. What are the two types of back-end authentication mechanisms discussed in this chapter?
Use the setgid flag to create the appropriate permissions (chmod 2770).
chkconfig sshd off
The nfsstat command can be used to view NFS statistics.
This chapter described tdbsm and smbpasswd back-end authentication.
11. How can you verify the status of the SSH service after the system has booted?
The -t nfs option is used with the mount command to mount NFS resources.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
DNS uses port 53.
service sshd statuts
12. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
The smbpasswd command is used to create Samba users.
The four types of DNS servers are master - slave - caching-only - and forwarding.
browseable option
rpcbind service
13. What is a virtual host?
A virtual host is a way of hosting multiple sites using a single IP address.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The virsh command is used to manage virtual guests.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
14. What are the three modes in which the rpm command can operate?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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
defining a %pre section although it is rarely used
The rpm command can operate in install - query - or verify modes.
15. Most boot issues can be resolved by...
The smbpasswd command is used to create Samba users.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
entering rescue mode and repairing the problem.
The service command is used to start - stop - and manage system services.
16. What command do you use to change the permissions on a file or directory - To change ownership?
enabled by default
rpcbind service
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.
getfacl
17. What is VNC?
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 /var/log/audit/audit.log file contains all policy violations.
VNC is used to control a remote desktop session.
choose which mode you'd like it to operate in
18. Which log file is used to keep track of policy violations?
DNS uses port 53.
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.
used for kickstart and/or network installs
The /var/log/audit/audit.log file contains all policy violations.
19. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
used for kickstart and/or network installs
service sshd statuts
service httpd configtest
20. What three commands can you use to help verify that the DNS server is functioning properly?
The dig - host - and ping commands can be used to test DNS server functionality.
halts the system
By default - Squid runs on port 3128.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
21. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
The lastlog and faillog commands are used to view user login-related events?
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 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.
alternatives --config mta
22. What is the rndc utility used for?
used for kickstart and/or network installs
The rndc utility provides a method for managing the DNS server remotely and securely.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The SMTP service runs on TCP port 110.
23. What does the partprobe command do?
The /etc/fstab file.
You add your action to the end of the /home/user01/.bashrc file.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
cat /proc/mdstat
24. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
generates errors under Red Hat Enterprise Linux 6
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.
25. What are SELinux Booleans?
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
createrepo
semanage boolean -l
SELinux Booleans provide restrictions to different aspects of a service.
26. 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
27. What is the default port that Squid runs on?
By default - Squid runs on port 3128.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
You can use the authconfig-tui command or the authconfig command.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
28. The package selection screen allows you to install any software you want during the installation process as long as...
Using the chcon command - you can change the context of a file to work with Apache.
you have access to the correct packages or repositories.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
By defining a %post section - you can run scripts after a kickstart installation is complete.
29. What happens if you call the command from question 3 with the -c option after it has already been run?
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.
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 grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
30. SSH does...
support TCP Wrappers
The dig - host - and ping commands can be used to test DNS server functionality.
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.
The /etc/fstab file.
31. What does the testparm command do?
The three utilities are: route - ping - and nslookup.
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.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
32. How can you display all virtual guests after they're connected to a hypervisor?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The nfsstat command can be used to view NFS statistics.
VNC is used to control a remote desktop session.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
33. What command can you use to create a new SSL certificate?
The lftp command can be used on a client to test FTP server connections.
lvdisplay
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
34. What two ports should be opened on the firewall for the FTP server to function properly?
atq
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 xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
You must open TCP ports 20 and 21 for the FTP server to function properly.
35. What client-side command can you use to test your FTP server connection?
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 lftp command can be used on a client to test FTP server connections.
Version 2 is the latest and most secure version of SSH.
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 is the point of using SELinux?
SELinux provides enhanced granular security for the Linux operating system.
run on any port you'd like (provided that port is available)
atq
chcon
37. What is the top command used for?
have the same effect
chkconfig xinetd --list
Use the top command to view CPU and memory usage.
The dig - host - and ping commands can be used to test DNS server functionality.
38. What benefit does a web proxy provide to your network?
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.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
The lftp command can be used on a client to test FTP server connections.
39. What port does the SMTP service run on?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The /etc/fstab file.
defining a %pre section although it is rarely used
The SMTP service runs on TCP port 110.
40. Runlevel 0 ___________. Runlevel 6 reboots the system.
halts the system
Use the yum groupinstall command to install multiple packages in a single group at once.
SELinux Booleans provide restrictions to different aspects of a service.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
41. What does the rdnc-confgen command do?
run on any port you'd like (provided that port is available)
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
DNS uses port 53.
42. How can virtual hosts be used?
lvdisplay
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.
Sendmail
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
43. What is NAT - How is it used?
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.
serve both files and printers to users
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
44. What command and options can you use to update the time?
A user's home directory is created under the /home directory.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The rpm command can operate in install - query - or verify modes.
45. 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.
support for TCP Wrappers
useradd -c "Jr Admin" George
Enforcing during installation
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
46. What is the format of the /etc/shadow file?
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 SMTP service runs on TCP port 110.
Use the top command to view CPU and memory usage.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
47. What is the virsh command used for?
entering rescue mode and repairing the problem.
SSH is used for secure remote management of Linux systems.
The virsh command is used to manage virtual guests.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
48. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The lastlog and faillog commands are used to view user login-related events?
createrepo
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
alternatives --config mta
49. What command can you use to test the config files before starting the DNS service?
lvdisplay
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 /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
service named configtest
50. What critical step must you take after updating the kernel to a newer version?
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.
setsebool -P nfs_export_all_rw=1
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 dig - host - and ping commands can be used to test DNS server functionality.
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