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 NFS use by default?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
generates errors under Red Hat Enterprise Linux 6
The NFS service uses TCP port 2049 by default.
Version 2 is the latest and most secure version of SSH.
2. What command-line program can you use to check your mail?
The TFTP server uses UDP port 69.
The two main config files are master.cf and main.cf.
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.
Typing the mail or mutt command allows you to read mail from the command line.
3. What command can you use to query Boolean values?
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
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.
getsebool
browseable option
4. Does a DHCP server allow reserved IP addresses - If so - how?
rpmbuild
The print option is used with both the fdisk and parted commands to display the current partition tables.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
serve both files and printers to users
5. 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
6. What port does the Apache web server run on - What about HTTPS?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
Apache uses port 80 for HTTP and port 443 for HTTPS.
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
This command reboots virtual guest Client04.
7. What command is used to show all services being controlled by the xinetd daemon?
chkconfig xinetd --list
Using the chcon command - you can change the context of a file to work with Apache.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
enabled by default
8. Which version of SSH should you use?
Version 2 is the latest and most secure version of SSH.
service named configtest
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.
createrepo
9. You must dictate the ____________ you want allocated to your virtual machine when you create it.
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
amount of RAM
The three utilities are: route - ping - and nslookup.
SELinux provides enhanced granular security for the Linux operating system.
10. Is it possible to share files among groups - What permissions would you set on the directory to accomplish file sharing if possible?
Use the setgid flag to create the appropriate permissions (chmod 2770).
Apache uses port 80 for HTTP and port 443 for HTTPS.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The rndc utility provides a method for managing the DNS server remotely and securely.
11. What does the partprobe command do?
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 rpm command can operate in install - query - or verify modes.
The three utilities are: route - ping - and nslookup.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
12. Are additional packages besides httpd required for a secure website - If so - what are they?
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.
For Apache to run a secure site - the mod_ssl package is required to be installed.
Typing the mail or mutt command allows you to read mail from the command line.
The ping command can be used to verify connectivity to another host.
13. What is the superblock used for?
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
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.
alternatives --config mta
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
14. What is the xinetd service used for?
The dig - host - and ping commands can be used to test DNS server functionality.
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 xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The two main config files are master.cf and main.cf.
15. What command can you use to view NFS statistics?
choose which mode you'd like it to operate in
The nfsstat command can be used to view NFS statistics.
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 smbpasswd command is used to create Samba users.
16. What commands can you use to add a client machine to an LDAP server?
browseable option
halts the system
You can use the authconfig-tui command or the authconfig command.
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.
17. What option at the GRUB boot menu can you use to append something to a kernel?
The smbpasswd command is used to create Samba users.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The TFTP server uses UDP port 69.
generates errors under Red Hat Enterprise Linux 6
18. What command can you use to create your own repositories?
createrepo
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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.
used for kickstart and/or network installs
19. What are the three different types of RAID described in this chapter?
run on any port you'd like (provided that port is available)
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Use the ps command to view processes and their CPU usage.
The three utilities are: route - ping - and nslookup.
20. What are the three modes in which the rpm command can operate?
The rpm command can operate in install - query - or verify modes.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
chkconfig sshd off
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
21. How would you go about creating a static route?
Typing the mail or mutt command allows you to read mail from the command line.
Use the route command with the add option to create a static route.
support for TCP Wrappers
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
22. Before you work with quotas - what do you need to do to the file system?
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
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.
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 file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
23. The firewall service is...
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.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
enabled by default
chkconfig—list
24. 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.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
export one or all resources
The smbstatus command shows you currently mounted Samba resources.
25. Can you name three utilities that can be used for network or DNS client troubleshooting?
Physical volumes - volume groups - and logical volumes.
This command reboots virtual guest Client04.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The three utilities are: route - ping - and nslookup.
26. What is the name of the package used to install an FTP?
The lastlog and faillog commands are used to view user login-related events?
chkconfig sshd off
rpmbuild
The vsftpd package is used to install an FTP server.
27. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
SELinux Booleans provide restrictions to different aspects of a service.
By defining a %post section - you can run scripts after a kickstart installation is complete.
via the command line
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.
28. What command is used to create a user for Samba?
Using the chcon command - you can change the context of a file to work with Apache.
The smbpasswd command is used to create Samba users.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
service named configtest
29. What command can you use to test connectivity to another host?
The ping command can be used to verify connectivity to another host.
generates errors under Red Hat Enterprise Linux 6
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.
cat /proc/mdstat
30. A PXE server eases the automation process but isn't required for...
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The /etc/fstab file.
setsebool -P nfs_export_all_rw=1
kickstart installations to work
31. What command (and options) can be used to create a user named George with the description "Jr Admin"?
The nfsstat command can be used to view NFS statistics.
useradd -c "Jr Admin" George
The service command is used to start - stop - and manage system services.
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.
32. What is the rndc utility used for?
defining a %pre section although it is rarely used
support for TCP Wrappers
The rndc utility provides a method for managing the DNS server remotely and securely.
schedule one-time-only jobs
33. What port does the DHCP server listen on by default?
The DHCP server listens on port 67 by default.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
34. 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.
cat /proc/mdstat
The service command is used to start - stop - and manage system services.
The TFTP server uses UDP port 69.
35. To grow a file system
Use the resize2fs command to grow a file system.
The rpm command can operate in install - query - or verify modes.
halts the system
The nfsstat command can be used to view NFS statistics.
36. What command can you use to create a password-protected page?
The htpasswd command can be used to password-protect a web page.
kickstart installations to work
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.
ifconfig
37. Most boot issues can be resolved by...
via the command line
entering rescue mode and repairing the problem.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
load balancing and redundancy benefits
38. Runlevel 0 ___________. Runlevel 6 reboots the system.
halts the system
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.
SELinux provides enhanced granular security for the Linux operating system.
The yum and rpm commands are used for package management.
39. What is the default port that Squid runs on?
By default - Squid runs on port 3128.
rpmbuild
lvdisplay
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
40. 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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
Use the top command to view CPU and memory usage.
Enforcing during installation
41. What command can you use to view the current ACL on a file?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Version 2 is the latest and most secure version of SSH.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
getfacl
42. Do you need to write changes to the disk when using the parted command? What about fdisk?
schedule one-time-only jobs
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.
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.
43. Editing the /etc/xinetd.d/tftp file and enabling the service are the same as running the chkconfig tftp on command. Both of these actions...
defining a %pre section although it is rarely used
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.
have the same effect
Enforcing during installation
44. What does the testparm command do?
amount of RAM
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
halts the system
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
45. What is the format of the /etc/shadow file?
Version 2 is the latest and most secure version of SSH.
user's home directory in the /etc/skel directory
The DHCP server listens on port 67 by default.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
46. How can you check the currently mounted file systems?
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The du and df commands are used to view available space on the system.
The mount command lists all currently mounted file systems.
47. 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
48. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Version 2 is the latest and most secure version of SSH.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
support for TCP Wrappers
49. What is the top command used for?
LUKS encryption
Use the top command to view CPU and memory usage.
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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
50. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
rpcbind service
Use the top command to view CPU and memory usage.
The rpm command can operate in install - query - or verify modes.
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
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