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 testparm command do?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
SELinux provides enhanced granular security for the Linux operating system.
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 testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
2. What are the five required directories when building RPMS?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
Typing the mail or mutt command allows you to read mail from the command line.
mkfs.ext4
3. What port does the SMTP service run on?
For Apache to run a secure site - the mod_ssl package is required to be installed.
lvdisplay
The SMTP service runs on TCP port 110.
alternatives --config mta
4. What are the two types of back-end authentication mechanisms discussed in this chapter?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
This chapter described tdbsm and smbpasswd back-end authentication.
Sendmail
Use the route command with the add option to create a static route.
5. What does the partprobe command do?
The -t nfs option is used with the mount command to mount NFS resources.
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
getfacl
6. What is the difference between an A record and a PTR record?
The smbpasswd command is used to create Samba users.
The DHCP server listens on port 67 by default.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
The du and df commands are used to view available space on the system.
7. What is VNC?
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.
enabled by default
VNC is used to control a remote desktop session.
SSH is used for secure remote management of Linux systems.
8. What three protocols can you use to perform network installations?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
run on any port you'd like (provided that port is available)
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
9. What command can you use to view NFS statistics?
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.
Using the chcon command - you can change the context of a file to work with Apache.
The lftp command can be used on a client to test FTP server connections.
The nfsstat command can be used to view NFS statistics.
10. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
via the command line
SELinux provides enhanced granular security for the Linux operating system.
11. The ______________ for Red Hat Enterprise Linux 5 or 6 includes the use of LVM.
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.
Enforcing during installation
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.
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.
12. Which remote management service is installed by default?Can you name the port that it uses?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
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.
This chapter described tdbsm and smbpasswd back-end authentication.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
13. What options with the yum command would you use to remove a package?
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.
By defining a %post section - you can run scripts after a kickstart installation is complete.
You can use the remove or erase options with yum to remove a package.
have the same effect
14. What command can you use to check the config file of the DHCP server?
enabled by default
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
service dhcpd configtest
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
15. What commands can you use to add a client machine to an LDAP server?
SELinux provides enhanced granular security for the Linux operating system.
alternatives --config mta
service named configtest
You can use the authconfig-tui command or the authconfig command.
16. What command and option can you use to enable a service to start on boot?
Use the chkconfig command to enable or disable services during the boot process. The on option enables the service and off disables it.
atq
Network installations can be performed using the HTTP - FTP - and NFS protocols.
By default - Squid runs on port 3128.
17. What command disables the SSH service from running when the system boots?
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.
chkconfig sshd off
By default - the rndc utility listens on port 953.
entering rescue mode and repairing the problem.
18. What is the default port that Squid runs on?
kickstart installations to work
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
By default - Squid runs on port 3128.
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.
19. What does virsh reboot Client04 do?
This command reboots virtual guest Client04.
service named configtest
Use the route command with the add option to create a static route.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
20. How do you run a command with elevated privileges?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
amount of RAM
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
21. How can you list all services on the system to tell whether they will boot during startup?
chkconfig—list
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
SELinux Booleans provide restrictions to different aspects of a service.
setsebool -P nfs_export_all_rw=1
22. 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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
Enforcing during installation
Use the resize2fs command to grow a file system.
23. What command can you use to monitor and troubleshoot network connections?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
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.
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.
The tcpdump command is used to monitor network connections on different interfaces.
24. What command can you use to view system processes and their CPU usage?
Use the ps command to view processes and their CPU usage.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
Using the chcon command - you can change the context of a file to work with Apache.
Typing the mail or mutt command allows you to read mail from the command line.
25. How would you view all Boolean options for the HTTP service?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
service dhcpd configtest
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
getsebool -a | grep http
26. The default SMTP service has been changed from _________ to Postfix in Red Hat Enterprise Linux 6.
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.
Sendmail
The smbstatus command shows you currently mounted Samba resources.
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.
27. What happens to jobs that are scheduled to run while the system is off?
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.
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.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
cat /proc/mdstat
28. What command can you use to get information about logical volumes?
useradd -c "Jr Admin" George
lvdisplay
service httpd configtest
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
29. What command can you use to create a file system?
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.
mkfs.ext4
serve both files and printers to users
This chapter described tdbsm and smbpasswd back-end authentication.
30. There are four types of DNS servers. Name them.
chkconfig xinetd --list
The four types of DNS servers are master - slave - caching-only - and forwarding.
mkfs.ext4
service dhcpd configtest
31. What command is used to create a user for Samba?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
have the same effect
The smbpasswd command is used to create Samba users.
The smbstatus command shows you currently mounted Samba resources.
32. Where are Yum repository config files located?
getsebool
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 gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
via the command line
33. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
The four types of DNS servers are master - slave - caching-only - and forwarding.
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.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
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.
34. A PXE server eases the automation process but isn't required for...
alternatives --config mta
kickstart installations to work
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.
Physical volumes - volume groups - and logical volumes.
35. What option is used to allow anonymous uploads to the FTP server?
Enforcing during installation
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
36. 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.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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 service command is used to start - stop - and manage system services.
37. Runlevel 0 ___________. Runlevel 6 reboots the system.
lvdisplay
Use the setgid flag to create the appropriate permissions (chmod 2770).
halts the system
Physical volumes - volume groups - and logical volumes.
38. What command and options can you use to update the time?
By defining a %post section - you can run scripts after a kickstart installation is complete.
getsebool
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
39. What is SSH used for?
SSH is used for secure remote management of Linux systems.
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 /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
The mount command lists all currently mounted file systems.
40. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
The lftp command can be used on a client to test FTP server connections.
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.
setsebool -P nfs_export_all_rw=1
rpmbuild
41. 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
42. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
generates errors under Red Hat Enterprise Linux 6
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
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Sendmail
43. What command is used to create an RPM package?
rpmbuild
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
Typing the mail or mutt command allows you to read mail from the command line.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
44. What two ports should be opened on the firewall for the FTP server to function properly?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
entering rescue mode and repairing the problem.
You must open TCP ports 20 and 21 for the FTP server to function properly.
cat /proc/mdstat
45. What command displays your current interfaces and IP address?
ifconfig
rpcbind service
entering rescue mode and repairing the problem.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
46. 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
47. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
ifconfig
Enforcing during installation
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
48. To create a RAID or LVM partition using kickstart
Use the yum groupinstall command to install multiple packages in a single group at once.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
49. What client-side command can you use to test your FTP server connection?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP 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 lftp command can be used on a client to test FTP server connections.
50. The at command is used to ____________. The cron service handles reoccurring system jobs.
generates errors under Red Hat Enterprise Linux 6
The service command is used to start - stop - and manage system services.
schedule one-time-only jobs
The /etc/fstab file.
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