RH133 Exam Questions

Total 302 Questions

Last Updated Exam : 18-Dec-2024

Topic 1: Volume A

John works as a Network Administrator for Perfect Solutions Inc. The company has a
Linux-based network. Due to some network security reasons, John wants to shut down all
network interfaces just before rebooting the Linux server. Which of the following commands
will he use to accomplish the task?


A.

init 3


B.

init 6


C.

init 0


D.

shutdown -r now


E.

reboot -i





E.
  

reboot -i



You work as a Network Administrator for McNeil Inc. The company has a Linux-based
network. You are a root user on the Linux system. You have to create a user named Trinity
and deny interactive login. Which of the following should you use to accomplish the task?
Each correct answer represents a part of the solution. Choose all that apply.


A.

vi /etc/passwd


B.

vi /etc/shadow


C.

useradd Trinity


D.

passwd Trinity


E.

Trinity:x:505:505::/home/Trinity:/sbin/nonlogin





A.
  

vi /etc/passwd



B.
  

vi /etc/shadow



C.
  

useradd Trinity



D.
  

passwd Trinity



E.
  

Trinity:x:505:505::/home/Trinity:/sbin/nonlogin



Which of the following commands will you run to list all files that have been modified within
the last 60 minutes?


A.

find /etc -name *.txt


B.

find start -dir -min -60


C.

find start -dir -cmin -60


D.

find start -cmin -60





C.
  

find start -dir -cmin -60



John works as a Network Administrator for Perfect Solutions Inc. The company has a
Linux-based network. John is working as a root user on the Linux operating system. He
wants to change the group membership of the file foo to group bar. Which of the following
commands will he use to accomplish the task?


A.

chgrp bar foo


B.

chgroup foo bar


C.

chgrp foo bar


D.

chgroup bar foo





A.
  

chgrp bar foo



What command will you use to find the current runlevel of an active Linux session?


A.

runlevel


B.

init


C.

rlevel


D.

ls /etc/runlevel





A.
  

runlevel



You work as a Network Administrator for McNeil Inc. The company has a Linux-based
network. You want to know the ownership of the /etc/inittab file. Which of the following
commands will you use to accomplish the task?


A.

rpm -e /etc/inittab


B.

rpm -i /etc/inittab


C.

rpm -qa /etc/inittab


D.

rpm -qf /etc/inittab





D.
  

rpm -qf /etc/inittab



Which of the following commands displays information for all filesystems that have quota
enabled?


A.

quotaoff


B.

quotaon


C.

quota


D.

quota -v





D.
  

quota -v



You want to uninstall an rpm package foo without verifying its dependencies. Which of the
following commands will you use?


A.

rpm --erase --allmatches


B.

rpm -e --allmatches


C.

rpm -e --noscript


D.

rpm -e --nodeps





D.
  

rpm -e --nodeps



You want to verify the PGP signature of all headers and signatures associated with an
RPM package. Which of the following commands will you use to accomplish the task?
Each correct answer represents a complete solution. Choose all that apply.


A.

rpm -e


B.

rpm -K


C.

rpm --checksig


D.

rpm -V





B.
  

rpm -K



C.
  

rpm --checksig



D.
  

rpm -V



John works as a Network Administrator for Perfect Solutions Inc. The company has a
Linux-based network. John is working as a root user on the Linux operating system. He
wants to check the errors of an ext2 filesystem. Which of the following commands can John
use to accomplish the task? Each correct answer represents a complete solution. Choose
all that apply.


A.

e2fsck


B.

fsck


C.

fsck -N


D.

fsck.ext2





A.
  

e2fsck



B.
  

fsck



D.
  

fsck.ext2




Page 4 out of 31 Pages
Previous