Sei sulla pagina 1di 11

1) You're in the middle of the Red Hat certification test and forget which LVM commands you need to

use to perform the specified tasks. What option(s) do you have?


Correct

Correct answer
man lvm, info lvm

2) Swap space can be created out of GPT-, MBR- and LVM-based partitions/volumes.
Correct

Correct answer
True

3) What are two ways to find information about swap devices enabled on the system?
Correct

Correct answer
swapon -s, cat /proc/swaps

4) The file system needs to be created on the device after the logical volume is created (lvcreate).
Correct

Correct answer
True

5) Which command is used to assign a swap signature to a device?


Correct

Correct answer
mkswap

6) Which command displays information about a swap device?


Correct
Correct answer
swapon -s

7) What command is used to inform the OS of partition table changes?


Correct

Correct answer
partprobe

8) What is the limit for primary partitions when using the MBR partition type?
Correct

Correct answer
4

9) You are extending a logical volume. To do this, you have to add the /dev/xvdj device to the volume
group "battlestar". Which command would you issue to accomplish this task?
Correct

Correct answer
vgextend battlestar /dev/xvdj

10) What is the maximum disk size for a GPT-based partition?


Correct

Correct answer
8 ZiB

11) Given the volume group "battlestar" and a physical volume in the volume group /dev/xvdf1, which
command would accurately create a 19 G logical volume out of /dev/xvdf1 with a volume name of
"galactica"?
Correct

Correct answer
lvcreate -n galactica -L 19G battlestar

12) Select the correct order of tasks for creating an LVM for the first time.
Correct

Correct answer
Create the physical volume (pvcreate), create the volume group (vgcreate), create the logical volume
(lvcreate)

13) Which file on the operating system contains information about which partitions the OS is reading?
Correct

Correct answer
/proc/partitions

14) Which file system is best used with LVM volumes?


Correct

Correct answer
XFS

15) How many primary partitions can a GPT partition table have?
Correct

Correct answer
128

16) After adding 50 GB more of physical storage to your existing volume group, you need to extend
your /dev/battlestar/galactica volume group to include an additional 20GB of storage. How might you
accomplish this task?
Correct

Correct answer
lvextend -L +20G /dev/battlestar/galactica

17) You've just increased the size of the /dev/battlestar/galactica LVM volume. This volume is mounted
in /mnt/mydir; which command would you issue for the operating system and file system to recognize
the increase in size on the device?
Correct

Correct answer
xfs_growfs /mnt/mydir

18) Which tool(s) would you use to mange GPT-based partitions?


Correct

Correct answer
gdisk, parted

19) After making partition changes, the partition changes do not appear in the /proc/partitions. How can
you force the kernel to reload the partition tables?
Correct

Correct answer
issue the partprobe command

20) For an MBR partition, what is the max disk size a partition can be?
Correct

Correct answer
2TiB

1) In Red Hat 7 EXT4, file systems have support for ACLs but generally need the option specified
during mount time.
Correct

Correct answer
True

2) Which command would move the physical extents off of the /dev/xvdg1 physical volume disk onto
another physical volume associated with the battlestar volume group?
Incorrect

Correct answer
pvmove /dev/xvdg1

3) Which command(s) are used when dealing with LVM?


Correct

Correct answer
vgextend, vgcreate

4) Some file systems must be mounted with ACL support enabled for ACLs to work on the filesystem.
Incorrect

Correct answer
True

5) Which of the following command(s) can be used to reduce the volume group by removing the
/dev/xvdg1 partition from the volume group "battlestar"?
Correct

Correct answer
vgreduce battlestar /dev/xvdg1

6) Which of the following commands would be used to extend an existing logical volume with the
name of "galactica" to a total size of 5GiB if the current size is 1GiB using the volume group
"battlestar"?
Correct

Correct answer
lvextend -L 5G /dev/battlestar/galactica

7) After using lvextend to increase the size of a logical volume, how can you modify the file system to
reflect the changes? Assume the device is mounted at /mnt/myvolume and the logical volume is
/dev/battlestar/galactica.
Correct

Correct answer
xfs_growfs /mnt/myvolume

8) Which file system has built-in ACL support?


Correct

