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 does the partprobe command do?
chcon
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
Version 2 is the latest and most secure version of SSH.
2. What command can you use to view NFS statistics?
For Apache to run a secure site - the mod_ssl package is required to be installed.
halts the system
Use the route command with the add option to create a static route.
The nfsstat command can be used to view NFS statistics.
3. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
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
rpmbuild
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
generates errors under Red Hat Enterprise Linux 6
4. How can you list all services on the system to tell whether they will boot during startup?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
Use the top command to view CPU and memory usage.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
chkconfig—list
5. If you want a specific action to take place when user01 logs in to the system - which file would you edit?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
You add your action to the end of the /home/user01/.bashrc file.
The htpasswd command can be used to password-protect a web page.
6. 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
7. Red Hat Enterprise Linux 6 is the only version that officially supports _______
Use the top command to view CPU and memory usage.
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.
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
LUKS encryption
8. 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
9. What are the three items that make up LVM?
SELinux provides enhanced granular security for the Linux operating system.
Physical volumes - volume groups - and logical volumes.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
10. Where are Yum repository config files located?
Yum repository config files (.repo files) are located in the /etc/yum.repos.d directory. You can also make direct entries into the main /etc/yum.conf file.
service named configtest
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
chkconfig sshd off
11. What command can you use to create a password-protected page?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The htpasswd command can be used to password-protect a web page.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
semanage boolean -l
12. What does it mean if you ping a host and you receive the response Destination Unreachable?
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.
This chapter described tdbsm and smbpasswd back-end authentication.
schedule one-time-only jobs
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
13. What command can you use to monitor and troubleshoot network connections?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The lftp command can be used on a client to test FTP server connections.
By defining a %post section - you can run scripts after a kickstart installation is complete.
The tcpdump command is used to monitor network connections on different interfaces.
14. What commands can you use to add a client machine to an LDAP server?
chkconfig xinetd --list
The SMTP service runs on TCP port 110.
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.
You can use the authconfig-tui command or the authconfig command.
15. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The vsftpd package is used to install an FTP server.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
Sendmail
16. The package selection screen allows you to install any software you want during the installation process as long as...
you have access to the correct packages or repositories.
Typing the mail or mutt command allows you to read mail from the command line.
The /var/log/audit/audit.log file contains all policy violations.
The two main config files are master.cf and main.cf.
17. What command do you use to change the permissions on a file or directory - To change ownership?
By default - Squid runs on port 3128.
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.
The service command is used to start - stop - and manage system services.
Use the setgid flag to create the appropriate permissions (chmod 2770).
18. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
VNC is used to control a remote desktop session.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
enabled by default
19. What port does the DHCP server listen on by default?
support TCP Wrappers
Apache uses port 80 for HTTP and port 443 for HTTPS.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The DHCP server listens on port 67 by default.
20. GRUB has three stages. Can you name them?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
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
The virsh command is used to manage virtual guests.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
21. What are the three different types of RAID described in this chapter?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
By default - Squid runs on port 3128.
The two main config files are master.cf and main.cf.
22. 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
23. What is the superblock used for?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
serve both files and printers to users
By default - the rndc utility listens on port 953.
24. What is the name of the package that allows you to install VNC?
amount of RAM
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
25. What command can you use to query Boolean values?
The print option is used with both the fdisk and parted commands to display the current partition tables.
lvdisplay
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
getsebool
26. 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
27. SSH does...
support TCP Wrappers
Network installations can be performed using the HTTP - FTP - and NFS protocols.
chkconfig sshd off
service dhcpd configtest
28. How do you run a command with elevated privileges?
user's home directory in the /etc/skel directory
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
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.
29. 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
30. Runlevel 0 ___________. Runlevel 6 reboots the system.
You add your action to the end of the /home/user01/.bashrc file.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
halts the system
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
31. It is possible to run scripts before a kickstart installation. This is done by...
cat /proc/mdstat
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.
SSH is used for secure remote management of Linux systems.
defining a %pre section although it is rarely used
32. What command can you use to manage system services?
The service command is used to start - stop - and manage system services.
useradd -c "Jr Admin" George
Using the chcon command - you can change the context of a file to work with Apache.
Use the top command to view CPU and memory usage.
33. The exportfs command is used to...
schedule one-time-only jobs
getsebool
export one or all 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.
34. What option is used with both the fdisk and parted commands to display the current partition tables?
defining a %pre section although it is rarely used
The print option is used with both the fdisk and parted commands to display the current partition tables.
Physical volumes - volume groups - and logical volumes.
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.
35. What command can you use to query information from the kernel about RAID arrays?
cat /proc/mdstat
support TCP Wrappers
Yum repository config files (.repo files) are located in the /etc/yum.repos.d directory. You can also make direct entries into the main /etc/yum.conf file.
The four types of DNS servers are master - slave - caching-only - and forwarding.
36. 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 four types of DNS servers are master - slave - caching-only - and forwarding.
load balancing and redundancy benefits
Use the setgid flag to create the appropriate permissions (chmod 2770).
37. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
service named configtest
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
getfacl
cat /proc/mdstat
38. Which file shows you all the client IP addresses?
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The TFTP server uses UDP port 69.
support TCP Wrappers
The smbpasswd command is used to create Samba users.
39. What is the top command used for?
Use the ps command to view processes and their CPU usage.
service sshd statuts
Use the top command to view CPU and memory usage.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
40. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
atq
Physical volumes - volume groups - and logical volumes.
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 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.
41. What command do you use to report information on quota usage?
mkfs.ext4
repquota
Enforcing during installation
getsebool
42. What file needs to be edited so that the system will mount a file system at boot time?
The dig - host - and ping commands can be used to test DNS server functionality.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
SELinux provides enhanced granular security for the Linux operating system.
The /etc/fstab file.
43. What command-line program can you use to check your mail?
LUKS encryption
Typing the mail or mutt command allows you to read mail from the command line.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The four types of DNS servers are master - slave - caching-only - and forwarding.
44. What port on the firewall needs to be open for the TFTP server to work?
By default - the rndc utility listens on port 953.
The ping command can be used to verify connectivity to another host.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The TFTP server uses UDP port 69.
45. 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
46. What is the format of the /etc/shadow file?
chkconfig—list
DNS uses port 53.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
run on any port you'd like (provided that port is available)
47. Which log file is used to keep track of policy violations?
A virtual host is a way of hosting multiple sites using a single IP address.
choose which mode you'd like it to operate in
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 /var/log/audit/audit.log file contains all policy violations.
48. What command can you use to get information about logical volumes?
Version 2 is the latest and most secure version of SSH.
service named configtest
Enforcing during installation
lvdisplay
49. What option needs to be used with the mount command to mount an NFS resource?
choose which mode you'd like it to operate in
serve both files and printers to users
The -t nfs option is used with the mount command to mount NFS resources.
generates errors under Red Hat Enterprise Linux 6
50. What three commands can you use to help verify that the DNS server is functioning properly?
repquota
The two main config files are master.cf and main.cf.
export one or all resources
The dig - host - and ping commands can be used to test DNS server functionality.
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