Rhcsa exam with correct answers
command is used to show or temporarily modify devices, routing, policy routing, and
tunnels. - Answer -/sbin/ip
show eth0 addre - Answer -ip addr show eth0
show eth0 addr rx tx - Answer -ip -s link show eth0
show routing table - Answer -ip route
show ipv6 routing table - Answer -Ip -6 route
Thexxx command displays or temporarily modifies the system's fully-qualified
hostname. - Answer -hostname
what is checked first by stub resolver - Answer -cat /etc/hosts
what file controls this: If an entry is not found in that file the stub resolver looks for the
information from a DNS nameserver. - Answer -cat /etc/resolv.conf
the xxx command can be used to test hostname resolution. - Answer -getent hosts
hostname
To change a NetworkManager-managed eth0 interface from using DHCP to using a
static IP address: - Answer -IPv4 Settings tab
... - Answer -On the Method drop-down menu, change Automatic (DHCP) to Manual
what are the editing interface config files? - Answer -/etc/sysconfig/network-scripts/ifcfg-
<name>, where <name> refers to the name of the device that the configuration file
controls
T/F If NetworkManager is running, any changes made to the ifcfg-* files take affect
immediately. - Answer -TRUE
where are networkmanager dns servers? - Answer -/etc/resolv.conf
where is static config? - Answer -/etc/sysconfig/network-scripts/route-<name>.
,how to set network setting manually? - Answer -NM_CONTROLLED=no to the ifcfg-*
s used to specify the fully-qualified hostname and may specify a static default route if
DHCP is not in use: - Answer -/etc/sysconfig/network
specifies the IP addresses of DNS servers and the search domain. - Answer
-/etc/resolv.conf
how to bring network interface down? - Answer -ifdown eth0
how to bring network interface up? - Answer -ifup eth0
when chg sys config, what 3 things to remember? - Answer -1. modify config 2. restart a
service 3. verify the change
What command would you use to view your current IP Address and Subnet Mask? -
Answer -ip a
In which configuration file do you set a systems hostname? - Answer
-/etc/sysconfig/network
where are network scripts? - Answer -in /etc/sysconfig/network-scripts
how to find the fqdn? - Answer -hostname
host name to ip or reverse is in? - Answer -cat /etc/hosts
what controls query? - Answer -/etc/resolv.conf
What are the two config files for Postfix called? - Answer -The two main config files are
master.cf and main.cf.
Sendmail is the default SMTP service for Red Hat Enterprise Linux 6. True or False? -
Answer -False. The default SMTP service has been changed to Postfix in Red Hat
Enterprise Linux 6.
What protocols are used with Dovecot? - Answer -Dovecot supports the POP3, POP3S,
IMAP, and IMAPS protocols.
What command-line program can you use to check your mail? - Answer -Typing the
mail or mutt command allows you to read mail from the command line.
What command can you use to create a new SSL certificate? - Answer -Use the
/usr/share/doc/dovecot-1.0.7/examples/mkcert.sh command after editing the
/etc/pki/dovecot/dovecot-openssl.cnf file.
, The virt-install package allows you to manage virtual machines via a GUI interface. True
or False? - Answer -False. The virt-install package allows you to manage virtual
machines via the command line. The virt-manager package allows you to manage
virtual machines via a GUI interface.
By default, all virtual machines are created with the same amount of RAM. True or
False? - Answer -False. You must dictate the amount of RAM you want allocated to
your virtual machine when you create it.
What is the virsh command used for? - Answer -The virsh command is used to manage
virtual guests.
What does virsh reboot Client04 do? - Answer -This command reboots virtual guest
Client04.
How can you display all virtual guests after they're connected to a hypervisor? - Answer
-After you connect to a hypervisor, you can use virsh list —all to list all virtual guests.
Red Hat Enterprise Linux 5 supports LUKS encryption. True or False? - Answer -False.
Red Hat Enterprise Linux 6 is the only version that officially supports LUKS encryption.
In Red Hat Enterprise Linux 6, SELinux is set to Enforcing by default during the
installation. True or False? - Answer -True. In Red Hat Enterprise Linux 6, the default
for SELinux is Enforcing during installation (which can be changed after the installation
completes). For Red Hat Enterprise Linux 5, you were able to choose what mode you
wanted SELinux to start in.
Which remote management service is installed by default? Can you name the port that
it uses? - Answer -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.
You can install software packages only after Red Hat Enterprise Linux is installed. True
or False? - Answer -False. 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.
The default partition layout includes only basic partitions. True or False? - Answer -
False. The default partition layout for Red Hat Enterprise Linux 5 or 6 includes the use
of LVM.
Which file contains all messages generated during installation that can be used for
troubleshooting if the need arises? - Answer -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 benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller millyphilip. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.