100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

RHCSA Practice Test Questions and Answers All Correct

Rating
-
Sold
-
Pages
16
Grade
A+
Uploaded on
18-08-2024
Written in
2024/2025

RHCSA Practice Test Questions and Answers All Correct What command can be used to see disk usage - Answer-du -sh <path> Ex: du -sh /etc What command can be used to see free disk space - Answer-df -h <path> Ex: df -h /etc What command do you use to create a bzip2 tar file - Answer-tar cfj 2 /etc What tool should be used instead of scp to transfer files between systems that is more secure - Answer-sftp Ex: sftp .2.5 /home/pi What is a more robust copy command that can be used to keep directories in sync locally and remotely - Answer-rsync What two command can you use to download an rpm from a repo - Answer-yumdownloader <package name> dnf download <package name> Ex: yumdownloader nmap Ex: dnf download nmap What does RPM stand for - Answer-Red Hat package management What command utility can manage what DNS servers are being used - Answer-nmcli What two commands can you use to resolve a DNS record - Answer-dig <hostname> getent hosts <hostname> If you want to look up what rpm a file came from on a system you need to use what command and option - Answer-rpm -qf /usr/bin/bzip2 9.x86_64 -q = quiet -f = file What package does the bzip2 command come from - Answer-bzip2

Show more Read less
Institution
RHCSA
Course
RHCSA










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
RHCSA
Course
RHCSA

Document information

Uploaded on
August 18, 2024
Number of pages
16
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA Practice Test Questions
and Answers All Correct

What command can be used to see disk usage - Answer-du -sh <path>

Ex: du -sh /etc

What command can be used to see free disk space - Answer-df -h <path>

Ex: df -h /etc

What command do you use to create a bzip2 tar file - Answer-tar cfj etc.tar.bz2 /etc

What tool should be used instead of scp to transfer files between systems that is more
secure - Answer-sftp

Ex: sftp pi@192.168.2.5 /home/pi

What is a more robust copy command that can be used to keep directories in sync
locally and remotely - Answer-rsync

What two command can you use to download an rpm from a repo - Answer-
yumdownloader <package name>
dnf download <package name>

Ex: yumdownloader nmap
Ex: dnf download nmap

What does RPM stand for - Answer-Red Hat package management

What command utility can manage what DNS servers are being used - Answer-nmcli

What two commands can you use to resolve a DNS record - Answer-dig <hostname>
getent hosts <hostname>

If you want to look up what rpm a file came from on a system you need to use what
command and option - Answer-rpm -qf /usr/bin/bzip2
bzip2-1.0.8-8.el9.x86_64

-q = quiet
-f = file

,What package does the bzip2 command come from - Answer-bzip2

What command do you use to list the available rpms that can be installed using wildcard
searching - Answer-dnf list 'keyword*'

Ex: dnf list 'bzip*'

If you want to search for a keyword in a package name you can use what command -
Answer-dnf search 'bzip'

What command and option lets you see the history of previous dnf command that were
ran - Answer-dnf history

If you wanted to perform the opposite action of a dnf command in its history you can use
what command and what option - Answer-dnf history undo <#>

Ex: dnf history undo 10

What command do you use to disable a repo - Answer-dnf config-manager --disable
<repo name>

Ex: dnf config-manager --disable rht-updates

What systemd unit does the Web Console run under - Answer-cockpit.socket

What command can be used to gather info that can then be uploaded to Red Hat
suppot portal to get support - Answer-sos

What tool does Red Hat offer to assess the environment proactively and identify threats.
What command and option do you use to enable it. - Answer-Insights client

insights-client --register

What are the two main directories where binary files are placed and what is the
difference - Answer-/usr/local/bin
/usr/local/sbin - s in sbin means system administration

What is the if statement structure in bash - Answer-if [ check condition = value ]
then
else
fi

How do you reference a variable in bash inside of double quotes - Answer-
"${var_name}"

, How do you resolve a command in bash that is inside of double quotes - Answer-"$(
command )"

What is the structure for a for loop in bash - Answer-for i in array
do command $i
done

What manual has details about the comparison operators of bash - Answer-man test

What command and option will list the crontab setup for a user - Answer-crontab -l

What command and option will let you edit a user's crontab file - Answer-crontab -e

What many fields does crontab has under a user profile and the root one located at
/etc/crontab? What is the different field? - Answer-user profile - 6
root - 7

username

What directory does user crontabs get placed in? - Answer-/var/spool/cron

If not using a set time folder for crontab's for the root user you should put the crontab
files in what directory - Answer-/etc/cron.d/

What manual has details about temp file cleanup scripts - Answer-man tmpfiles.d

What service is used for cleaning up temp files - Answer-systemd-tmpfiles-setup.service

What is the priority range of nice for a process. Which is the highest priority and which is
the lowest - Answer--20 to 19

-20 = Highest
19 = Lowest


What two commands can be used to manage password properties - Answer-passwd
chage

What chmod option need to be used to add delete only files they own - Answer-o+t

What command is use to create symlinks between files - Answer-ln

Command to create tar files - Answer-tar

What command is used to create a log entry - Answer-logger

What command is used to modify the timezone - Answer-timedatectl

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Scholarsstudyguide nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
779
Member since
3 year
Number of followers
475
Documents
15096
Last sold
6 days ago
NURSING

Here you will find everything you need in nursing Assignments, EXAMS AND TESTBANKS. For students who want to see results twice as fast. I strive for my content to be of the highest quality. Always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.

3.9

163 reviews

5
87
4
21
3
25
2
6
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions