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. The firewall service is...
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The rndc utility provides a method for managing the DNS server remotely and securely.
The htpasswd command can be used to password-protect a web page.
enabled by default
2. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
The /var/log/audit/audit.log file contains all policy violations.
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
enabled by default
3. What is VNC?
By default - the rndc utility listens on port 953.
VNC is used to control a remote desktop session.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The mount command lists all currently mounted file systems.
4. What is the format of the /etc/shadow file?
used for kickstart and/or network installs
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
The /etc/hosts file is a local lookup file used to map IP addresses to hostnames if a DNS server isn't available.
You can use the authconfig-tui command or the authconfig command.
5. What command can you use to create a password-protected page?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
The three utilities are: route - ping - and nslookup.
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.
The htpasswd command can be used to password-protect a web page.
6. What command can you use to validate the syntax of the Apache config 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.
The nfsstat command can be used to view NFS statistics.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
service httpd configtest
7. A service needs to have _______________ to be able to use it.
The NFS service uses TCP port 2049 by default.
support for TCP Wrappers
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
8. What command is used to create an RPM package?
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
For Apache to run a secure site - the mod_ssl package is required to be installed.
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.
rpmbuild
9. What command can you use to test connectivity to another host?
VNC is used to control a remote desktop session.
By default - Squid runs on port 3128.
The ping command can be used to verify connectivity to another host.
chkconfig xinetd --list
10. What protocols are used with Dovecot?
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.
choose which mode you'd like it to operate in
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
The yum and rpm commands are used for package management.
11. What is PAM used for?
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
Sendmail
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
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.
12. What commands can you use to add a client machine to an LDAP server?
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.
user's home directory in the /etc/skel directory
You can use the authconfig-tui command or the authconfig command.
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.
13. 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.
VNC is used to control a remote desktop session.
The tcpdump command is used to monitor network connections on different interfaces.
amount of RAM
14. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
Use the ps command to view processes and their CPU usage.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
rpcbind service
15. 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
16. What command can you use to view the current ACL on a file?
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
getfacl
support TCP Wrappers
The /etc/fstab file.
17. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
Physical volumes - volume groups - and logical volumes.
The smbstatus command shows you currently mounted Samba resources.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The -t nfs option is used with the mount command to mount NFS resources.
18. 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.
amount of RAM
The two main config files are master.cf and main.cf.
This chapter described tdbsm and smbpasswd back-end authentication.
19. Runlevel 0 ___________. Runlevel 6 reboots the system.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
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 lftp command can be used on a client to test FTP server connections.
halts the system
20. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
The rpm command can operate in install - query - or verify modes.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
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.
Use the yum groupinstall command to install multiple packages in a single group at once.
21. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
generates errors under Red Hat Enterprise Linux 6
The four types of DNS servers are master - slave - caching-only - and forwarding.
The /var/log/audit/audit.log file contains all policy violations.
export one or all resources
22. Do you need to write changes to the disk when using the parted command? What about fdisk?
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
Apache uses port 80 for HTTP and port 443 for HTTPS.
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
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.
23. 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.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
enabled by default
chkconfig sshd off
24. What option is used to allow anonymous uploads to the FTP server?
browseable option
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
The du and df commands are used to view available space on the system.
25. Can you put your /boot partition on a RAID 5 array?
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.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The service command is used to start - stop - and manage system services.
service httpd configtest
26. FTP is one of three protocols ______________. The other two protocols are NFS and HTTP.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
used for kickstart and/or network installs
createrepo
Use the ps command to view processes and their CPU usage.
27. What command can you use to get information about logical volumes?
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.
Use the route command with the add option to create a static route.
lvdisplay
user's home directory in the /etc/skel directory
28. What critical step must you take after updating the kernel to a newer version?
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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.
setsebool -P nfs_export_all_rw=1
Version 2 is the latest and most secure version of SSH.
29. What command can be used to easily list all the options in the FTP main config file?
serve both files and printers to users
SSH is used for secure remote management of Linux systems.
kickstart installations to work
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
30. Red Hat Enterprise Linux 6 is the only version that officially supports _______
Typing the mail or mutt command allows you to read mail from the command line.
cat /proc/mdstat
The htpasswd command can be used to password-protect a web page.
LUKS encryption
31. There are four types of DNS servers. Name them.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
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 four types of DNS servers are master - slave - caching-only - and forwarding.
The lftp command can be used on a client to test FTP server connections.
32. What command can you use to view mounted Samba shares?
LUKS encryption
rpmbuild
The smbstatus command shows you currently mounted Samba resources.
Physical volumes - volume groups - and logical volumes.
33. What command can you use to change the context of files?
service dhcpd configtest
The service command is used to start - stop - and manage system services.
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.
chcon
34. What happens if you call the command from question 3 with the -c option after it has already been run?
By default - the rndc utility listens on port 953.
The two main config files are master.cf and main.cf.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
defining a %pre section although it is rarely used
35. What port must be opened on the firewall for DNS?
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.
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.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
DNS uses port 53.
36. What option needs to be used with the mount command to mount an NFS resource?
getsebool -a | grep http
support TCP Wrappers
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 -t nfs option is used with the mount command to mount NFS resources.
37. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
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.
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 xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The ping command can be used to verify connectivity to another host.
38. Before you work with quotas - what do you need to do to the file system?
Use the yum groupinstall command to install multiple packages in a single group at once.
cat /proc/mdstat
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
You can use the remove or erase options with yum to remove a package.
39. What command is used to create a user for Samba?
Enforcing during installation
The smbpasswd command is used to create Samba users.
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
By defining a %post section - you can run scripts after a kickstart installation is complete.
40. What command can you use to check the config file of the DHCP server?
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.
via the command line
service dhcpd configtest
Using the chcon command - you can change the context of a file to work with Apache.
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.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The tcpdump command is used to monitor network connections on different interfaces.
via the command line
user's home directory in the /etc/skel directory
42. What is the rndc utility used for?
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The rndc utility provides a method for managing the DNS server remotely and securely.
semanage boolean -l
The SMTP service runs on TCP port 110.
43. What are the five required directories when building RPMS?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The vsftpd package is used to install an FTP server.
44. What is the default port that Squid runs on?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
By default - Squid runs on port 3128.
setsebool -P nfs_export_all_rw=1
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
45. What command can you use to query Boolean values?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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 have access to the correct packages or repositories.
getsebool
46. What is the /etc/hosts file used for?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
47. What is the top command used for?
Use the resize2fs command to grow a file system.
Use the top command to view CPU and memory usage.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The service command is used to start - stop - and manage system services.
48. What is the name of the package used to install an FTP?
Network installations can be performed using the HTTP - FTP - and NFS protocols.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
The vsftpd package is used to install an FTP server.
semanage boolean -l
49. What two ports should be opened on the firewall for the FTP server to function properly?
You must open TCP ports 20 and 21 for the FTP server to function properly.
The /var/log/audit/audit.log file contains all policy violations.
amount of RAM
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
50. Can you name the two commands that can be used to view the free space on the system?
The du and df commands are used to view available space on the system.
The TFTP server uses UDP port 69.
You can use the remove or erase options with yum to remove a package.
schedule one-time-only jobs
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