Correct answer
XFS

 1) How do you view the status of time synchronization?


Correct

Correct answer
timedatectl

2) Which yum command(s) shows all currently installed kernels and all available kernels for a system?
Correct

Correct answer
yum info kernel, yum list kernel

3) Where are anacron jobs configured?


Correct

Correct answer
/etc/anacrontab

4) What is the best method for setting the timezone?


Correct
Correct answer
Use timedatectl set-timezone

5) Which command and option would be used to display the current kernel version?
Correct

Correct answer
uname -r

6) You've just updated the server sources in the /etc/chrony.conf configuration file. How do you apply
the changes so NTP is not looking at those sources?
Correct

Correct answer
systemctl restart chronyd

7) If a package installed on the system needs a required cron job scheduled, where is the cron config
file for the package located when the package is downloaded and installed?
Correct

Correct answer
/etc/cron.d/

8) The "at" utility wasn't installed on your Red Hat distribution by default. After running yum install at,
you notice that the at service is not running. Which command(s) could you issue to start the service?
Correct

Correct answer
systemctl start atd, systemctl restart atd

9) The user "anthony" is located in the /etc/deny.cron file. This means that all users on the system
except anthony are denied access to use the cron utility.
Correct
Correct answer
False

10) A script located in the /etc/cron.daily directory runs how often?


Correct

Correct answer
Once a day

11) You've installed the httpd package on your Red Hat Linux system. How might you view all
available or associated documentation locations that were installed with the package?
Correct

Correct answer
rpm -qd httpd

12) The /var/www/html directory has mysteriously shown up on your system. What command could
you issue to determine what software package created it? Please note: This does not search your system
but instead searches a repository for files that are created by the package.
Correct

Correct answer
yum provides /var/www/html

13) Repos listed in the /etc/yum.repos.d/ must end in .repo for them to be recognized.
Correct

Correct answer
True

14) The "at" utility wasn't installed on your Red Hat distribution by default. After running yum install
at, you notice that the at service is not running. After starting the service you want to be sure that the
atd service is enabled to start when the system boots. Which command(s) should you issue to enable
this?
Correct
Correct answer
systemctl enable atd

15) Which yum command, when provided the proper argument, displays all packages on the system
installed by yum?
Correct

Correct answer
yum list

16) The command systemctl set-default multi-user.target changes the system so that your default target
at boot time is the multi-user.target.
Correct

Correct answer
True

17) Yum packages cannot be removed without having the package dependencies removed when the
package was originally installed.
Correct

Correct answer
True

18) The tzselect command is a tool used to help "guide" you through choosing which timezone you
should configure your server for.
Correct

Correct answer
True

19) Kickstart documentation files can be found where?


Correct
Correct answer
/usr/share/doc

20) You've successfully modified the /etc/chronyd.conf configuration file to reflect a new ntp server.
How do you view and make sure the changes applied correctly?
Correct

Correct answer
chronyc sources

21) Non-privileged users on the Linux system can schedule anacron jobs.
Correct

Correct answer
False

22) By default, chronyd is the default ntp deamon on a Red Hat Enterprise 7 install.
Correct

Correct answer
True

23) Select the true statement(s) given symbols as they relate to packages and groups.
Correct

Correct answer
- means the package is not installed and will not be installed if the group is installed or updated, =
Means the package is installed and was installed as part of the group

24) Which command(s) allows you to list all available time zones?
Correct

Correct answer
timedatectl list-timezones

25) How can you determine if the httpd package is installed on a system?
Correct

Correct answer
yum list installed httpd, yum list installed | grep httpd

26) Given the following group info, what packages were installed as part of the group? Group: Security
Tools Group-Id: security-tools Description: Security tools for integrity and trust verification. Default
Packages: =scap-security-guide +openscap -hmaccalc openscap-utils
Correct

Correct answer
scap-security-guide

27) List all enabled and disabled repos on your Red Hat machine.

Correct answer
yum repolist all

28) If you forget yum commands on the exam, which are ways to get help?
Correct

Correct answer
yum help, man yum, info yum

29) Which command(s) displays all documentation files associated with the pykickstart package?
Correct

Correct answer
rpm -qd pykickstart

Potrebbero piacerti anche