Red Hat RH-133 Linux System Administration Practice Exam Set 4

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 print a file named print.txt. Which of the following commands can John use to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • lp
  • a2ps
  • A,C (Correct)
  • lpr
  • lprm

Answer : A,C

Which of the following statements is true about Linux kernel? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • A,B,C (Correct)
  • It does not verify firewall rules
  • It constitutes the core part of the Linux operating system.
  • It detects hardware resources and boots up the system.
  • It allocates memory on behalf of running process.

Answer : A,B,C

Which of the following files contains the names and locations of system log files?


Options are :

  • /etc/lilo.conf
  • /usr/syslog.conf
  • /usr/lilo.conf
  • /etc/syslog.conf (Correct)

Answer : /etc/syslog.conf

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

What is the minimum RAM requirement for installing Red Hat in GUI mode?


Options are :

  • 512 MB
  • 128MB (Correct)
  • 1GB
  • 64MB

Answer : 128MB

After creating the swap area, which of the following commands will you need to run to start using it?


Options are :

  • mkfs
  • swapon (Correct)
  • swapoff
  • mkswap

Answer : swapon

Which of the following commands can be used to check the errors of the ext2 and ext3 filesystems? Each correct answer represents a complete solution. Choose two.


Options are :

  • fsck.ext3
  • fsck --ext3
  • e2fsck
  • B,D (Correct)
  • fsck --ext2

Answer : B,D

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 4

Which of the following commands helps an administrator to switch a Linux server to different run levels without rebooting the server?


Options are :

  • su
  • mount
  • cngrl
  • init (Correct)

Answer : init

Which of the following utilities is used to set ACL for files and directories?


Options are :

  • setfacl (Correct)
  • setacl
  • getfacl
  • enable acl

Answer : setfacl

Which of the following commands can be used to compress a file? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • zip
  • tar
  • gzip
  • A,B,D (Correct)
  • compress

Answer : A,B,D

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

Which of the following commands can be used to modify kernel parameters at runtime?


Options are :

  • lsdev
  • sync
  • mkinitrd
  • sysctl (Correct)

Answer : sysctl

You work as a Software Engineer for McNiel Inc. The company has a Linux-based network.The company has 150 Engineers. The root user has configured quota limits for each user. You want to view quota limits for your system. Which of the following  commands will you use to accomplish this task?


Options are :

  • edquota
  • repquota -a
  • quotacheck
  • quota -v (Correct)

Answer : quota -v

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 4

You work as the Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You are a root user on the Red Hat operating system. You want to view all files with a size of over 50 megabytes on your system. Which of the following commands should you use to accomplish the task?


Options are :

  • find size +50M
  • find -size -50M
  • find -size 50M
  • find -size +50M (Correct)

Answer : find -size +50M

You work as a Network Administrator for Tech Perfect Inc. The company has a Linux-based network. You have assigned a permission set of 440 on a folder. Which of the following permissions are added to the folder? Each correct answer represents a part of the solution. Choose all that apply.


Options are :

  • A,B,E (Correct)
  • No permission to others.
  • Read permission to the group.
  • Read permission to the owner.
  • Read and Execute permissions to the group.
  • Read and Execute permissions to the owner.
  • Read, Write, and Execute permissions to the owner and the group.

Answer : A,B,E

Which of the following files must be edited to alter the run level?


Options are :

  • /etc/init
  • /etc/inittab (Correct)
  • /etc/mtab
  • /etc/profile

Answer : /etc/inittab

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 2

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux- based network. You have to create user accounts for four new Management Trainees. You also have to create a group named MT and provide membership of this group to the new user accounts. How will you accomplish this?


Options are :

  • Use the ADDGROUP command to create the MT group. Use the ADDUSER command to create the user accounts and provide them the membership of the MT group.
  • Use the ADDUSER command to create new user accounts and the MT group. Add the users account to the group.
  • Use the USERADD command to create new user accounts and the MT group. Add the user accounts to the group.
  • Use the GROUPADD command to create the MT group. Use the USERADD command to create the user accounts and provide them the membership of the MT group. (Correct)

