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

Exam (elaborations)

RHCSA Practice Test Questions with Correct Answers

 9 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Practice Test Questions with Correct Answers 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 permissio...

[Show more]

Preview 3 out of 17  pages

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

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.

What option can you change in the rsyslog config file to accept remote logs (acting as a
centralized logging server)? - Answer-Uncomment the following line in the
/etc/rsyslog.conf file:

#$ModLoad imudp.so - Answer-...

#$UDPServerRun 514 - Answer-...

What two commands are special for dealing with user login events? - Answer-The
lastlog and faillog commands are used to view user login-related events?

Can you name the two commands that can be used to view the free space on the
system? - Answer-The du and df commands are used to view available space on the
system.

What command can you use to view system processes and their CPU usage? -
Answer-Use the ps command to view processes and their CPU usage.

The at command is used to schedule reoccurring system jobs. True or False? - Answer-
False. The at command is used to schedule one-time-only jobs. The cron service
handles reoccurring system jobs.

What happens to jobs that are scheduled to run while the system is off? - Answer-When
the system starts up again, the cron service will run any jobs that were missed while the
system was off. On Red Hat Enterprise Linux 5, the anacron service handles this
functionality.

What command can be used to view the queue for at service jobs? - Answer-atq

What is the top command used for? - Answer-Use the top command to view CPU and
memory usage.

What is the difference between the update (-U) and install (-i) options when using rpm to
update the kernel? - Answer-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.

What directory is used to represent the virtual file system created by the kernel? -
Answer-The /proc directory. The /proc/sys directory is the place where you actually tune
kernel parameters.

What file is used to maintain custom parameters for the kernel during system boot? -
Answer-The /etc/sysctl.conf file maintains a list of custom kernel parameters that should
be applied during system boot.


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

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 $13.09. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 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
$13.09
  • (0)
  Add to cart