RHCSA Exam Questions with Complete Solutions
Why would you use logical volume management? - Answer-it's an abstraction of the total space available on a system so a single filesystem can stretch across multiple devices. you can also use it to configure mirroring by having a single logical extent...
RHCSA Exam Questions with Complete
Solutions
Why would you use logical volume management? - Answer-it's an abstraction of the
total space available on a system so a single filesystem can stretch across multiple
devices. you can also use it to configure mirroring by having a single logical extent map
to two physical extents.
What's the process for creating a logical volume with a mount point and a filesystem? -
Answer-1) create partitions
2) create physical volume
3) create volume group
4) create logical volume
5) make the filesystem
6) create the mount point folder
7) edit fstab
8) mount -av
Show your logical volumes. show your volume groups. - Answer-lvdisplay, vgdisplay
What's the syntax for creating a named, sized logical volume? - Answer-lvcreate -n
<name> -L <size> <volumegroup>
When, and how, do you create a PE in a VG? - Answer-vgcreate -s <size> <vgname>
<pvname>
How do you automatically resize a filesystem when resizing a logical volume? - Answer-
lvextend -r, or lvresize -r if you're feeling bold
Oh no you forgot to resize the filesystem in your newly expanded lv. what do you run to
fix it? - Answer-resize2fs <lvname> with no arguments.
List off the security methods on nfs shares. - Answer-none - allows anonymous write
accress. UID assigned is nfsnobody.
sys - standard linux file permissions
krb5 - kerberos and then standard file permissions.
krb5i - integrity checking.
krb5p - encrypted kerberos.
What do you need for a kerberos-enabled nfs share? - Answer-first to be joined to the
kerberos realm and second, a keytab in /etc/krb5.keytab, provided by the authenticating
server.
, How does an nfs share appear in fstab? - Answer-serverx:/share /mountpoint nfs sync 0
0
how do you grab a kerberos keytab from a server? - Answer-wget -O /etc/krb5.keytab
http://classroom.example.com/pub/keytabs/<yourkeytab>.keytab
explain the difference between wget, wget -O and wget -O-. - Answer-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? -
Answer-sec=krb5i instead of "defaults"
list the contents of serverX's smb share. - Answer-smbclient -L //serverX
mount serverX's smb share in your filesystem. authenticate to the share as a guest. use
a command. - Answer-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? - Answer-//serverX/share /mountpoint cifs
guest 0 0
mount serverX's smb share in your filesystem. authenticate to the share as a user with
the most secure method possible. use a command. - Answer-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? - Answer-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? - Answer-cifs-utils
what's the recommended permissions for a secure creds file for smb authentication? -
Answer-0600
give an overview of the boot process. - Answer-1) post
2) bios loads
3) mbr partitions checked for bootloader location
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 Scholarsstudyguide. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.59. You're not tied to anything after your purchase.