Answer : Use the GROUPADD command to create the MT group. Use the USERADD command to create the user accounts and provide them the membership of the MT group.

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


Options are :

  • init
  • rlevel
  • ls /etc/runlevel
  • runlevel (Correct)

Answer : runlevel

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?


Options are :

  • init 0
  • init 6
  • reboot -i (Correct)
  • shutdown -r now
  • init 3

Answer : reboot -i

Red Hat RH-133 Linux System Administration Practice Exam Set 6

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?


Options are :

  • chgrp foo bar
  • chgrp bar foo (Correct)
  • chgroup foo bar
  • chgroup bar foo

Answer : chgrp bar foo

You work as a Network Administrator for Tech World Inc. The company has a Linux-based network. The permissions on a file named Report are shown below: rwxr--r You want to add a sticky bit to the file. Which of the following commands will you use?


Options are :

  • chmod 1744 report (Correct)
  • chmod 7744 report
  • chmod 4744 report
  • chmod 2744 report

Answer : chmod 1744 report

Which of the following commands or command flags can be used to list the installed services and their associated runlevels?


Options are :

  • xconfig
  • config
  • chkconfig (Correct)
  • menuconfig

Answer : chkconfig

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

Which of the following fsck commands will you use to check all filesystems listed in /etc/fstab?


Options are :

  • fsck -y
  • fsck -P
  • fsck -f (Correct)
  • fsck -A

Answer : fsck -f

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


Options are :

  • find start -dir -cmin -60 (Correct)
  • find start -cmin -60
  • find start -dir -min -60
  • find /etc -name *.txt

Answer : find start -dir -cmin -60

Which of the following files contain the information on how init should set up the system in every run level?


Options are :

  • /etc/inittab (Correct)
  • /etc/rc.d/rc.local
  • /sbin/runlevel
  • /etc/rc.d/rc.sysinit

Answer : /etc/inittab

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 5

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 get the status of the modules currently loaded in the kernel. Which of the following commands will John use to accomplish his task? Each correct answer represents a complete solution. Choose all that apply.


Options are :

  • ls /proc
  • lsmod
  • cat /proc/modules
  • B,C (Correct)
  • locate

Answer : B,C

Which of the following commands is used to make a swap active after creating a new SWAP partition?


Options are :

  • fdisk
  • mkfs
  • swapon
  • mkswap (Correct)

Answer : mkswap

Which of the following statements is true about fdisk command?


Options are :

  • It is used to create, change, delete, or display current partitions on the hard disk. (Correct)
  • It displays or changes the filesystem label on the ext2 filesystem located on device.
  • It is used to build a Linux file system on a device, usually a hard disk partition.
  • It is used to check and optionally repair one or more Linux file systems.

Answer : It is used to create, change, delete, or display current partitions on the hard disk.

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 3

You work as a system administrator for Tech Perfect Inc. The company has a Linux-based network. You are a root user on the Linux operating system. A user, Jetson, wants to view the speed and the duplex for his Ethernet card. His ethernet card is                                                                 activated on interface eth0. Which of the following commands can you use to accomplish this task?


Options are :

  • ifup eth0
  • sudo ethtool eth0 (Correct)
  • ip link show eth0
  • ifconfig eth0

Answer : sudo ethtool eth0

Which of the following commands will you use to display the packages that depend on the package foo?


Options are :

  • rpm -q --whatrequires foo (Correct)
  • rpm -q --changelog foo
  • rpm --freshen foo
  • rpm -q --triggeredby foo

Answer : rpm -q --whatrequires foo

You work as a Network Administrator for Net World International. The company has a Linux-based network. You want to upgrade an RPM package and get the status during the upgrade. Which of the following commands will you use to accomplish the task?


Options are :

  • rpm -qvh
  • rpm -ivh
  • rpm -evh
  • rpm -Uvh (Correct)

Answer : rpm -Uvh

Red Hat RH033 Linux Essentials Engineer (RHCE) Practice Exam Set 1

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux- based network. You have received an error on your Linux server stating that the superblock is amaged. Which of the following commands will you use to resolve the issue?



Options are :

  • e2fsck (Correct)
  • fsck
  • mkfs
  • mount

Answer : e2fsck

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions