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. Red Hat Enterprise Linux 6 is the only version that officially supports _______
used for kickstart and/or network installs
getsebool
LUKS encryption
The -t nfs option is used with the mount command to mount NFS resources.
2. Do you need to write changes to the disk when using the parted command? What about fdisk?
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.
useradd -c "Jr Admin" George
mkfs.ext4
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
3. What is the name of the package that allows you to install VNC?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
Use the resize2fs command to grow a file system.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Enforcing during installation
4. What is the biggest benefit to using LVM over basic partitions?
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.
Version 2 is the latest and most secure version of SSH.
halts the system
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
5. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
getfacl
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
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.
6. What are the side effects of shrinking a volume group or logical volume?
The mount command lists all currently mounted file systems.
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
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.
7. What option would you use to query an installed package using the rpm command?
The yum and rpm commands are used for package management.
The DHCP server listens on port 67 by default.
support for TCP Wrappers
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.
8. What command can you use to validate the syntax of the Apache config file?
createrepo
A user's home directory is created under the /home directory.
The mount command lists all currently mounted file systems.
service httpd configtest
9. What command can you use to get information about logical volumes?
rpcbind service
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
DNS uses port 53.
lvdisplay
10. What command can you use to view the current ACL on a file?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
getfacl
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
11. What are the three items that make up LVM?
Using the chcon command - you can change the context of a file to work with Apache.
enabled by default
Physical volumes - volume groups - and logical volumes.
The rpm command can operate in install - query - or verify modes.
12. How would you install a group of packages all at a single time?
Use the yum groupinstall command to install multiple packages in a single group at once.
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.
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
13. What command can you use to change the context of files?
chcon
service httpd configtest
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
alternatives --config mta
14. What option needs to be used with the mount command to mount an NFS resource?
This command reboots virtual guest Client04.
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 -t nfs option is used with the mount command to mount NFS resources.
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.
15. What is the format of the /etc/shadow file?
serve both files and printers to users
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
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 defining a %post section - you can run scripts after a kickstart installation is complete.
16. What are the two types of back-end authentication mechanisms discussed in this chapter?
getsebool
By default - Squid runs on port 3128.
This chapter described tdbsm and smbpasswd back-end authentication.
amount of RAM
17. What command can you use to query Boolean values?
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
getsebool
Use the top command to view CPU and memory usage.
18. Which version of SSH should you use?
Version 2 is the latest and most secure version of SSH.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
service httpd configtest
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
19. What command can you use to view system processes and their CPU usage?
Use the setgid flag to create the appropriate permissions (chmod 2770).
setsebool -P nfs_export_all_rw=1
via the command line
Use the ps command to view processes and their CPU usage.
20. What critical step must you take after updating the kernel to a newer version?
support for TCP Wrappers
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.
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.
Sendmail
21. 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
22. What are SELinux Booleans?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
chkconfig xinetd --list
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
SELinux Booleans provide restrictions to different aspects of a service.
23. What command can you use to view NFS statistics?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The user_list file can be used to limit which users have access to the FTP server.
The nfsstat command can be used to view NFS statistics.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
24. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
getfacl
The rndc utility provides a method for managing the DNS server remotely and securely.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
25. For Red Hat Enterprise Linux 6 - SELinux comes set up in enforcing mode. When installing Red Hat Enterprise Linux 5 - you have the option to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
26. What option is used to allow anonymous uploads to the FTP server?
getsebool
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The SMTP service runs on TCP port 110.
The user_list file can be used to limit which users have access to the FTP server.
27. What client-side command can you use to test your FTP server connection?
choose which mode you'd like it to operate in
halts the system
The tcpdump command is used to monitor network connections on different interfaces.
The lftp command can be used on a client to test FTP server connections.
28. What is the virsh command used for?
The virsh command is used to manage virtual guests.
Use the resize2fs command to grow a file 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
Use the route command with the add option to create a static route.
29. What three commands can you use to help verify that the DNS server is functioning properly?
chcon
The dig - host - and ping commands can be used to test DNS server functionality.
The /etc/fstab file.
The smbstatus command shows you currently mounted Samba resources.
30. What port does NFS use by default?
This chapter described tdbsm and smbpasswd back-end authentication.
export one or all resources
The NFS service uses TCP port 2049 by default.
support for TCP Wrappers
31. How do you run a command with elevated privileges?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
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 ACLs will be implemented must be mounted with the acl option before ACLs will work 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.
32. The ____________ is available for each share.
This command reboots virtual guest Client04.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
load balancing and redundancy benefits
browseable option
33. How can you list all services on the system to tell whether they will boot during startup?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
chkconfig—list
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The /etc/fstab file.
34. 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
35. Samba servers can...
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.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
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.
serve both files and printers to users
36. 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
37. 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.
have the same effect
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.
By defining a %post section - you can run scripts after a kickstart installation is complete.
38. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
getsebool -a | grep http
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
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.
39. What file needs to be edited so that the system will mount a file system at boot time?
The service command is used to start - stop - and manage system services.
atq
The /etc/fstab file.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
40. 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.
service named configtest
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
you have access to the correct packages or repositories.
41. 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.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
Enforcing during installation
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
42. What command and option do you use to view the description of Boolean values?
The tcpdump command is used to monitor network connections on different interfaces.
semanage boolean -l
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The TFTP server uses UDP port 69.
43. 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
44. What is the difference between an A record and a PTR record?
The dig - host - and ping commands can be used to test DNS server functionality.
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.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
45. What options with the yum command would you use to remove a package?
user's home directory in the /etc/skel directory
You can use the remove or erase options with yum to remove a package.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
The vsftpd package is used to install an FTP server.
46. GRUB has three stages. Can you name them?
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 /etc/fstab file.
entering rescue mode and repairing the problem.
load balancing and redundancy benefits
47. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
Use the yum groupinstall command to install multiple packages in a single group at once.
generates errors under Red Hat Enterprise Linux 6
used for kickstart and/or network installs
choose which mode you'd like it to operate in
48. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
run on any port you'd like (provided that port is available)
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The htpasswd command can be used to password-protect a web page.
49. What command disables the SSH service from running when the system boots?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
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
chkconfig sshd off
defining a %pre section although it is rarely used
50. What is NAT - How is it 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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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