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 can you use to create a file system?
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
mkfs.ext4
The smbstatus command shows you currently mounted Samba resources.
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.
2. What command disables the SSH service from running when the system boots?
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
chkconfig sshd off
mkfs.ext4
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.
3. What command can you use to test connectivity to another host?
The ping command can be used to verify connectivity to another host.
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 yum and rpm commands are used for package management.
setsebool -P nfs_export_all_rw=1
4. Can you name the two commands that can be used to view the free space on the system?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
user's home directory in the /etc/skel directory
The du and df commands are used to view available space on the system.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
5. What port does NFS use by default?
The four types of DNS servers are master - slave - caching-only - and forwarding.
The NFS service uses TCP port 2049 by default.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
atq
6. What is the point of using SELinux?
The vsftpd package is used to install an FTP server.
service dhcpd configtest
SELinux provides enhanced granular security for the Linux operating system.
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
7. What option needs to be used with the mount command to mount an NFS resource?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
The -t nfs option is used with the mount command to mount NFS resources.
SELinux provides enhanced granular security for the Linux operating system.
8. What port does the Apache web server run on - What about HTTPS?
The service command is used to start - stop - and manage system services.
Apache uses port 80 for HTTP and port 443 for HTTPS.
export one or all resources
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
9. 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.
The yum and rpm commands are used for package management.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
You can use the remove or erase options with yum to remove a package.
10. What option would you use to query an installed package using the rpm command?
service named configtest
The TFTP server uses UDP port 69.
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.
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.
11. What is the format of the /etc/shadow file?
run on any port you'd like (provided that port is available)
The TFTP server uses UDP port 69.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
12. How can virtual hosts be used?
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.
run on any port you'd like (provided that port is available)
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.
SELinux Booleans provide restrictions to different aspects of a service.
13. What command can you use to create your own repositories?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
createrepo
The tcpdump command is used to monitor network connections on different interfaces.
The dig - host - and ping commands can be used to test DNS server functionality.
14. What two commands are used for package management?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The yum and rpm commands are used for package management.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
run on any port you'd like (provided that port is available)
15. What command is used to create a user for Samba?
This command reboots virtual guest Client04.
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.
SELinux Booleans provide restrictions to different aspects of a service.
The smbpasswd command is used to create Samba users.
16. What does the partprobe command do?
amount of RAM
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
A user's home directory is created under the /home directory.
17. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
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 htpasswd command can be used to password-protect a web page.
18. What is the /etc/vsftpd/user_list file used for?
useradd -c "Jr Admin" George
The user_list file can be used to limit which users have access to the FTP server.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The vsftpd package is used to install an FTP server.
19. 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
20. What is the /var/lib/nfs/etab file used for?
You must open TCP ports 20 and 21 for the FTP server to function properly.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The /etc/fstab file.
The vsftpd package is used to install an FTP server.
21. What command can you use to view the current ACL on a file?
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.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
getfacl
22. What is the difference between an A record and a PTR record?
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
browseable option
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
cat /proc/mdstat
23. What client-side command can you use to test your FTP server connection?
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 lftp command can be used on a client to test FTP server connections.
The /var/log/audit/audit.log file contains all policy violations.
The mount command lists all currently mounted file systems.
24. What is the top command used for?
The four types of DNS servers are master - slave - caching-only - and forwarding.
Use the top command to view CPU and memory usage.
service dhcpd configtest
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
25. What does the testparm command do?
The vsftpd package is used to install an FTP server.
getfacl
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
26. What does it mean if you ping a host and you receive the response Destination Unreachable?
The rpm command can operate in install - query - or verify modes.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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 four types of DNS servers are master - slave - caching-only - and forwarding.
27. How would you go about creating a static route?
For Apache to run a secure site - the mod_ssl package is required to be installed.
The print option is used with both the fdisk and parted commands to display the current partition tables.
Use the route command with the add option to create a static route.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
28. What happens if you call the command from question 3 with the -c option after it has already been run?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
browseable option
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
29. Which log file is used to keep track of policy violations?
Sendmail
The /var/log/audit/audit.log file contains all policy violations.
The SMTP service runs on TCP port 110.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
30. What are the two config files for Postfix called?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
The service command is used to start - stop - and manage system services.
SSH is used for secure remote management of Linux systems.
The two main config files are master.cf and main.cf.
31. What is a swap? Is it created as a partition or device file?
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
You can use the remove or erase options with yum to remove a package.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
32. To create a RAID or LVM partition using kickstart
Kickstart supports both basic and advanced partitioning (RAID/LVM).
getfacl
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 testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
33. What command can you use to validate the syntax of the Apache config file?
SSH is used for secure remote management of Linux systems.
service httpd configtest
run on any port you'd like (provided that port is available)
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
34. There are four types of DNS servers. Name them.
The four types of DNS servers are master - slave - caching-only - and forwarding.
By default - Squid runs on port 3128.
You add your action to the end of the /home/user01/.bashrc file.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
35. What command (and options) can be used to create a user named George with the description "Jr Admin"?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
chkconfig—list
useradd -c "Jr Admin" George
36. What file is used to maintain custom parameters for the kernel during system boot?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
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.
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
37. What command can you use to view NFS statistics?
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 nfsstat command can be used to view NFS statistics.
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 /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
38. Which remote management service is installed by default?Can you name the port that it uses?
You can use the remove or erase options with yum to remove a package.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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.
chkconfig—list
39. What are the three different types of RAID described in this chapter?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
halts the system
This chapter described tdbsm and smbpasswd back-end authentication.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
40. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel?
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.
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.
The yum and rpm commands are used for package management.
You add your action to the end of the /home/user01/.bashrc file.
41. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
via the command line
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
halts the system
user's home directory in the /etc/skel directory
42. The firewall service is...
chkconfig xinetd --list
mkfs.ext4
support TCP Wrappers
enabled by default
43. What two commands are special for dealing with user login events?
chkconfig—list
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.
LUKS encryption
The lastlog and faillog commands are used to view user login-related events?
44. Where are Yum repository config files located?
defining a %pre section although it is rarely used
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.
Use the route command with the add option to create a static route.
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
45. What is the benefit to using centralized authentication?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. What command is used to show all services being controlled by the xinetd daemon?
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
chkconfig—list
By defining a %post section - you can run scripts after a kickstart installation is complete.
chkconfig xinetd --list
47. The old SysInit scripts have been replaced in Red Hat Enterprise Linux 6 for what new boot utility?
A swap is scratch space on your file system used as virtual memory. A swap can be created as a partition or a device file.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
The dig - host - and ping commands can be used to test DNS server functionality.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
48. What is the name of the package that allows you to install VNC?
browseable option
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.
You must open TCP ports 20 and 21 for the FTP server to function properly.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
49. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
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.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
service named configtest
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
50. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
used for kickstart and/or network installs
You can use the remove or erase options with yum to remove a package.
support TCP Wrappers
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