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 command can you use to manage system services?
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.
VNC is used to control a remote desktop session.
The /etc/fstab file.
The service command is used to start - stop - and manage system services.
2. How would you install a group of packages all at a single time?
Version 2 is the latest and most secure version of SSH.
Use the yum groupinstall command to install multiple packages in a single group at once.
halts the 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.
3. What client-side command can you use to test your FTP server connection?
The smbpasswd command is used to create Samba users.
By defining a %post section - you can run scripts after a kickstart installation is complete.
The lftp command can be used on a client to test FTP server connections.
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.
4. What command can be used to view the queue for at service jobs?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The dig - host - and ping commands can be used to test DNS server functionality.
atq
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
5. What are the two types of back-end authentication mechanisms discussed in this chapter?
This chapter described tdbsm and smbpasswd back-end authentication.
You must open TCP ports 20 and 21 for the FTP server to function properly.
Use the setgid flag to create the appropriate permissions (chmod 2770).
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
6. What port on the firewall needs to be open for the TFTP server to work?
You can use the authconfig-tui command or the authconfig command.
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
The TFTP server uses UDP port 69.
The nfsstat command can be used to view NFS statistics.
7. It is possible to run scripts before a kickstart installation. This is done by...
repquota
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.
defining a %pre section although it is rarely used
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.
8. What is the biggest benefit to using LVM over basic partitions?
You add your action to the end of the /home/user01/.bashrc file.
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.
chkconfig—list
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.
9. What command is used to show all services being controlled by the xinetd daemon?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
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.
alternatives --config mta
chkconfig xinetd --list
10. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
used for kickstart and/or network installs
VNC is used to control a remote desktop session.
You must open TCP ports 20 and 21 for the FTP server to function properly.
11. 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
12. A slave DNS server provides...
SSH is used for secure remote management of Linux systems.
Apache uses port 80 for HTTP and port 443 for HTTPS.
load balancing and redundancy benefits
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
13. What command can you use to change the context of files?
You can use the remove or erase options with yum to remove a package.
chcon
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The smbpasswd command is used to create Samba users.
14. How can virtual hosts be used?
getfacl
entering rescue mode and repairing the problem.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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.
15. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
By defining a %post section - you can run scripts after a kickstart installation is complete.
chkconfig xinetd --list
alternatives --config mta
16. Runlevel 0 ___________. Runlevel 6 reboots the system.
halts the system
service sshd statuts
service named configtest
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
17. What is PAM used for?
export one or all resources
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.
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.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
18. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The virsh command is used to manage virtual guests.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
rpmbuild
LUKS encryption
19. What port does the rndc utility listen on by default?
LUKS encryption
You must open TCP ports 20 and 21 for the FTP server to function properly.
chkconfig—list
By default - the rndc utility listens on port 953.
20. The at command is used to ____________. The cron service handles reoccurring system jobs.
SELinux Booleans provide restrictions to different aspects of a service.
schedule one-time-only jobs
The rndc utility provides a method for managing the DNS server remotely and securely.
useradd -c "Jr Admin" George
21. 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
22. What command displays your current interfaces and IP address?
You can use the remove or erase options with yum to remove a package.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
load balancing and redundancy benefits
ifconfig
23. Can you name three utilities that can be used for network or DNS client troubleshooting?
The three utilities are: route - ping - and nslookup.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
Use the ps command to view processes and their CPU usage.
Use the top command to view CPU and memory usage.
24. What does it mean if you ping a host and you receive the response Destination Unreachable?
lvdisplay
generates errors under Red Hat Enterprise Linux 6
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 gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
25. How would you view all Boolean options for the HTTP service?
via the command line
getsebool -a | grep http
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.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
26. What are the two config files for Postfix called?
The htpasswd command can be used to password-protect a web page.
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.
A user's home directory is created under the /home directory.
The two main config files are master.cf and main.cf.
27. What is a gateway used for on a network?
The -t nfs option is used with the mount command to mount NFS resources.
load balancing and redundancy benefits
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.
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.
28. How would you disable SELinux protection for NFS - allowing shares to be read/write?
SELinux provides enhanced granular security for the Linux operating system.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
setsebool -P nfs_export_all_rw=1
The /var/log/audit/audit.log file contains all policy violations.
29. What command can you use to test connectivity to another host?
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.
defining a %pre section although it is rarely used
The ping command can be used to verify connectivity to another host.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
30. There are four types of DNS servers. Name them.
DNS uses port 53.
The four types of DNS servers are master - slave - caching-only - and forwarding.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The vsftpd package is used to install an FTP server.
31. What file is used to maintain custom parameters for the kernel during system boot?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
atq
ifconfig
Use the setgid flag to create the appropriate permissions (chmod 2770).
32. Does a DHCP server allow reserved IP addresses - If so - how?
Use the yum groupinstall command to install multiple packages in a single group at once.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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 yum and rpm commands are used for package management.
33. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
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.
Physical volumes - volume groups - and logical volumes.
You must open TCP ports 20 and 21 for the FTP server to function properly.
34. What command can you use to monitor and troubleshoot network connections?
The htpasswd command can be used to password-protect a web page.
chkconfig xinetd --list
The vsftpd package is used to install an FTP server.
The tcpdump command is used to monitor network connections on different interfaces.
35. What command can you use to view the current ACL on a file?
You must open TCP ports 20 and 21 for the FTP server to function properly.
getfacl
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
A user's home directory is created under the /home directory.
36. What port does the DHCP server listen on by default?
The service command is used to start - stop - and manage system services.
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.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The DHCP server listens on port 67 by default.
37. How can you list all services on the system to tell whether they will boot during startup?
The nfsstat command can be used to view NFS statistics.
Enforcing during installation
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
chkconfig—list
38. What two ports should be opened on the firewall for the FTP server to function properly?
LUKS encryption
Use the resize2fs command to grow a file system.
You must open TCP ports 20 and 21 for the FTP server to function properly.
kickstart installations to work
39. What are SELinux Booleans?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
SELinux Booleans provide restrictions to different aspects of a service.
The mount command lists all currently mounted file systems.
40. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
ifconfig
The lftp command can be used on a client to test FTP server connections.
The DHCP server listens on port 67 by default.
You add your action to the end of the /home/user01/.bashrc file.
41. What happens to jobs that are scheduled to run while the system is off?
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 user_list file can be used to limit which users have access to the FTP server.
lvdisplay
The dig - host - and ping commands can be used to test DNS server functionality.
42. What command can you use to create your own repositories?
createrepo
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
VNC is used to control a remote desktop session.
serve both files and printers to users
43. What command can you use to create a new SSL certificate?
Use the route command with the add option to create a static route.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
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
The service command is used to start - stop - and manage system services.
44. What command-line program can you use to check your mail?
have the same effect
The DHCP server listens on port 67 by default.
Typing the mail or mutt command allows you to read mail from the command line.
SELinux provides enhanced granular security for the Linux operating system.
45. GRUB has three stages. Can you name them?
This chapter described tdbsm and smbpasswd back-end authentication.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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
46. Which remote management service is installed by default?Can you name the port that it uses?
getsebool -a | grep http
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.
The print option is used with both the fdisk and parted commands to display the current partition tables.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
47. What does the partprobe command do?
SSH is used for secure remote management of Linux systems.
The /var/log/audit/audit.log file contains all policy violations.
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
48. Which log file is used to keep track of policy violations?
The /var/log/audit/audit.log file contains all policy violations.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
49. What is the difference between an A record and a PTR record?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
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 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.
service httpd configtest
50. 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.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
Enforcing during installation
Use the route command with the add option to create a static route.
getsebool
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