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 happens if you call the command from question 3 with the -c option after it has already been run?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
support TCP Wrappers
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.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
2. 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
3. What command can you use to create your own repositories?
createrepo
Using the chcon command - you can change the context of a file to work with Apache.
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.
service named configtest
4. What does the rdnc-confgen command do?
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 du and df commands are used to view available space on the system.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
5. What are the side effects of shrinking a volume group or logical volume?
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.
load balancing and redundancy benefits
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.
The du and df commands are used to view available space on the system.
6. What is the virsh command used for?
The /etc/fstab file.
The virsh command is used to manage virtual guests.
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.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
7. What port does the rndc utility listen on by default?
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.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
By default - the rndc utility listens on port 953.
rpcbind service
8. What are SELinux Booleans?
getfacl
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The -t nfs option is used with the mount command to mount NFS resources.
SELinux Booleans provide restrictions to different aspects of a service.
9. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
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 can use the remove or erase options with yum to remove a package.
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.
10. What command can you use to query information from the kernel about RAID arrays?
cat /proc/mdstat
The TFTP server uses UDP port 69.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
You add your action to the end of the /home/user01/.bashrc file.
11. Are additional packages besides httpd required for a secure website - If so - what are they?
Use the ps command to view processes and their CPU usage.
For Apache to run a secure site - the mod_ssl package is required to be installed.
ifconfig
The DHCP server listens on port 67 by default.
12. What options with the yum command would you use to remove a package?
lvdisplay
browseable option
You can use the remove or erase options with yum to remove a package.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
13. How do you run a command with elevated privileges?
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 can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
14. Which log file is used to keep track of policy violations?
The /var/log/audit/audit.log file contains all policy violations.
getsebool
browseable option
This chapter described tdbsm and smbpasswd back-end authentication.
15. What are the two config files for Postfix called?
amount of RAM
The two main config files are master.cf and main.cf.
chcon
service sshd statuts
16. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
browseable option
rpcbind service
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.
17. How would you disable SELinux protection for NFS - allowing shares to be read/write?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
setsebool -P nfs_export_all_rw=1
You can use the authconfig-tui command or the authconfig command.
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.
18. What three commands can you use to help verify that the DNS server is functioning properly?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The dig - host - and ping commands can be used to test DNS server functionality.
By default - the rndc utility listens on port 953.
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.
19. What command can you use to view mounted Samba shares?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The smbstatus command shows you currently mounted Samba resources.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The virsh command is used to manage virtual guests.
20. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
The yum and rpm commands are used for package management.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
entering rescue mode and repairing the problem.
used for kickstart and/or network installs
21. What command can you use to create a file system?
LUKS encryption
rpmbuild
lvdisplay
mkfs.ext4
22. What is the xinetd service used for?
Enforcing during installation
VNC is used to control a remote desktop session.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The smbstatus command shows you currently mounted Samba resources.
23. What three components are needed to fully automate a kickstart installation?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
entering rescue mode and repairing the problem.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
24. What port does the Apache web server run on - What about HTTPS?
PAM is used as a modular way to leverage security. In this chapter - the main function we discussed was for managing password policies and complexity.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
Physical volumes - volume groups - and logical volumes.
Apache uses port 80 for HTTP and port 443 for HTTPS.
25. What is the difference between an A record and a PTR record?
For Apache to run a secure site - the mod_ssl package is required to be installed.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
have the same effect
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
26. What is the point of using SELinux?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
SELinux provides enhanced granular security for the Linux operating system.
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 SMTP service runs on TCP port 110.
27. What command can be used to easily list all the options in the FTP main config file?
DNS uses port 53.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
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.
useradd -c "Jr Admin" George
28. What is a swap? Is it created as a partition or device file?
Enforcing during installation
The NFS service uses TCP port 2049 by default.
The lftp command can be used on a client to test FTP server connections.
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. Do you need to write changes to the disk when using the parted command? What about fdisk?
getsebool -a | grep http
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
Kickstart supports both basic and advanced partitioning (RAID/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.
30. Can you name three utilities that can be used for network or DNS client troubleshooting?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
choose which mode you'd like it to operate in
repquota
The three utilities are: route - ping - and nslookup.
31. What two ports should be opened on the firewall for the FTP server to function properly?
DNS uses port 53.
repquota
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 open TCP ports 20 and 21 for the FTP server to function properly.
32. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
LUKS encryption
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
mkfs.ext4
33. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
The three utilities are: route - ping - and nslookup.
SSH is used for secure remote management of Linux systems.
The ping command can be used to verify connectivity to another host.
You add your action to the end of the /home/user01/.bashrc file.
34. To create a RAID or LVM partition using kickstart
The dig - host - and ping commands can be used to test DNS server functionality.
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
atq
Kickstart supports both basic and advanced partitioning (RAID/LVM).
35. What is the rndc utility used for?
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.
service dhcpd configtest
The rndc utility provides a method for managing the DNS server remotely and securely.
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.
36. 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
The dig - host - and ping commands can be used to test DNS server functionality.
choose which mode you'd like it to operate in
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
37. What command is used to create a user for Samba?
The smbstatus command shows you currently mounted Samba resources.
The TFTP server uses UDP port 69.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The smbpasswd command is used to create Samba users.
38. The firewall service is...
enabled by default
SSH is used for secure remote management of Linux systems.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
lvdisplay
39. Place all files you want added to a _______________ during creation.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
40. What option needs to be used with the mount command to mount an NFS resource?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
The two main config files are master.cf and main.cf.
The -t nfs option is used with the mount command to mount NFS resources.
41. What happens if a host changes its IP address and the keys don't match?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
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.
semanage boolean -l
43. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
Use the setgid flag to create the appropriate permissions (chmod 2770).
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.
defining a %pre section although it is rarely used
lvdisplay
44. What client-side command can you use to test your FTP server connection?
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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The lftp command can be used on a client to test FTP server connections.
setsebool -P nfs_export_all_rw=1
45. What command can you use to view NFS statistics?
The /etc/fstab file.
The nfsstat command can be used to view NFS statistics.
halts the system
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.
46. What two commands are used for package management?
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.
Using the chcon command - you can change the context of a file to work with Apache.
service dhcpd configtest
The yum and rpm commands are used for package management.
47. What command displays your current interfaces and IP address?
Apache uses port 80 for HTTP and port 443 for HTTPS.
The print option is used with both the fdisk and parted commands to display the current partition tables.
ifconfig
The four types of DNS servers are master - slave - caching-only - and forwarding.
48. A service needs to have _______________ to be able to use it.
support for TCP Wrappers
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
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.
49. 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
50. What port does the SMTP service run on?
amount of RAM
The SMTP service runs on TCP port 110.
The lastlog and faillog commands are used to view user login-related events?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
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