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 (and options) can be used to create a user named George with the description "Jr Admin"?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
The two main config files are master.cf and main.cf.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
useradd -c "Jr Admin" George
2. Red Hat Enterprise Linux 6 is the only version that officially supports _______
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.
LUKS encryption
The yum and rpm commands are used for package management.
You can use the authconfig-tui command or the authconfig command.
3. What is the /etc/vsftpd/user_list file used for?
Physical volumes - volume groups - and logical volumes.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The lftp command can be used on a client to test FTP server connections.
The user_list file can be used to limit which users have access to the FTP server.
4. What is the name of the package that allows you to install VNC?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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
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.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
5. What command and option do you use to view the description of Boolean values?
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 anonymous_enable=YES option in the main config file allows anonymous uploads.
SELinux Booleans provide restrictions to different aspects of a service.
semanage boolean -l
6. To create a RAID or LVM partition using kickstart
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
entering rescue mode and repairing the problem.
You must open TCP ports 20 and 21 for the FTP server to function properly.
7. 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
run on any port you'd like (provided that port is available)
The print option is used with both the fdisk and parted commands to display the current partition tables.
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.
8. Can you name the two commands that can be used to view the free space on the system?
The du and df commands are used to view available space on the system.
enabled by default
By default - Squid runs on port 3128.
support TCP Wrappers
9. What option needs to be used with the mount command to mount an NFS resource?
Using the chcon command - you can change the context of a file to work with Apache.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
generates errors under Red Hat Enterprise Linux 6
The -t nfs option is used with the mount command to mount NFS resources.
10. What command disables the SSH service from running when the system boots?
chkconfig sshd off
chkconfig—list
getsebool -a | grep http
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.
11. What command can you use to create a new SSL certificate?
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The nfsstat command can be used to view NFS statistics.
choose which mode you'd like it to operate in
chcon
12. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
The du and df commands are used to view available space on the system.
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.
getsebool
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
13. What command can you use to test the config files before starting the DNS service?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
service named configtest
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
Enforcing during installation
14. The ____________ is available for each share.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The TFTP server uses UDP port 69.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
browseable option
15. What are the five required directories when building RPMS?
Enforcing during installation
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Use the setgid flag to create the appropriate permissions (chmod 2770).
alternatives --config mta
16. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
Enforcing during installation
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 dig - host - and ping commands can be used to test DNS server functionality.
Use the ps command to view processes and their CPU usage.
17. What command would you use to create a group - to add the user George to the group?
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.
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.
You can use the remove or erase options with yum to remove a package.
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
18. What happens if you call the command from question 3 with the -c option after it has already been run?
The print option is used with both the fdisk and parted commands to display the current partition tables.
Version 2 is the latest and most secure version of SSH.
The file that stores usernames and their encrypted passwords is erased and replaced with a new 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.
19. What is VNC?
load balancing and redundancy benefits
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.
support for TCP Wrappers
VNC is used to control a remote desktop session.
20. How can you list all services on the system to tell whether they will boot during startup?
chkconfig—list
The smbpasswd command is used to create Samba users.
browseable option
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
21. 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.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
cat /proc/mdstat
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
22. What client-side command can you use to test your FTP server connection?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
SSH is used for secure remote management of Linux systems.
The lftp command can be used on a client to test FTP server connections.
service named configtest
23. What happens to jobs that are scheduled to run while the system is off?
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.
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 virsh command is used to manage 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
24. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
The tcpdump command is used to monitor network connections on different interfaces.
You add your action to the end of the /home/user01/.bashrc file.
serve both files and printers to users
25. To grow a file system
run on any port you'd like (provided that port is available)
The anonymous_enable=YES option in the main config file allows anonymous uploads.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
Use the resize2fs command to grow a file system.
26. The at command is used to ____________. The cron service handles reoccurring system jobs.
A user's home directory is created under the /home directory.
rpcbind service
schedule one-time-only jobs
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.
27. Before you work with quotas - what do you need to do to the file system?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
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.
DNS uses port 53.
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.
28. What command is used to show all services being controlled by the xinetd daemon?
repquota
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.
chkconfig xinetd --list
generates errors under Red Hat Enterprise Linux 6
29. How can virtual hosts be used?
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.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The three utilities are: route - ping - and nslookup.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
30. What commands can you use to add a client machine to an LDAP server?
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 smbpasswd command is used to create Samba users.
You can use the authconfig-tui command or the authconfig command.
defining a %pre section although it is rarely used
31. 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.
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 VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Enforcing during installation
32. Are additional packages besides httpd required for a secure website - If so - what are they?
The lastlog and faillog commands are used to view user login-related events?
For Apache to run a secure site - the mod_ssl package is required to be installed.
mkfs.ext4
chkconfig xinetd --list
33. The package selection screen allows you to install any software you want during the installation process as long as...
Physical volumes - volume groups - and logical volumes.
Apache uses port 80 for HTTP and port 443 for HTTPS.
you have access to the correct packages or repositories.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
34. What three components are needed to fully automate a kickstart installation?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
The nfsstat command can be used to view NFS statistics.
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
The dig - host - and ping commands can be used to test DNS server functionality.
35. Does a DHCP server allow reserved IP addresses - If so - how?
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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 du and df commands are used to view available space on the system.
Use the setgid flag to create the appropriate permissions (chmod 2770).
36. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
createrepo
LUKS encryption
alternatives --config mta
37. 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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
You must open TCP ports 20 and 21 for the FTP server to function properly.
38. What is the rndc utility used for?
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 rndc utility provides a method for managing the DNS server remotely and securely.
By default - Squid runs on port 3128.
The print option is used with both the fdisk and parted commands to display the current partition tables.
39. 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
40. What is the virsh command used for?
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The virsh command is used to manage virtual guests.
The print option is used with both the fdisk and parted commands to display the current partition tables.
41. What command can be used to view the queue for at service jobs?
atq
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
DNS uses port 53.
42. Samba servers can...
LUKS encryption
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
serve both files and printers to users
export one or all resources
43. What command can you use to change the context of files?
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.
Enforcing during installation
chcon
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. You must dictate the ____________ you want allocated to your virtual machine when you create it.
Using the chcon command - you can change the context of a file to work with Apache.
amount of RAM
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 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.
45. What command do you use to change the permissions on a file or directory - To change ownership?
choose which mode you'd like it to operate in
The vsftpd package is used to install an FTP server.
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.
By defining a %post section - you can run scripts after a kickstart installation is complete.
46. Which remote management service is installed by default?Can you name the port that it uses?
service named configtest
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 -t nfs option is used with the mount command to mount NFS resources.
SELinux provides enhanced granular security for the Linux operating system.
47. What is the default port that Squid runs on?
By default - Squid runs on port 3128.
The DHCP server listens on port 67 by default.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
halts the system
48. Can you put your /boot partition on a RAID 5 array?
Use the top command to view CPU and memory usage.
The virsh command is used to manage virtual guests.
have the same effect
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.
49. Before you work with ACLs - what do you need to do to the file system?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
SELinux Booleans provide restrictions to different aspects of a service.
A user's home directory is created under the /home directory.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
50. What is the biggest benefit to using LVM over basic partitions?
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.
This command reboots virtual guest Client04.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
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.
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