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. The package selection screen allows you to install any software you want during the installation process as long as...
You must open TCP ports 20 and 21 for the FTP server to function properly.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
useradd -c "Jr Admin" George
you have access to the correct packages or repositories.
2. What command can you use to manage system services?
The service command is used to start - stop - and manage system services.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
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.
By default - the rndc utility listens on port 953.
3. What is the name of the package that allows you to install VNC?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
getsebool
have the same effect
4. What does the partprobe command do?
halts the system
enabled by default
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
5. What is the default port that Squid runs on?
rpmbuild
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.
By default - Squid runs on port 3128.
Use the ps command to view processes and their CPU usage.
6. What two ports should be opened on the firewall for the FTP server to function properly?
load balancing and redundancy benefits
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
You must open TCP ports 20 and 21 for the FTP server to function properly.
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.
7. What command can you use to create a file system?
semanage boolean -l
Using the chcon command - you can change the context of a file to work with Apache.
mkfs.ext4
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.
8. What option needs to be used with the mount command to mount an NFS resource?
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.
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.
The three utilities are: route - ping - and nslookup.
The -t nfs option is used with the mount command to mount NFS resources.
9. What port on the firewall needs to be open for the TFTP server to work?
The TFTP server uses UDP port 69.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
repquota
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
10. Which log file is used to keep track of policy violations?
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 /var/log/audit/audit.log file contains all policy violations.
The lastlog and faillog commands are used to view user login-related events?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
11. 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
12. Can you put your /boot partition on a RAID 5 array?
The dig - host - and ping commands can be used to test DNS server functionality.
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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
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.
13. What is the biggest benefit to using LVM over basic partitions?
The -t nfs option is used with the mount command to mount NFS resources.
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.
Using the chcon command - you can change the context of a file to work with Apache.
SELinux Booleans provide restrictions to different aspects of a service.
14. There are four types of DNS servers. Name them.
getfacl
Use the top command to view CPU and memory usage.
The four types of DNS servers are master - slave - caching-only - and forwarding.
For Apache to run a secure site - the mod_ssl package is required to be installed.
15. What option would you use to query an installed package using the rpm command?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
user's home directory in the /etc/skel directory
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.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
16. Which version of SSH should you use?
generates errors under Red Hat Enterprise Linux 6
Version 2 is the latest and most secure version of SSH.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
alternatives --config mta
17. 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
18. 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
19. What are the three different types of RAID described in this chapter?
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
serve both files and printers to users
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
20. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The print option is used with both the fdisk and parted commands to display the current partition tables.
rpmbuild
semanage boolean -l
21. What port does the SMTP service run on?
The -t nfs option is used with the mount command to mount NFS resources.
getsebool -a | grep http
kickstart installations to work
The SMTP service runs on TCP port 110.
22. What port does the Apache web server run on - What about HTTPS?
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.
Apache uses port 80 for HTTP and port 443 for HTTPS.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
amount of RAM
23. 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
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
24. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
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.
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
25. What command (and options) can be used to create a user named George with the description "Jr Admin"?
schedule one-time-only jobs
useradd -c "Jr Admin" George
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
The print option is used with both the fdisk and parted commands to display the current partition tables.
26. What option at the GRUB boot menu can you use to append something to a kernel?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The yum and rpm commands are used for package management.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
used for kickstart and/or network installs
27. What command can you use to check the config file of the DHCP server?
service dhcpd configtest
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
run on any port you'd like (provided that port is available)
A user's home directory is created under the /home directory.
28. 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
defining a %pre section although it is rarely used
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.
choose which mode you'd like it to operate in
29. What option is used with both the fdisk and parted commands to display the current partition tables?
The print option is used with both the fdisk and parted commands to display the current partition tables.
LUKS encryption
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The tcpdump command is used to monitor network connections on different interfaces.
30. A slave DNS server provides...
load balancing and redundancy benefits
The mount command lists all currently mounted file systems.
run on any port you'd like (provided that port is available)
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
31. Which remote management service is installed by default?Can you name the port that it uses?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
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.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
support for TCP Wrappers
32. How would you view all Boolean options for the HTTP service?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
A user's home directory is created under the /home directory.
amount of RAM
getsebool -a | grep http
33. What command-line program can you use to check your mail?
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.
service dhcpd configtest
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.
Typing the mail or mutt command allows you to read mail from the command line.
34. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
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 /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
The /var/log/audit/audit.log file contains all policy violations.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
35. What is the format of the /etc/shadow file?
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The mount command lists all currently mounted file systems.
The TFTP server uses UDP port 69.
The smbstatus command shows you currently mounted Samba resources.
36. What command can be used to easily list all the options in the FTP main config file?
enabled by default
entering rescue mode and repairing the problem.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
37. What command can you use to view the current ACL on a file?
generates errors under Red Hat Enterprise Linux 6
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The service command is used to start - stop - and manage system services.
getfacl
38. What is a gateway used for on a network?
createrepo
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The service command is used to start - stop - and manage system services.
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.
39. How can you display all virtual guests after they're connected to a hypervisor?
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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
service httpd configtest
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.
40. What command is used to create a user for Samba?
You must open TCP ports 20 and 21 for the FTP server to function properly.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The two main config files are master.cf and main.cf.
The smbpasswd command is used to create Samba users.
41. What are SELinux Booleans?
entering rescue mode and repairing the problem.
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.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
SELinux Booleans provide restrictions to different aspects of a service.
42. What two commands are special for dealing with user login events?
The smbstatus command shows you currently mounted Samba resources.
semanage boolean -l
The lastlog and faillog commands are used to view user login-related events?
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.
43. What are the three modes in which the rpm command can operate?
The rpm command can operate in install - query - or verify modes.
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.
The dig - host - and ping commands can be used to test DNS server functionality.
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.
44. What is the /etc/vsftpd/user_list file used for?
Use the top command to view CPU and memory usage.
The user_list file can be used to limit which users have access to the FTP server.
DNS uses port 53.
kickstart installations to work
45. What client-side command can you use to test your FTP server connection?
The mount command lists all currently mounted file systems.
The lftp command can be used on a client to test FTP server connections.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
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.
46. 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.
Enforcing during installation
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The rpm command can operate in install - query - or verify modes.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
47. It is possible to run scripts before a kickstart installation. This is done by...
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
serve both files and printers to users
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
defining a %pre section although it is rarely used
48. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
Enforcing during installation
rpcbind service
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
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.
49. Can you name three utilities that can be used for network or DNS client troubleshooting?
The vsftpd package is used to install an FTP server.
The three utilities are: route - ping - and nslookup.
The smbpasswd command is used to create Samba users.
browseable option
50. 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