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. How can you list all services on the system to tell whether they will boot during startup?
Use the yum groupinstall command to install multiple packages in a single group at once.
This chapter described tdbsm and smbpasswd back-end authentication.
chkconfig—list
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
2. What command would you use to create a group - to add the user George to the group?
For Apache to run a secure site - the mod_ssl package is required to be installed.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
service sshd statuts
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.
3. What is the rndc utility used for?
The lftp command can be used on a client to test FTP server connections.
The rndc utility provides a method for managing the DNS server remotely and securely.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
4. Where are Yum repository config files located?
chkconfig xinetd --list
This chapter described tdbsm and smbpasswd back-end authentication.
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
5. A service needs to have _______________ to be able to use it.
Apache uses port 80 for HTTP and port 443 for HTTPS.
support for TCP Wrappers
The yum and rpm commands are used for package management.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
6. What directory is used to represent the virtual file system created by the kernel?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
mkfs.ext4
Typing the mail or mutt command allows you to read mail from the command line.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
7. What command can you use to create a password-protected page?
The smbstatus command shows you currently mounted Samba resources.
The htpasswd command can be used to password-protect a web page.
The yum and rpm commands are used for package management.
The three utilities are: route - ping - and nslookup.
8. What is the /etc/vsftpd/user_list file used for?
amount of RAM
The user_list file can be used to limit which users have access to the FTP server.
via the command line
When the system enters into runlevel 2 - the rsyslog service has a priority of 12 when starting. Anything with a lower number (or the same number and lower first letter) starts before the rsyslog service.
9. What command can you use to get information about logical volumes?
lvdisplay
The /etc/fstab file.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The service command is used to start - stop - and manage system services.
10. What command is used to create a user for Samba?
The smbpasswd command is used to create Samba users.
The dig - host - and ping commands can be used to test DNS server functionality.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
Enforcing during installation
11. 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
12. What port does the rndc utility listen on by default?
By default - the rndc utility listens on port 953.
defining a %pre section although it is rarely used
The NFS service uses TCP port 2049 by default.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
13. What is a gateway used for on a network?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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.
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.
14. What options with the yum command would you use to remove a package?
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.
support for TCP Wrappers
Typing the mail or mutt command allows you to read mail from the command line.
You can use the remove or erase options with yum to remove a package.
15. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
halts the system
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.
The smbpasswd command is used to create Samba users.
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.
16. Which remote management service is installed by default?Can you name the port that it uses?
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
createrepo
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.
user's home directory in the /etc/skel directory
17. What command can you use to query Boolean values?
mkfs.ext4
getsebool
chkconfig sshd off
DNS uses port 53.
18. What command do you use to report information on quota usage?
repquota
kickstart installations to work
The smbstatus command shows you currently mounted Samba resources.
Version 2 is the latest and most secure version of SSH.
19. What two commands are used for package management?
Use the setgid flag to create the appropriate permissions (chmod 2770).
The yum and rpm commands are used for package management.
enabled by default
The lastlog and faillog commands are used to view user login-related events?
20. What option needs to be used with the mount command to mount an NFS resource?
The -t nfs option is used with the mount command to mount NFS resources.
When the system enters into runlevel 2 - the rsyslog service has a priority of 12 when starting. Anything with a lower number (or the same number and lower first letter) starts before the rsyslog service.
The user_list file can be used to limit which users have access to the FTP server.
The dig - host - and ping commands can be used to test DNS server functionality.
21. 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.
The DHCP server listens on port 67 by default.
The NFS service uses TCP port 2049 by default.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
22. What command can you use to query information from the kernel about RAID arrays?
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 -t nfs option is used with the mount command to mount NFS resources.
By defining a %post section - you can run scripts after a kickstart installation is complete.
cat /proc/mdstat
23. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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.
By default - the rndc utility listens on port 953.
The rpm command can operate in install - query - or verify modes.
24. What command can you use to view mounted Samba shares?
The smbstatus command shows you currently mounted Samba resources.
This chapter described tdbsm and smbpasswd back-end authentication.
Physical volumes - volume groups - and logical volumes.
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
25. What port does the SMTP service run on?
The SMTP service runs on TCP port 110.
The /etc/fstab file.
generates errors under Red Hat Enterprise Linux 6
This command reboots virtual guest Client04.
26. How can you verify the status of the SSH service after the system has booted?
serve both files and printers to users
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
service sshd statuts
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.
27. What option is used to allow anonymous uploads to the FTP server?
You add your action to the end of the /home/user01/.bashrc file.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
serve both files and printers to users
28. What does it mean if you ping a host and you receive the response Destination Unreachable?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
Use the top command to view CPU and memory usage.
Apache uses port 80 for HTTP and port 443 for HTTPS.
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.
29. Which log file is used to keep track of policy violations?
The /var/log/audit/audit.log file contains all policy violations.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
30. 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
31. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
Typing the mail or mutt command allows you to read mail from the command line.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
support for TCP Wrappers
A large warning message appears indicating that the key doesn't match the host you are connecting to. You have to remove the key/host pair from the known_hosts file to proceed.
32. How would you view all Boolean options for the HTTP service?
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
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
getsebool -a | grep http
have the same effect
33. The exportfs command is used to...
export one or all resources
browseable option
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
34. What is the main config file for the DHCP service?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
Apache uses port 80 for HTTP and port 443 for HTTPS.
You add your action to the end of the /home/user01/.bashrc file.
The two main config files are master.cf and main.cf.
35. What is a swap? Is it created as a partition or device file?
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.
repquota
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.
36. 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
37. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
load balancing and redundancy benefits
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
entering rescue mode and repairing the problem.
via the command line
38. What is the top command used for?
Use the top command to view CPU and memory usage.
amount of RAM
The lastlog and faillog commands are used to view user login-related events?
The smbpasswd command is used to create Samba users.
39. What command disables the SSH service from running when the system boots?
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
chkconfig—list
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
chkconfig sshd off
40. What command can you use to change the context of files?
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.
chcon
Use the yum groupinstall command to install multiple packages in a single group at once.
generates errors under Red Hat Enterprise Linux 6
41. 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
42. What is SSH used for?
lvdisplay
The SMTP service runs on TCP port 110.
SSH is used for secure remote management of Linux systems.
browseable option
43. 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
44. What commands can you use to add a client machine to an LDAP server?
You can use the remove or erase options with yum to remove a package.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
You must open TCP ports 20 and 21 for the FTP server to function properly.
You can use the authconfig-tui command or the authconfig command.
45. What are the two types of back-end authentication mechanisms discussed in this chapter?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
via the command line
This chapter described tdbsm and smbpasswd back-end authentication.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
46. The firewall service is...
enabled by default
Enforcing during installation
atq
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
47. What port does NFS use by default?
rpcbind service
The mount command lists all currently mounted file systems.
SSH is used for secure remote management of Linux systems.
The NFS service uses TCP port 2049 by default.
48. 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
49. SSH does...
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
chkconfig xinetd --list
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.
support TCP Wrappers
50. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
The NFS service uses TCP port 2049 by default.
Enforcing during installation
Sendmail
The user_list file can be used to limit which users have access to the FTP server.
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