100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA9 – Questions With Correct Solutions (100%) $10.49   Add to cart

Exam (elaborations)

RHCSA9 – Questions With Correct Solutions (100%)

 4 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA9 – Questions With Correct Solutions (100%)

Preview 2 out of 7  pages

  • October 24, 2024
  • 7
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA9 – Questions With Correct Solutions (100%)

Create Physical Volume Right Ans - pvcreate /dev/vdb

Create Volume Group Right Ans - vgcreate <name of vg> <PV 1> <PV 2>

Create a logical volume Right Ans - lvcreate -n <name> -L <size> <VG
name>

Identify disk usage Right Ans - lsblk

Create GPT partition label Right Ans - parted <disk> mklabel gpt

Create partition Right Ans - parted <disk> mkpart <name> <file-system
type> <sector start> <size>

Print disk info Right Ans - parted <disk> print

Format disk with XFS file system Right Ans - mkfs.xfs <disk>

Get disk UUID Right Ans - lsblk --fs <disk>

fstab format Right Ans - <UUID> <where to mount> <fs type> <priority> 0
0

Wait for the system to register partitions Right Ans - udevadm settle

Initialize swap partitions Right Ans - mkswap <disk>

To activate a swap space that has been initialized, you can execute: Right
Ans - swapon -a

Command to register client to Red Hat Insights Right Ans - insights-client --
register

Create six files ending with their number in one command Right Ans -
touch file{1..6}

, Create multiple directories in one command Right Ans - mkdir -p
D1/D2/{D3,D4,D5}

append timestamp to a file Right Ans - mv file file$(date +%F)

File that determines password aging Right Ans - /etc/login.defs

Create group with a GID Right Ans - groupadd -g <GID> <group>

Admin format for sudoers file Right Ans - %group ALL=(ALL) ALL

Create user and add to group Right Ans - useradd -G <group> <user>

Determine date 90 days in the future Right Ans - date -d "+90 days" +%F

Set account expiry date Right Ans - chage -E <date> <user>

Change when new password is required Right Ans - chage -M <days>
<user>

Force password change on first log in Right Ans - chage -d 0 <user>

chown ownership Right Ans - chown group:user

setgid for folder Right Ans - chmod 2xxx <folder> | chmod g+s <folder>

Change default umask for a user Right Ans - echo "umask xxx" >>
~/.bashrc

setuid Right Ans - chmod 4xxx example | chmod u+s example

set stickybit Right Ans - chmod 1xxx example | chmod o+t example

Where to find sealert messages Right Ans - less /var/log/messages

Check SELinux context for files Right Ans - ls -dZ

Create SELinux context Right Ans - semanage fcontext -a -t <context>
'target(/.*)?'

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

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