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

RHCSA- Questions with Verified Solutions

Rating
-
Sold
-
Pages
19
Grade
A+
Uploaded on
12-11-2024
Written in
2024/2025

RHCSA- Questions with Verified Solutions

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
November 12, 2024
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA- Questions with Verified Solutions

how do you grab a kerberos keytab from a server? Correct Ans-wget -O /etc/krb5.keytab
http://classroom.example.com/pub/keytabs/<yourkeytab>.keytab




explain the difference between wget, wget -O and wget -O-. Correct Ans-wget <url> will pull
a file with whatever filename it has. -O <filename> <url> names the file it pulls in. -O- pulls to
stdout.




how would you specify kerberos with integrity checking in fstab for an nfs share? Correct
Ans-sec=krb5i instead of "defaults"




list the contents of serverX's smb share. Correct Ans-smbclient -L //serverX




mount serverX's smb share in your filesystem. authenticate to the share as a guest. use a
command. Correct Ans-mount -t cifs -o guest //serverX/share /<mountpoint>




won't work unless you've created the mount point already with mkdir.




how does a smb share show up in fstab? Correct Ans-//serverX/share /mountpoint cifs guest
00

,mount serverX's smb share in your filesystem. authenticate to the share as a user with the most
secure method possible. use a command. Correct Ans-mount -t cifs -o
credentials=/secure/<user> //serverX/<share> /<mountpoint>




where /secure/<user> contains:

username=<un>

password=<pw>

domain=<dn>




what's the difference between autofs for smb and nfs? Correct Ans-both require subconfigs
under auto.master.d ending in .autofs formatted as <mountpoint> /etc/auto.<share>




/etc/auto.<share> needs to be formatted as:

<sharename> -fstype=cifs,credentials=/secure/<credsfile> ://serverX/<remoteshare>




what package has to be installed for smb to work? Correct Ans-cifs-utils




what's the recommended permissions for a secure creds file for smb authentication? Correct
Ans-0600




give an overview of the boot process. Correct Ans-1) post

2) bios loads

, 3) mbr partitions checked for bootloader location

4) grub2 bootloader takes over loads os selection, waits for user

5) filesystem read on selected os, kernel loaded in memory and initialized

6) systemd loads and checks fstab

7) fstab devices are mounted, and the system is remounted on /sysroot, the kernel takes over

8) systemd looks for default target (graphical, emergency, etc) and launches to it.




how can you set a default systemd boot target? Correct Ans-systemctl set-default
<target>.target




bonus: what does rd.break actually do? Correct Ans-pauses the system before the initramfs
boot process hands off control to systemd. the prompt you get after rd.break is an initramfs
debug shell.




bonus: what does chroot do? what's a chroot jail? why use it? Correct Ans-changes the
apparent root of the filesystem tree. a chroot jail is an execution environment for a process that
doesn't allow it access to the full filesystem. it's used to isolate non-root processes from the
operating system.




bonus: why do you need to run touch /.autorelabel when doing the break-in? Correct Ans-
because passwd recreated /etc/shadow without any selinux context.

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.
TheeGrades NEWCASTLE UNIVERSITY
View profile
Follow You need to be logged in order to follow users or courses
Sold
98
Member since
1 year
Number of followers
5
Documents
13139
Last sold
2 weeks ago
THEEGRADES

Ace Your Exams with Premium Study Guides! Unlock your full potential with our expertly crafted revision materials. Whether you're prepping for exams, quizzes, or looking to solidify your understanding, we've got you covered. Our study guides, summaries, and test banks are designed to simplify complex topics and enhance your knowledge retention. What We Offer: Comprehensive Summaries: Key points made easy for quick revision. Test Banks: Practice with real exam-like questions. Exam Prep Guides: Focused content to boost your scores. Instant Access: Download and start studying immediately! Don’t just study harder—study smarter! Excel in your exams with our trusted materials. You are Welcome. SUCCESS!!!

Read more Read less
3.3

24 reviews

5
9
4
4
3
3
2
1
1
7

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