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 port does the rndc utility listen on by default?
The nfsstat command can be used to view NFS statistics.
kickstart installations to work
By default - the rndc utility listens on port 953.
service dhcpd configtest
2. 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.
support TCP Wrappers
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.
useradd -c "Jr Admin" George
3. What is the name of the section used to run scripts after a kickstart installation?
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.
Sendmail
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
4. 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
5. How would you install a group of packages all at a single time?
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 file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
Use the yum groupinstall command to install multiple packages in a single group at once.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
6. What benefit does a web proxy provide to your network?
lvdisplay
Enforcing during installation
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
7. Which remote management service is installed by default?Can you name the port that it uses?
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 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.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
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
8. What port does the Apache web server run on - What about HTTPS?
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The virsh command is used to manage virtual guests.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The user_list file can be used to limit which users have access to the FTP server.
9. 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
10. What does virsh reboot Client04 do?
This command reboots virtual guest Client04.
The lftp command can be used on a client to test FTP server connections.
SSH is used for secure remote management of Linux systems.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
11. Before you work with ACLs - what do you need to do to the file system?
defining a %pre section although it is rarely used
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 file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
lvdisplay
12. What is the top command used for?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
Use the top command to view CPU and memory usage.
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.
13. What is the superblock used for?
Typing the mail or mutt command allows you to read mail from the command line.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
Enforcing during installation
You add your action to the end of the /home/user01/.bashrc file.
14. The firewall service is...
enabled by default
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
15. What command can you use to monitor and troubleshoot network connections?
lvdisplay
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The tcpdump command is used to monitor network connections on different interfaces.
You can use the -q option to query an installed package. Combining grep and the -qa options - you can search among all installed packages on the system.
16. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
used for kickstart and/or network installs
chkconfig sshd off
The TFTP server uses UDP port 69.
17. 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
18. 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.
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 TFTP server uses UDP port 69.
getsebool -a | grep http
19. Does a DHCP server allow reserved IP addresses - If so - how?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
Use the route command with the add option to create a static route.
LUKS encryption
20. How can you check the currently mounted file systems?
The SMTP service runs on TCP port 110.
amount of RAM
The mount command lists all currently mounted file systems.
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.
21. Do you need to write changes to the disk when using the parted command? What about fdisk?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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 rndc utility provides a method for managing the DNS server remotely and securely.
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.
22. What is the xinetd service used for?
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.
alternatives --config mta
you have access to the correct packages or repositories.
23. GRUB has three stages. Can you name them?
Use the route command with the add option to create a static route.
getsebool
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
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
24. How do you run a command with elevated privileges?
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.
By default - Squid runs on port 3128.
kickstart installations to work
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
25. 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
26. The at command is used to ____________. The cron service handles reoccurring system jobs.
The ping command can be used to verify connectivity to another host.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
schedule one-time-only jobs
load balancing and redundancy benefits
27. How would you view all Boolean options for the HTTP service?
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
getsebool -a | grep http
semanage boolean -l
For Apache to run a secure site - the mod_ssl package is required to be installed.
28. What command can you use to view system processes and their CPU usage?
Physical volumes - volume groups - and logical volumes.
By defining a %post section - you can run scripts after a kickstart installation is complete.
cat /proc/mdstat
Use the ps command to view processes and their CPU usage.
29. 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
30. What three protocols can you use to perform network installations?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
semanage boolean -l
The lastlog and faillog commands are used to view user login-related events?
31. What command can you use to validate the syntax of the Apache config file?
service httpd 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.
SELinux provides enhanced granular security for the Linux operating system.
By default - the rndc utility listens on port 953.
32. What port on the firewall needs to be open for the TFTP server to work?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The TFTP server uses UDP port 69.
33. What happens to jobs that are scheduled to run while the system is off?
The print option is used with both the fdisk and parted commands to display the current partition tables.
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 file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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.
34. What command can you use to view NFS statistics?
SSH is used for secure remote management of Linux systems.
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 TFTP server uses UDP port 69.
The nfsstat command can be used to view NFS statistics.
35. What command is used to create a user for Samba?
Use the route command with the add option to create a static route.
lvdisplay
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
The smbpasswd command is used to create Samba users.
36. 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.
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 file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
You can use the authconfig-tui command or the authconfig command.
37. Before you work with quotas - what do you need to do to the file system?
entering rescue mode and repairing the problem.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
service sshd statuts
The rndc utility provides a method for managing the DNS server remotely and securely.
38. What command do you use to report information on quota usage?
The ping command can be used to verify connectivity to another host.
Enforcing during installation
ifconfig
repquota
39. It is possible to run scripts before a kickstart installation. This is done by...
By defining a %post section - you can run scripts after a kickstart installation is complete.
defining a %pre section although it is rarely used
semanage boolean -l
Physical volumes - volume groups - and logical volumes.
40. The ____________ is available for each share.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
ifconfig
browseable option
41. How would you go about creating a static route?
You can use the authconfig-tui command or the authconfig command.
Use the route command with the add option to create a static route.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
getsebool
42. What are the three items that make up LVM?
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.
Physical volumes - volume groups - and logical volumes.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
43. Most boot issues can be resolved by...
rpcbind service
entering rescue mode and repairing the problem.
Enforcing during installation
alternatives --config mta
44. What option would you use to query an installed package using the rpm command?
The nfsstat command can be used to view NFS statistics.
defining a %pre section although it is rarely used
You can use the -q option to query an installed package. Combining grep and the -qa options - you can search among all installed packages on the system.
service dhcpd configtest
45. Which file shows you all the client IP addresses?
Apache uses port 80 for HTTP and port 443 for HTTPS.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The vsftpd package is used to install an FTP server.
service httpd configtest
46. A PXE server eases the automation process but isn't required for...
The virsh command is used to manage virtual guests.
kickstart installations to work
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.
You add your action to the end of the /home/user01/.bashrc file.
47. What is a swap? Is it created as a partition or device file?
export one or all resources
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 can use the authconfig-tui command or the authconfig command.
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. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The DHCP server listens on port 67 by default.
chkconfig—list
repquota
LUKS encryption
49. What command can you use to manage system services?
The ping command can be used to verify connectivity to another host.
By default - Squid runs on port 3128.
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.
50. What command would you use to create a group - to add the user George to the group?
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
This command reboots virtual guest Client04.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.