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 is the superblock used for?
user's home directory in the /etc/skel directory
getsebool -a | grep http
Apache uses port 80 for HTTP and port 443 for HTTPS.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
2. What file is used to maintain custom parameters for the kernel during system boot?
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 /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
amount of RAM
service sshd statuts
3. What command can you use to query information from the kernel about RAID arrays?
The virsh command is used to manage virtual guests.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
cat /proc/mdstat
VNC is used to control a remote desktop session.
4. What client-side command can you use to test your FTP server connection?
The lftp command can be used on a client to test FTP server connections.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
SELinux Booleans provide restrictions to different aspects of a service.
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.
5. 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
6. What command can you use to get information about logical volumes?
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 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.
lvdisplay
You add your action to the end of the /home/user01/.bashrc file.
7. What command and option do you use to view the description of Boolean values?
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
alternatives --config mta
Enforcing during installation
semanage boolean -l
8. What is the top command used for?
kickstart installations to work
alternatives --config mta
Use the top command to view CPU and memory usage.
The two main config files are master.cf and main.cf.
9. How would you view all Boolean options for the HTTP service?
getsebool -a | grep http
schedule one-time-only jobs
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
10. Through its main config file - SSH can be configured to...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. What three commands can you use to help verify that the DNS server is functioning properly?
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
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
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.
12. 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...
have the same effect
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
A user's home directory is created under the /home directory.
service httpd configtest
13. What is the virsh command used for?
ifconfig
The -t nfs option is used with the mount command to mount NFS resources.
The virsh command is used to manage virtual guests.
The smbstatus command shows you currently mounted Samba resources.
14. What is a gateway used for on a network?
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.
The lftp command can be used on a client to test FTP server connections.
service httpd configtest
The rndc utility provides a method for managing the DNS server remotely and securely.
15. What is the rndc utility used for?
The rndc utility provides a method for managing the DNS server remotely and securely.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
Use the setgid flag to create the appropriate permissions (chmod 2770).
The three utilities are: route - ping - and nslookup.
16. What command can you use to view mounted Samba shares?
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.
The smbstatus command shows you currently mounted Samba resources.
The /var/log/audit/audit.log file contains all policy violations.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
17. What command is used to create a user for Samba?
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.
service httpd configtest
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
The smbpasswd command is used to create Samba users.
18. What does S12rsyslog in the /etc/rc.d/rc2.d directory mean?
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 SMTP service runs on TCP port 110.
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
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 port does the rndc utility listen on by default?
The /etc/sysctl.conf file maintains a list of custom kernel parameters that should be applied during system boot.
The tcpdump command is used to monitor network connections on different interfaces.
By default - the rndc utility listens on port 953.
The lastlog and faillog commands are used to view user login-related events?
20. Which log file is used to keep track of policy violations?
The /var/log/audit/audit.log file contains all policy violations.
The user_list file can be used to limit which users have access to the FTP server.
SELinux provides enhanced granular security for the Linux operating system.
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
21. The firewall service is...
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
enabled by default
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.
Typing the mail or mutt command allows you to read mail from the command line.
22. What is SSH used for?
rpcbind service
The du and df commands are used to view available space on the system.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
SSH is used for secure remote management of Linux systems.
23. What does the testparm command do?
The testparm command allows you to check for syntax errors in the /etc/samba/smb.conf file.
via the command line
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 /proc directory. The /proc/sys directory is the place where you actually tune kernel parameters.
24. It is possible to run scripts before a kickstart installation. This is done by...
The DHCP server listens on port 67 by default.
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.
defining a %pre section although it is rarely used
The anonymous_enable=YES option in the main config file allows anonymous uploads.
25. 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.
service sshd statuts
The rpm command can operate in install - query - or verify modes.
Use the top command to view CPU and memory usage.
26. What command disables the SSH service from running when the system boots?
The three utilities are: route - ping - and nslookup.
chkconfig sshd off
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
generates errors under Red Hat Enterprise Linux 6
27. Which file contains all messages generated during installation that can be used for troubleshooting if the need arises?
alternatives --config mta
The -t nfs option is used with the mount command to mount NFS 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
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.
28. How would you go about creating a static route?
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.
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.
This chapter described tdbsm and smbpasswd back-end authentication.
Use the route command with the add option to create a static route.
29. How can you check the currently mounted file systems?
mkfs.ext4
ifconfig
The mount command lists all currently mounted file systems.
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
30. What option is used to allow anonymous uploads to the FTP server?
The anonymous_enable=YES option in the main config file allows anonymous uploads.
getsebool
A user's home directory is created under the /home directory.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
31. Most boot issues can be resolved by...
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.
entering rescue mode and repairing the problem.
repquota
useradd -c "Jr Admin" George
32. 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.
The service command is used to start - stop - and manage system services.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
ifconfig
33. What are the three modes in which the rpm command can operate?
The /etc/fstab file.
The ping command can be used to verify connectivity to another host.
The rpm command can operate in install - query - or verify modes.
cat /proc/mdstat
34. What command displays your current interfaces and IP address?
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.
You can use the remove or erase options with yum to remove a package.
browseable option
ifconfig
35. What command (and options) can be used to create a user named George with the description "Jr Admin"?
The /etc/exports file needs to contain any directory that you want to export - including which options you'd like to use as well.
Use the setgid flag to create the appropriate permissions (chmod 2770).
The lftp command can be used on a client to test FTP server connections.
useradd -c "Jr Admin" George
36. There are four types of DNS servers. Name them.
defining a %pre section although it is rarely used
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 superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
37. Samba servers can...
Sendmail
The anonymous_enable=YES option in the main config file allows anonymous uploads.
serve both files and printers to users
The smbpasswd command is used to create Samba users.
38. What two commands are special for dealing with user login events?
service httpd configtest
The two main config files are master.cf and main.cf.
The lastlog and faillog commands are used to view user login-related events?
browseable option
39. 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
atq
The file system where ACLs will be implemented must be mounted with the acl option before ACLs will work properly.
used for kickstart and/or network installs
40. To grow a file system
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.
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
The VNC package for Red Hat Enterprise Linux 6 is tiger-vnc.
Use the resize2fs command to grow a file system.
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. What command can you use to change the context of files?
rpcbind service
chcon
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 partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
43. 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.
mkfs.ext4
The user_list file can be used to limit which users have access to the FTP server.
The mount command lists all currently mounted file systems.
44. The portmap service was replaced by the ______________ in Red Hat Enterprise Linux 6.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
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.
rpcbind service
45. What is the main config file for the DHCP service?
amount of RAM
The user_list file can be used to limit which users have access to the FTP server.
The vsftpd package is used to install an FTP server.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
46. What command can you use to validate the syntax of the Apache config file?
service httpd configtest
SSH is used for secure remote management of Linux systems.
The three utilities are: route - ping - and nslookup.
halts the system
47. What is the point of using SELinux?
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.
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 rdnc-confgen command generates an rndc.conf file for the rndc utility.
SELinux provides enhanced granular security for the Linux operating system.
48. What happens if you call the command from question 3 with the -c option after it has already been run?
atq
The smbstatus command shows you currently mounted Samba resources.
getsebool
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
49. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)?
chkconfig xinetd --list
The smbpasswd command is used to create Samba users.
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.
alternatives --config mta
50. How can you change the security context of a directory to work with Apache?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
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.
This chapter described tdbsm and smbpasswd back-end authentication.
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