RHCSA RHEL 8 - Practice Exam - Questions 1-6

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 121

  • @alexycox1347
    @alexycox1347 2 ปีที่แล้ว +16

    0:38 -1. Interrupt the boot process and reset the root.....
    5:20 -2. Repos are available from the repo server at.....
    8:04 -3. The system time should be set to your (or nearest to you).....
    11:18 -4. Add the following secondary IP addresses statically.....
    15:55 -5. Enable packet forwarding on system.....
    18:30 -6. System1 should boot into the multiuser target by default and boot messages.....

    • @DEENISDUNIA
      @DEENISDUNIA ปีที่แล้ว

      hey guys great video is it rd.break/enforcing=0 or backwards rd.break\enforcing=0 i see the slash ???????????????????or is there no slash ???
      rd.break enforcing=0?????

  • @firemaniac12345
    @firemaniac12345 3 ปีที่แล้ว +6

    Thnx a lot... Your videos helped a lot in my passing of RHCSA...

  • @grailph
    @grailph 3 ปีที่แล้ว +9

    Thank you for this, this gives me the confidence to take the exam this coming weekend.

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +1

      All the best for your exam!

    • @STTEBID
      @STTEBID 3 ปีที่แล้ว +2

      How did the exam go for you John? Was this preparations helpful?

    • @SK-PODCAST
      @SK-PODCAST 3 ปีที่แล้ว +3

      @@STTEBID he failed

  • @blade25qmay83
    @blade25qmay83 4 ปีที่แล้ว +3

    You are Awesome!!!

  • @DEENISDUNIA
    @DEENISDUNIA ปีที่แล้ว +1

    hey guys great video is it rd.break/enforcing=0 or backwards rd.break\enforcing=0 i see the slash ???????????????????or is there no slash ???
    rd.break enforcing=0?????

    • @Daniel-tx6vk
      @Daniel-tx6vk 9 หลายเดือนก่อน +1

      Hi. The \ is appears automatically to point the line break. You don't have to manually write it.

    • @DEENISDUNIA
      @DEENISDUNIA 9 หลายเดือนก่อน +1

      @@Daniel-tx6vk ahh yes I tried doing that and first I did it wrong thank you so much much love from a New York Linux student

  • @alexstoubis890
    @alexstoubis890 4 ปีที่แล้ว +1

    At 13:02 , you have enabled 2 interfaces from Virtualbox or with a command that i 've possibly missed?
    Thanks for this work!
    Cheers,
    Alex

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว +2

      As part of the original build there were two interfaces on that server.

  • @dablakmark8
    @dablakmark8 9 หลายเดือนก่อน

    i got no IT background only a windows power user.Been using linux for a year but not in depth, just internet and watching movies and a little bit of cli.I got a+.thats it.
    I did a bootcamp course of rhel and am now at the disk partition stage, and i am lost,o forgot everything i studied from the beginning causei took a break from the course for 2 months.I am over an old man trying a young mans game,Is it possible for me to dive into this when my career for all my life was in automotive field.I want to change careers and was hoping to get the system admin then the engineering then aws and work remotely around the world.
    What is the beest way t ostudy this and pass

  • @issamnaouali1574
    @issamnaouali1574 ปีที่แล้ว

    Certainly! Here's the corrected text:
    Hello, I want to thank you for sharing. I am wondering if this mock exam is still available for RHCSA 9 ?

  • @missyuls1711
    @missyuls1711 2 ปีที่แล้ว

    This is an awesome video 👍🙌💯

  • @GopalPokhrel
    @GopalPokhrel 3 ปีที่แล้ว

    i didnt put + to add secondary ipv6.address at 14:45 min. or is that the right way?

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      If you are adding an additional address yes you need the +. It cannot hurt to have it added either way

  • @bfrd9k
    @bfrd9k 2 ปีที่แล้ว +1

    Resetting the root password without an autorelabel does not work. I have tried using restorecon /etc/shadow and this does not work either. It seems that the most reliable way to correct the SELinux context of /etc/shadow after changing the password is to relabel the entire filesystem... this, unfortunately, takes time.

    • @dennys884
      @dennys884 2 ปีที่แล้ว +1

      Autorelanel is the best way bro

  • @rfsiqueira25
    @rfsiqueira25 2 ปีที่แล้ว +1

    Thanks

  • @turalmirzayev112
    @turalmirzayev112 4 ปีที่แล้ว +2

    Very helpful thx. 6 -19 wait for you)

  • @mmmizery
    @mmmizery 4 ปีที่แล้ว +1

    The password reset didn't work on 8.3, any ideas? had to do a touch/.autorelabel even if i'd done enforcing=0 after rd.break. i notice my grub config has additional entries compared to yours too "ro crashkernel=auto"

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว

      Did you add a new line or anything like that?

    • @josephnduati1214
      @josephnduati1214 4 ปีที่แล้ว

      Thanks Colin for your videos. Immediately after reboot and logging in with the new password, do #restorecon /etc/shadow and as always, eventually make sure that selinux is in enforcing mode.

    • @mmmizery
      @mmmizery 4 ปีที่แล้ว

      @@compsecgadgets nope nothing.

  • @FantasyPitzy
    @FantasyPitzy 3 ปีที่แล้ว

    Hi! Please, why did you mount sysroot as read only at the end?

  • @randoman1337
    @randoman1337 4 ปีที่แล้ว +1

    Thank you!

  • @gabrielex
    @gabrielex 3 ปีที่แล้ว +1

    Hi, thanks for the video, very informative, I'm not that acquainted to nmcli though and isn't ifconfig deprecated?
    Shouldn't ip command be used in place of it?

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +2

      Yeah old habits die hard 😁 Ip is the better command to use going forward

    • @gabrielex
      @gabrielex 3 ปีที่แล้ว +1

      @@compsecgadgets to be honest I prefer the output from ifconfig too, took me a while to switch!
      What about nmcli, can I use ip for that too? In that case I prefer the latter, I find nmcli confusing and overly complicated but maybe that's just because I don't use it.

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      Doesn't matter really how you achieve the result only thing it must be persistent

  • @nekidfrog
    @nekidfrog 3 ปีที่แล้ว +2

    where did you get the vm's for this practice test?

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +1

      Check out my environment setup video: th-cam.com/video/YPN7FJlVPxI/w-d-xo.html

  • @jayavidhya8637
    @jayavidhya8637 3 ปีที่แล้ว

    Hi rhel8 exam where u can find the ctrl+alt+del cmd for edit the kernel

  • @thelearner761
    @thelearner761 3 ปีที่แล้ว +1

    do we need to add ipv4.method manul in question number 4 ?

  • @irasemagonzalez2989
    @irasemagonzalez2989 3 ปีที่แล้ว +1

    Do you have a video on how to set up a lab for practicing these type of questions?

  • @nsmcny
    @nsmcny 4 ปีที่แล้ว +1

    Hi, The exam was taken on "mother" Redhat with KVM guest inside where the exam happened? nor with virtual box. Thanks in advance.

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว

      Kvm is essentially the same thing but on Linux. Virtualbox is used because most of us have Windows Desktops 😀

    • @nsmcny
      @nsmcny 4 ปีที่แล้ว

      @@compsecgadgets Yes of course, I am aware about it since the beginning, but real exam is happening on KVM nor Virtualbox? Thanks.

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว +1

      As per here: www.reddit.com/r/redhat/comments/b5sk8n/kvm_for_rhcsa/

  • @inoMadv64
    @inoMadv64 4 ปีที่แล้ว +1

    Why not drop "setenforcing=0" do everything the same way but do "touch /.autorelabel" after changing the password and then reboot?

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว +1

      Auto Relabel takes a very long time, in the exam I would suggest you don't use it.

    • @inoMadv64
      @inoMadv64 4 ปีที่แล้ว +1

      @@compsecgadgets thank you for your reply. I was just wondering whether it would work or not. Thank you for confirming and letting me know that your method is faster. I really appreciate it!

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว +1

      No worries glad to help! 😀

  • @jaypatel721
    @jaypatel721 2 ปีที่แล้ว

    Hi, do you have any updates for 2022

  • @simplydevops
    @simplydevops 3 ปีที่แล้ว

    Very helpful 👍

  • @johnsmithux631
    @johnsmithux631 2 ปีที่แล้ว

    Hey there, awesome videos, really helpful
    I have a question though...
    Is packet forwarding still in the exam?
    I have tried your solution and everything i could find on the internet but no matter what I try it just won't persist after boot.
    I get always 1.
    Packet forwarding was enabled by default
    Thanks for any answer in advance :)

  • @chrisjoseblanche4248
    @chrisjoseblanche4248 3 ปีที่แล้ว

    where can we find the file with the questions?

  • @saleemshaikh7676
    @saleemshaikh7676 3 ปีที่แล้ว

    Even after editing grub options and doing ctrl+x as shown in the video for Q1. my system is booting normal. its not going into emergency mode.. am I missing any step? plz let me know

    • @emperornugz89
      @emperornugz89 2 ปีที่แล้ว

      had the same issue, i think the boot process does not work the same with all hypervisors or architectures (arch64 vs arm). I could not get it to run properly w/ my M1 mac running utm and RHEL-9 arm version but could with my older intel mac running virtualbox with the arch64 version

  • @galenkivamshi6847
    @galenkivamshi6847 3 ปีที่แล้ว +1

    Hello Mr. England,
    Hope you're doing good. I have tried the rd.break process with enforcing=0 and it worked for the first time. However, after I reboot I couldn't login and it says incorrect password. I would really apprecite you providing a solution for this.
    Thanks and Regards,
    Vamsidhar Galenki

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +1

      Hi Vamsidhar,
      All good thanks! Hope you are good. It appears Red Hat have changed their advice more recently back to following: access.redhat.com/solutions/3889671
      Kind Regards,
      Colin

    • @Franchyze923
      @Franchyze923 3 ปีที่แล้ว

      Same happened to me when I used the mount -o remount,ro / method. I ended up doing the old method which was covered in a prior video where you reboot the machine and run restorecon /etc/shadow

    • @Objazdówki
      @Objazdówki 3 ปีที่แล้ว +2

      After You login with Your newly set root password, execute following commands:
      restorecon -Rv /etc/shadow
      setenforce 1
      it shall make Your password reset proof

    • @Bearleaux
      @Bearleaux 2 ปีที่แล้ว

      The missing line before exiting is this: sh-4.4# touch /.autorelabel Run that after changing the password, then instead of reboot you can simply "exit", then "exit" again and it will resume from the break.

  • @emtiazahmedemon
    @emtiazahmedemon 4 ปีที่แล้ว +1

    During putting rd.break at the end of the line, if I change the ro to rw it will mount the system not in readonly mode but in read/write mode. Any disadvantages of using that?
    Also, in our classroom instruction we were taught to put console=tty1 with rd.break, is it manadatory?

  • @kihunkim9122
    @kihunkim9122 ปีที่แล้ว

    Is the real exam like this level? or way more difficult? and also similar concepts? because LVM questions are occupied quiet a lot

    • @dbrine
      @dbrine ปีที่แล้ว

      Harder. need to know these as well.

  • @herlanyuswanul6331
    @herlanyuswanul6331 3 ปีที่แล้ว

    i use that repo and there's nothing happen. Failed to synchronize cache for repo AppStream and BaseOS. that is the error i got. please help

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      Do a yum repolist to check what you see there?

    • @herlanyuswanul6331
      @herlanyuswanul6331 3 ปีที่แล้ว

      @@compsecgadgets nothing. Just my new repo with link above

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      Do a yum clean all see if that helps. Also check if you can ping something like Google to test internet connectivity

    • @BKUnderstanding
      @BKUnderstanding 3 ปีที่แล้ว

      @@herlanyuswanul6331 Did you fix this? I'm having the same exact problem as we speak. I pinged google and amazon and it was a success. Is the repolink inactive now?

    • @herlanyuswanul6331
      @herlanyuswanul6331 3 ปีที่แล้ว

      @@BKUnderstanding no. I use another machine.

  • @dennisdistrict6205
    @dennisdistrict6205 3 ปีที่แล้ว

    In the Last step i cant mount on / (cant find UUID) filesystem is xfs ! Can you help me?

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      Try running blkid to make sure you have the right UUID?

    • @jimmyha2050
      @jimmyha2050 3 ปีที่แล้ว +1

      @@compsecgadgets or lsblk --output--all

  • @sylviengonkot3668
    @sylviengonkot3668 3 ปีที่แล้ว

    Hi, Excellent video. But I have a frustration where I am unable to obtain the repositories. even thought I have the AppStream and BaseOs configure and enabled, no repo. Can someone be an assistance?

    • @MuhammadShahzad-fd2kw
      @MuhammadShahzad-fd2kw 3 ปีที่แล้ว

      Are you setting up online repo or it's from media disc. If it is configured from local media disc then you need to mention path in the both baseos and appstream file which are located /etc/yum.d/repos

    • @ykw8398
      @ykw8398 2 ปีที่แล้ว

      same here getting “Failed to Synchronize Cache For Repo ‘repo_name’, Ignoring This Repo”

    • @ykw8398
      @ykw8398 2 ปีที่แล้ว

      can anyone help?

  • @sagartalwaray8670
    @sagartalwaray8670 4 ปีที่แล้ว

    Hi I found these questions very useful can u share from to get such questions for practice.

  • @rnkl0707
    @rnkl0707 3 ปีที่แล้ว

    what is specifications of your host machine. which laptop is best for setting the RHCSA practise lab. please suggest some good laptop.

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +1

      Its nothing special a 6 core processor + 16GB RAM. Most decent laptops nowadays will have more than that.

  • @venom21wow
    @venom21wow 3 ปีที่แล้ว +1

    Do you have a way we can make these 2 servers?

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      Yeah follow this video, times two th-cam.com/video/48-Cd7jipsQ/w-d-xo.html

  • @ykw8398
    @ykw8398 2 ปีที่แล้ว

    hi the dnf repos do not work, could you advise?

    • @dbrine
      @dbrine ปีที่แล้ว

      dnf update or/and yum repolist

  • @venom21wow
    @venom21wow 3 ปีที่แล้ว

    Does anyone know the container questions on the test ? something about systemd and logs?

  • @tomodachi8415
    @tomodachi8415 3 ปีที่แล้ว

    rhcsa exam question are the same or different?

  • @andthesunsets
    @andthesunsets 3 ปีที่แล้ว

    I tried to change the password on the repo, but it didn't work. Why's this?

    • @andthesunsets
      @andthesunsets 3 ปีที่แล้ว

      After some research, it was selinux making some files read-only so no password will work. If we don't do the enforcing=0 and do the touch /.autorelabel, then this problem does not show up. I would not recommend doing enforcing=0 as it also makes the selinux permissive on the other side of the reboot.

    • @Y3llowMustang
      @Y3llowMustang 3 ปีที่แล้ว

      @@andthesunsets There are a couple of steps you have to perform after changing the root password if you go the enforcing=0 route. You need to restorecon /etc/shadow then setenforce 1 to reenable selinux. I've been doing it this way and experience no issues.

  • @pascalodode3441
    @pascalodode3441 2 ปีที่แล้ว +2

    Thank very much, this is helpful for me.
    Hope they will give 2 separate different link for both repository( BaseOS and AppStream) for my exam that day. 🙏🏼

    • @littlefrank90
      @littlefrank90 2 ปีที่แล้ว

      What would the alternative be?

  • @robd.2466
    @robd.2466 4 ปีที่แล้ว

    hm. i still need to change the shadow file label after the first step. selinux was throwing a fit

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว

      Did you set the enforcing=0 after rd.break?

    • @robd.2466
      @robd.2466 4 ปีที่แล้ว

      @@compsecgadgets Yes. I can login with enforcing=0. But when switched to enforcing, it will not boot after that change. Still need to relabel shadow file. *shrugs* . Thanks again for the content. Very helpful. :)

  • @nickouttacontrol4980
    @nickouttacontrol4980 3 ปีที่แล้ว

    Can anyone help w/ #2? I legit failed the exam cause of that. To add remote repositories dnf config-manager alone doesn’t work.

    • @manny8717
      @manny8717 3 ปีที่แล้ว

      #dnf config-manager --add-repo link

  • @sylviengonkot3668
    @sylviengonkot3668 3 ปีที่แล้ว

    Failed to synchronize cache for repo 'AppStream', ignoring this repo.
    Failed to synchronize cache for repo 'BaseOS', ignoring this repo.

  • @naseeruddin6192
    @naseeruddin6192 4 ปีที่แล้ว +2

    Do you have more practice tests with solutions? Or are you going to have more practice tests?

    • @compsecgadgets
      @compsecgadgets  4 ปีที่แล้ว

      Unfortunately not this is the only official free practice test I can find.

  • @drmanhattan225
    @drmanhattan225 3 ปีที่แล้ว +1

    Lots of great content on this account. Subscribed! I'm brand new to Linux and I'd like to go for RHCSA. Would you recommend something like LPI Linux essentials to start with?

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว

      I've not done the LPI essentials but it looks pretty good. Thanks for subscribing!

  • @driznacc
    @driznacc 8 หลายเดือนก่อน

    I'm unable to join our discord channel;Says unable to accept invite

    • @compsecgadgets
      @compsecgadgets  4 หลายเดือนก่อน

      Try this one discord.gg/hHwyWngd

  • @mikkecm
    @mikkecm 4 ปีที่แล้ว +1

    I went to the red hat page but can't find the document you're using in this videos. Where can I find it?
    Thanks a lot by the way!

    • @david2358
      @david2358 4 ปีที่แล้ว +1

      @Miguel, u can't find it on redhat page, he is trying to make ur life easier by preparing this document for you.

  • @tanobirahmed2180
    @tanobirahmed2180 3 ปีที่แล้ว

    any RHCE ansible practice exam ?

  • @quickmiester
    @quickmiester 3 ปีที่แล้ว

    mind sharing the slack invite? hope to learn them before watching

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +1

      Hey try this: Join my Slack workspace! join.slack.com/t/redhat-certs/shared_invite/zt-k6ew2jxh-fnBYw2Pw4~PQQE~Nse~wCQ

    • @quickmiester
      @quickmiester 3 ปีที่แล้ว

      @@compsecgadgets thanks! my exam is on monday so im getting dumps/samples as much as i can..SA rule of thumb practice, practice, practice..😁

    • @compsecgadgets
      @compsecgadgets  3 ปีที่แล้ว +1

      Best of luck buddy! 👍

  • @mikemosisi6730
    @mikemosisi6730 4 ปีที่แล้ว

    What’s the root password?