100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam Questions with Correct Answers $12.99   Add to cart

Exam (elaborations)

RHCSA Exam Questions with Correct Answers

 5 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Exam Questions with Correct Answers What command is used to create an RPM package? - Answer-rpmbuild What are the five required directories when building RPMS? - Answer-The five directories are BUILD, RPMS, SOURCES, SPECS, and SRPMS. If a package is built on an RHEL6 system and deplo...

[Show more]

Preview 3 out of 17  pages

  • August 18, 2024
  • 17
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
Scholarsstudyguide
RHCSA Exam Questions with Correct
Answers

What command is used to create an RPM package? - Answer-rpmbuild

What are the five required directories when building RPMS? - Answer-The five
directories are BUILD, RPMS, SOURCES, SPECS, and SRPMS.

If a package is built on an RHEL6 system and deployed to a custom RHEL5 repository,
are RHEL5 systems able to use it? - Answer-No. Red Hat Enterprise Linux 6 uses a
different key to sign its packages.

What command (and options) can be used to create a user named JSmith with the
description "Jr Admin"? - Answer-useradd -c "Jr Admin" JSmith

What is the format of the /etc/shadow file? - Answer-The format of the /etc/shadow file is
<username>:<encrypted password>:<last passwd
change>:<min>:<max>:<warn>:<inactive>:<expires>:<not used>.

What command would you use to create a group? How about to add the user JSmith to
the group? - Answer-Use the groupadd command to create a group. You can then add
user JSmith with the following: usermod -G <group name> JSmith

How do you run a command with elevated privileges? - Answer-You can use the sudo
command to run a command with elevated privileges provided you have the rights in the
/etc/sudoers file.

Is it possible to share files among groups? What permissions would you set on the
directory to accomplish file sharing if possible? - Answer-Yes. You can use the setgid
flag to create the appropriate permissions (chmod 2770).

If you want a specific action to take place when user01 logs in to the system, which file
would you edit? - Answer-You add your action to the end of the /home/user01/.bashrc
file.

You can add files to a user's home directory during creation. True or False? - Answer-
True. Place all files you want added to a user's home directory in the /etc/skel directory.

By default, what is the path to a user's home directory? - Answer-A user's home
directory is created under the /home directory.

,What is the benefit to using centralized authentication? - Answer-By using centralized
authentication, you don't need to re-create or maintain multiple accounts across every
system in your organization.

What commands can you use to add a client machine to an LDAP server? - Answer-
You can use the authconfig-tui command or the authconfig command.

Kickstart can be accomplished only by using a PXE server. True or False? - Answer-
False. A PXE server eases the automation process but isn't required for kickstart
installations to work.

What port on the firewall needs to be open for the TFTP server to work? - Answer-The
TFTP server uses UDP port 69.

What three protocols can you use to perform network installations? - Answer-Network
installations can be performed using the HTTP, FTP, and NFS protocols.

Can you create a RAID or LVM partition using kickstart? - Answer-Yes. Kickstart
supports both basic and advanced partitioning (RAID/LVM).

It is possible to run scripts before a kickstart installation. True or False? - Answer-True.
This is done by defining a %pre section although it is rarely used.

What is the name of the section used to run scripts after a kickstart installation? -
Answer-By defining a %post section, you can run scripts after a kickstart installation is
complete.

What three components are needed to fully automate a kickstart installation? - Answer-
By combining a TFTP server, PXE boot, and DHCP server, you can fully automate the
kickstart installation process.



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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 Scholarsstudyguide. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73314 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart