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. A slave DNS server provides...
Typing the mail or mutt command allows you to read mail from the command line.
chkconfig—list
repquota
load balancing and redundancy benefits
2. What is the virsh command used for?
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 four types of DNS servers are master - slave - caching-only - and forwarding.
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 virsh command is used to manage virtual guests.
3. What command-line program can you use to check your mail?
Use the top command to view CPU and memory usage.
Physical volumes - volume groups - and logical volumes.
getsebool
Typing the mail or mutt command allows you to read mail from the command line.
4. How do you run a command with elevated privileges?
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
used for kickstart and/or network installs
5. What command do you use to report information on quota usage?
repquota
Dovecot supports the POP3 - POP3S - IMAP - and IMAPS protocols.
LUKS encryption
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
6. You must dictate the ____________ you want allocated to your virtual machine when you create it.
The lastlog and faillog commands are used to view user login-related events?
amount of RAM
A virtual host is a way of hosting multiple sites using a single IP address.
By combining a TFTP server - PXE boot - and DHCP server - you can fully automate the kickstart installation process.
7. What command is used to create a user for Samba?
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 smbpasswd command is used to create Samba users.
The nfsstat command can be used to view NFS statistics.
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.
8. What is the name of the package used to install an FTP?
The vsftpd package is used to install an FTP server.
By defining a %post section - you can run scripts after a kickstart installation is complete.
useradd -c "Jr Admin" George
Use the top command to view CPU and memory usage.
9. What option at the GRUB boot menu can you use to append something to a kernel?
The htpasswd command can be used to password-protect a web page.
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
The rndc utility provides a method for managing the DNS server remotely and securely.
The file that stores usernames and their encrypted passwords is erased and replaced with a new file.
10. What command is used to create an RPM package?
The yum and rpm commands are used for package management.
rpmbuild
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The htpasswd command can be used to password-protect a web page.
11. If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository - are RHEL5 systems able to use it?
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.
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
The rndc utility provides a method for managing the DNS server remotely and securely.
generates errors under Red Hat Enterprise Linux 6
12. What port does the Apache web server run on - What about HTTPS?
Apache uses port 80 for HTTP and port 443 for HTTPS.
service named configtest
Use the yum groupinstall command to install multiple packages in a single group at once.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
13. What does the rdnc-confgen command do?
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The format of the /etc/shadow file is <username>:<encrypted password>:<last passwd change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.
You can use the sudo command to run a command with elevated privileges provided you have the rights in the /etc/sudoers file.
14. How would you view all Boolean options for the HTTP service?
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.
lvdisplay
RAID 0 (Striping) - RAID 1 (Mirror) - and RAID 5 (Striping with parity).
getsebool -a | grep http
15. What is the difference between an A record and a PTR record?
The lastlog and faillog commands are used to view user login-related events?
An A record translates translated hostnames to IP addresses - and a PTR record works the other way around.
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 two main config files are master.cf and main.cf.
16. Which file shows you all the client IP addresses?
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
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
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.
17. What benefit does a web proxy provide to your network?
Apache uses port 80 for HTTP and port 443 for HTTPS.
A web proxy can provide multiple benefits - including security - web page caching for faster load times - and load balancing.
lvdisplay
You can use the authconfig-tui command or the authconfig command.
18. Should you allow remote root access - Why or why not?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. The at command is used to ____________. The cron service handles reoccurring system jobs.
The mount command lists all currently mounted file systems.
The du and df commands are used to view available space on the system.
schedule one-time-only jobs
chkconfig sshd off
20. To create a RAID or LVM partition using kickstart
A user's home directory is created under the /home directory.
Kickstart supports both basic and advanced partitioning (RAID/LVM).
halts the system
ifconfig
21. What file needs to be edited so that the system will mount a file system at boot time?
Enforcing during installation
The /etc/fstab file.
createrepo
The vsftpd package is used to install an FTP server.
22. What does it mean if you ping a host and you receive the response Destination Unreachable?
A virtual host is a way of hosting multiple sites using a single IP address.
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
You can use the authconfig-tui command or the authconfig command.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
23. What is the /var/lib/nfs/etab file used for?
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
chkconfig xinetd --list
By default - the rndc utility listens on port 953.
SELinux provides enhanced granular security for the Linux operating system.
24. What command can you use to create a file system?
mkfs.ext4
rpmbuild
cat /proc/mdstat
The lftp command can be used on a client to test FTP server connections.
25. Samba servers can...
getsebool -a | grep http
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 rpm command can operate in install - query - or verify modes.
serve both files and printers to users
26. 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
27. The ____________ is available for each share.
The anonymous_enable=YES option in the main config file allows anonymous uploads.
browseable option
getfacl
Use the setgid flag to create the appropriate permissions (chmod 2770).
28. What is PAM used for?
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.
enabled by default
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
support TCP Wrappers
29. What are the two types of back-end authentication mechanisms discussed in this chapter?
support for TCP Wrappers
entering rescue mode and repairing the problem.
This chapter described tdbsm and smbpasswd back-end authentication.
The /var/log/audit/audit.log file contains all policy violations.
30. 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
31. What port does NFS use by default?
The NFS service uses TCP port 2049 by default.
chkconfig sshd off
lvdisplay
The last rule is always an implicit deny statement rejecting anything that wasn't matched by previous rules.
32. What does the partprobe command do?
Physical volumes - volume groups - and logical volumes.
support for TCP Wrappers
The /var/liv/dhcpd/dhcpd.leases file contains all clients IP address currently in use.
The partprobe command forces the kernel to reread the partition table. You should always call it after making any changes to your system partitions.
33. 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
34. What command can you use to manage system services?
By default - the rndc utility listens on port 953.
The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server.
The service command is used to start - stop - and manage system services.
user's home directory in the /etc/skel directory
35. What is the superblock used for?
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
lvdisplay
The lftp command can be used on a client to test FTP server connections.
The superblock is a structure that contains metadata of the file system. If this becomes corrupt - you are in trouble.
36. What port on the firewall needs to be open for the TFTP server to work?
The five directories are BUILD - RPMS - SOURCES - SPECS - and SRPMS.
chkconfig xinetd --list
The TFTP server uses UDP port 69.
The /etc/dhcp/dhcpd.conf file is the main config file for the DHCP service.
37. What command can you use to view NFS statistics?
defining a %pre section although it is rarely used
The nfsstat command can be used to view NFS statistics.
The du and df commands are used to view available space on the system.
Physical volumes - volume groups - and logical volumes.
38. What two commands are used for package management?
After the ntpd service is stopped - you can use the ntpdate <server> command to update/sync the time.
support for TCP Wrappers
By default - the rndc utility listens on port 953.
The yum and rpm commands are used for package management.
39. What command can you use to view system processes and their CPU usage?
By entering the GRUB boot menu - you can choose the a option to append something to the kernel command-line options.
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
Upstart. The Upstart utility is now used in the boot process for Red Hat Enterprise Linux 6.
Use the ps command to view processes and their CPU usage.
40. The exportfs command is used to...
By defining a %post section - you can run scripts after a kickstart installation is complete.
The smbpasswd command is used to create Samba users.
You can use the authconfig-tui command or the authconfig command.
export one or all resources
41. What client-side command can you use to test your FTP server connection?
No. Red Hat Enterprise Linux 6 uses a different key to sign its packages.
You add your action to the end of the /home/user01/.bashrc file.
After you connect to a hypervisor - you can use virsh list —all to list all virtual guests.
The lftp command can be used on a client to test FTP server connections.
42. What command can you use to view mounted Samba shares?
The htpasswd command can be used to password-protect a web page.
By using centralized authentication - you don't need to re-create or maintain multiple accounts across every system in your organization.
The smbstatus command shows you currently mounted Samba resources.
Uncomment the following line in the /etc/rsyslog.conf file: #$ModLoad imudp.so #$UDPServerRun 514
43. What port does the DHCP server listen on by default?
Using the chcon command - you can change the context of a file to work with Apache.
The yum and rpm commands are used for package management.
The /var/lib/nfs/etab file is used to keep track of currently exported resources.
The DHCP server listens on port 67 by default.
44. What is NAT - How is it used?
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.
schedule one-time-only jobs
The rdnc-confgen command generates an rndc.conf file for the rndc utility.
The gateway is incorrectly set - and the subnet of the host you are trying to reach is inaccessible.
45. What command can you use to create your own repositories?
createrepo
chcon
via the command line
A user's home directory is created under the /home directory.
46. How can you verify the status of the SSH service after the system has booted?
Use the ps command to view processes and their CPU usage.
This command reboots virtual guest Client04.
Use the resize2fs command to grow a file system.
service sshd statuts
47. What are the three modes in which the rpm command can operate?
getsebool -a | grep http
The file system where quotas will be implemented must be mounted with the usrquota and grpquota options before quotas will work properly.
The rpm command can operate in install - query - or verify modes.
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.
48. How can you change the security context of a directory to work with Apache?
Using the chcon command - you can change the context of a file to work with Apache.
The dig - host - and ping commands can be used to test DNS server functionality.
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.
Use the ps command to view processes and their CPU usage.
49. What command can you use to create a new SSL certificate?
halts the system
browseable option
Use the /usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the /etc/pki/dovecot/dovecot-openssl.cnf file.
The lftp command can be used on a client to test FTP server connections.
50. Red Hat Enterprise Linux 6 is the only version that officially supports _______
The dig - host - and ping commands can be used to test DNS server functionality.
choose which mode you'd like it to operate in
semanage boolean -l
LUKS encryption
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