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 file needs to be edited so that the system will mount a file system at boot time?
The dig - host - and ping commands can be used to test DNS server functionality.
The /etc/fstab file.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
Using the chcon command - you can change the context of a file to work with Apache.
2. What command can you use to test the config files before starting the DNS service?
choose which mode you'd like it to operate in
service named configtest
chkconfig sshd off
mkfs.ext4
3. What command can you use to test connectivity to another host?
The TFTP server uses UDP port 69.
setsebool -P nfs_export_all_rw=1
service sshd statuts
The ping command can be used to verify connectivity to another host.
4. What two commands are used for package management?
The yum and rpm commands are used for package management.
alternatives --config mta
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
5. What option is used to allow anonymous uploads to the FTP server?
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.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
A virtual host is a way of hosting multiple sites using a single IP address.
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
6. Does a DHCP server allow reserved IP addresses - If so - how?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
choose which mode you'd like it to operate in
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.
7. What is the xinetd service used for?
By defining a %post section - you can run scripts after a kickstart installation is complete.
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
useradd -c "Jr Admin" George
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
8. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
The user_list file can be used to limit which users have access to the FTP server.
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
SELinux Booleans provide restrictions to different aspects of a service.
9. What is the last rule in the iptables file?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. What are SELinux Booleans?
SELinux Booleans provide restrictions to different aspects of a service.
The mount command lists all currently mounted file systems.
load balancing and redundancy benefits
The smbstatus command shows you currently mounted Samba resources.
11. What is a gateway used for on a network?
By default - the rndc utility listens on port 953.
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.
service named configtest
atq
12. What are the side effects of shrinking a volume group or logical volume?
The /etc/fstab file.
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
Network installations can be performed using the HTTP - FTP - and NFS protocols.
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.
13. What option can you change in the rsyslog config file to accept remote logs (acting as a centralized logging server)?
Apache uses port 80 for HTTP and port 443 for HTTPS.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
choose which mode you'd like it to operate in
14. The firewall service is...
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
By defining a %post section - you can run scripts after a kickstart installation is complete.
enabled by default
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
15. A PXE server eases the automation process but isn't required for...
kickstart installations to work
Version 2 is the latest and most secure version of SSH.
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.
Use the yum groupinstall command to install multiple packages in a single group at once.
16. What does the testparm command do?
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 four types of DNS servers are master - slave - caching-only - and forwarding.
used for kickstart and/or network installs
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
17. Place all files you want added to a _______________ during creation.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do?
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
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.
schedule one-time-only jobs
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.
19. What does the following firewall rule accomplish: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT?
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.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
The rndc utility provides a method for managing the DNS server remotely and securely.
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.
20. What is the default port that Squid runs on?
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 /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
By default - Squid runs on port 3128.
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.
21. What command can be used to easily list all the options in the FTP main config file?
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
Use the route command with the add option to create a static route.
schedule one-time-only jobs
22. What command can you use to change the context of files?
The mount command lists all currently mounted file systems.
The rpm command can operate in install - query - or verify modes.
An ext3 file system has journaling built in to it - whereas the ext2 file system doesn't.
chcon
23. Samba servers can...
getfacl
The SMTP service runs on TCP port 110.
serve both files and printers to users
The service command is used to start - stop - and manage system services.
24. Are additional packages besides httpd required for a secure website - If so - what are they?
A user's home directory is created under the /home directory.
For Apache to run a secure site - the mod_ssl package is required to be installed.
chkconfig xinetd --list
The du and df commands are used to view available space on the system.
25. What is the difference between an A record and a PTR record?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
This command reboots virtual guest Client04.
The service command is used to start - stop - and manage system services.
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.
26. The virt-install package allows you to manage virtual machines _____________. The virt-manager package allows you to manage virtual machines via a GUI interface.
choose which mode you'd like it to operate in
via the command line
SSH is used for secure remote management of Linux systems.
used for kickstart and/or network installs
27. What options with the yum command would you use to remove a package?
You can use the remove or erase options with yum to remove a package.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
Use the ps command to view processes and their CPU usage.
28. What command-line program can you use to check your mail?
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 file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
Typing the mail or mutt command allows you to read mail from the command line.
halts the system
29. What directory is used to represent the virtual file system created by the kernel?
Kickstart supports both basic and advanced partitioning (RAID/LVM).
The /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
The grep -v ^# /etc/vsftpd/vsftpd.conf command shows you all the options currently being used with the FTP server.
You must open TCP ports 20 and 21 for the FTP server to function properly.
30. What client-side command can you use to test your FTP server connection?
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.
SSH is used for secure remote management of Linux systems.
The virsh command is used to manage virtual guests.
The lftp command can be used on a client to test FTP server connections.
31. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The yum and rpm commands are used for package management.
Sendmail
32. Red Hat Enterprise Linux 6 is the only version that officially supports _______
LUKS encryption
export one or all resources
SELinux provides enhanced granular security for the Linux operating system.
The user_list file can be used to limit which users have access to the FTP server.
33. What is the top command used for?
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
amount of RAM
Use the top command to view CPU and memory usage.
The du and df commands are used to view available space on the system.
34. There are four types of DNS servers. Name them.
The four types of DNS servers are master - slave - caching-only - and forwarding.
Using the host option in the dhcpd.conf file allows you to reserve a client IP address based on its MAC address.
defining a %pre section although it is rarely used
service named configtest
35. The exportfs command is used to...
export one or all resources
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
36. Can you name three utilities that can be used for network or DNS client troubleshooting?
The three utilities are: route - ping - and nslookup.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
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.
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.
37. What two commands are special for dealing with user login events?
The lftp command can be used on a client to test FTP server connections.
The lastlog and faillog commands are used to view user login-related events?
The file that stores usernames and their encrypted passwords is erased and replaced with a new 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.
38. To create a RAID or LVM partition using kickstart
The print option is used with both the fdisk and parted commands to display the current partition tables.
alternatives --config mta
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
39. Do you need to write changes to the disk when using the parted command? What about fdisk?
getsebool
support TCP Wrappers
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.
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.
40. What is a swap? Is it created as a partition or device 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 have access to the correct packages or repositories.
rpcbind service
setsebool -P nfs_export_all_rw=1
41. The INPUT chain being used is the default under Red Hat Enterprise Linux 5. This rule...
The /var/log/audit/audit.log file contains all policy violations.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
chcon
generates errors under Red Hat Enterprise Linux 6
42. 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
43. GRUB has three stages. Can you name them?
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
The two main config files are master.cf and main.cf.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
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
44. What benefit does a web proxy provide to your network?
lvdisplay
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
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 dig - host - and ping commands can be used to test DNS server functionality.
45. What command can you use to create a password-protected page?
The TFTP server uses UDP port 69.
The htpasswd command can be used to password-protect a web page.
mkfs.ext4
The smbpasswd command is used to create Samba users.
46. What command can you use to get information about logical volumes?
lvdisplay
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
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.
You must open TCP ports 20 and 21 for the FTP server to function properly.
47. What command would you use to create a group - to add the user George to the group?
Use the groupadd command to create a group. You can then add user George with the following: usermod -G <group name> George
browseable option
generates errors under Red Hat Enterprise Linux 6
SELinux provides enhanced granular security for the Linux operating system.
48. What command do you use to change the permissions on a file or directory - To change ownership?
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
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.
rpcbind service
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
49. The ____________ is available for each share.
browseable option
alternatives --config mta
Apache uses port 80 for HTTP and port 443 for HTTPS.
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.
50. What three commands can you use to help verify that the DNS server is functioning properly?
A user's home directory is created under the /home directory.
The dig - host - and ping commands can be used to test DNS server functionality.
The /var/log/audit/audit.log file contains all policy violations.
Use the ps command to view processes and their CPU usage.
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