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 default port that Squid runs on?
DNS uses port 53.
By default - Squid runs on port 3128.
ifconfig
export one or all resources
2. Where are Yum repository config files located?
alternatives --config mta
atq
user's home directory in the /etc/skel directory
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.
3. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
alternatives --config mta
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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
4. What command can you use to change the context of files?
chcon
rpmbuild
The dig - host - and ping commands can be used to test DNS server functionality.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
5. What is the rndc utility used for?
The /etc/fstab file.
This command reboots virtual guest Client04.
The rndc utility provides a method for managing the DNS server remotely and securely.
rpmbuild
6. What command can you use to view the current ACL on a file?
semanage boolean -l
serve both files and printers to users
Physical volumes - volume groups - and logical volumes.
getfacl
7. What command can you use to test connectivity to another host?
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 service command is used to start - stop - and manage system services.
The dig - host - and ping commands can be used to test DNS server functionality.
The ping command can be used to verify connectivity to another host.
8. What are the two types of back-end authentication mechanisms discussed in this chapter?
This chapter described tdbsm and smbpasswd back-end authentication.
By defining a %post section - you can run scripts after a kickstart installation is complete.
Sendmail
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.
9. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
kickstart installations to work
This chapter described tdbsm and smbpasswd back-end authentication.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
10. What directory is used to represent the virtual file system created by the kernel?
The four types of DNS servers are master - slave - caching-only - and forwarding.
atq
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The ping command can be used to verify connectivity to another host.
11. What command can you use to view NFS statistics?
The nfsstat command can be used to view NFS statistics.
The rpm command can operate in install - query - or verify modes.
The TFTP server uses UDP port 69.
you have access to the correct packages or repositories.
12. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The three utilities are: route - ping - and nslookup.
LUKS encryption
Use the setgid flag to create the appropriate permissions (chmod 2770).
getsebool
13. How can you display all virtual guests after they're connected to a hypervisor?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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.
schedule one-time-only jobs
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
14. GRUB has three stages. Can you name them?
The nfsstat command can be used to view NFS statistics.
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
Physical volumes - volume groups - and logical volumes.
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.
15. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
ifconfig
The three utilities are: route - ping - and nslookup.
rpcbind service
chkconfig—list
16. What are the three items that make up LVM?
The htpasswd command can be used to password-protect a web page.
Physical volumes - volume groups - and logical volumes.
Use the route command with the add option to create a static route.
service named configtest
17. 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 format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
By defining a %post section - you can run scripts after a kickstart installation is complete.
The rpm command can operate in install - query - or verify modes.
18. Editing the /etc/xinetd.d/tftp file and enabling the service are the same as running the chkconfig tftp on command. Both of these actions...
have the same effect
kickstart installations to work
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
19. What does the partprobe command do?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
getsebool -a | grep http
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
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.
20. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
Physical volumes - volume groups - and logical volumes.
generates errors under Red Hat Enterprise Linux 6
service dhcpd configtest
The SMTP service runs on TCP port 110.
21. What is the /etc/vsftpd/user_list file used for?
SSH is used for secure remote management of Linux systems.
Use the yum groupinstall command to install multiple packages in a single group at once.
The user_list file can be used to limit which users have access to the FTP server.
The vsftpd package is used to install an FTP server.
22. How would you view all Boolean options for the HTTP service?
support for TCP Wrappers
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
DNS uses port 53.
getsebool -a | grep http
23. What does the rdnc-confgen command do?
ifconfig
chkconfig sshd off
service named configtest
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
24. What command do you use to report information on quota usage?
load balancing and redundancy benefits
Typing the mail or mutt command allows you to read mail from the command line.
repquota
You must open TCP ports 20 and 21 for the FTP server to function properly.
25. What command can you use to manage system services?
The virsh command is used to manage virtual guests.
The service command is used to start - stop - and manage system services.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
have the same effect
26. 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
27. What command and option do you use to view the description of Boolean values?
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 /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
Sendmail
semanage boolean -l
28. The ____________ is available for each share.
The /var/log/audit/audit.log file contains all policy violations.
browseable option
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
SELinux Booleans provide restrictions to different aspects of a service.
29. What command disables the SSH service from running when the system boots?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
chkconfig sshd off
Enforcing during installation
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
30. What is the main config file for the DHCP service?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The nfsstat command can be used to view NFS statistics.
31. What is SSH used for?
chkconfig—list
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
repquota
SSH is used for secure remote management of Linux systems.
32. What file needs to be edited so that the system will mount a file system at boot time?
The smbstatus command shows you currently mounted Samba resources.
Use the route command with the add option to create a static route.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The /etc/fstab file.
33. Which log file is used to keep track of policy violations?
Use the route command with the add option to create a static route.
The /var/log/audit/audit.log file contains all policy violations.
cat /proc/mdstat
The DHCP server listens on port 67 by default.
34. What command can you use to create a password-protected page?
The htpasswd command can be used to password-protect a web page.
The virsh command is used to manage virtual guests.
The service command is used to start - stop - and manage system services.
browseable option
35. 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
36. What is the name of the package that allows you to install VNC?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
37. Which version of SSH should you use?
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.
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.
browseable option
Version 2 is the latest and most secure version of SSH.
38. What port does the DHCP server listen on by default?
This chapter described tdbsm and smbpasswd back-end authentication.
The DHCP server listens on port 67 by default.
you have access to the correct packages or repositories.
choose which mode you'd like it to operate in
39. What command can you use to query Boolean values?
used for kickstart and/or network installs
service dhcpd configtest
getsebool
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
40. What is a swap? Is it created as a partition or device file?
support TCP Wrappers
Use the yum groupinstall command to install multiple packages in a single group at once.
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.
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.
41. What command can you use to create a new SSL certificate?
chkconfig sshd off
user's home directory in the /etc/skel directory
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
42. How can virtual hosts be used?
The lftp command can be used on a client to test FTP server connections.
The three utilities are: route - ping - and nslookup.
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.
rpcbind service
43. What critical step must you take after updating the kernel to a newer version?
lvdisplay
LUKS encryption
export one or all resources
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.
44. What happens if you call the command from question 3 with the -c option after it has already been run?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
Physical volumes - volume groups - and logical volumes.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
45. What protocols are used with Dovecot?
chkconfig—list
The lftp command can be used on a client to test FTP server connections.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
46. What command can you use to create your own repositories?
The lftp command can be used on a client to test FTP server connections.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
createrepo
Sendmail
47. Are additional packages besides httpd required for a secure website - If so - what are they?
service dhcpd configtest
For Apache to run a secure site - the mod_ssl package is required to be installed.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
48. What is the biggest benefit to using LVM over basic partitions?
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 -t nfs option is used with the mount command to mount NFS resources.
generates errors under Red Hat Enterprise Linux 6
atq
49. 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
50. What port must be opened on the firewall for DNS?
This command reboots virtual guest Client04.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
chkconfig xinetd --list
DNS uses port 53.
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