Red Hat EX200 Dumps Questions 2021

We provide ex200 exam questions in two formats. Download PDF & Practice Tests. Pass Red Hat EX200 Exam quickly & easily. The EX200 PDF type is available for reading and printing. You can print more and practice many times. With the help of our ex200 exam questions product and material, you can easily pass the EX200 exam.

Online EX200 free questions and answers of New Version:

NEW QUESTION 1
We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume is mount on /data. Now you required more space on /data but you already added all disks belong to physical volume. You saw that you have unallocated space around 5 GB on your harddisk. Increase the size of lvtestvolume by 5GB.

    Answer:

    Explanation: see explanation below.
    EX200 dumps exhibit Create a partition having size 5 GB and change the syste id '8e'.
    EX200 dumps exhibit use partprobe command
    EX200 dumps exhibit pvcreate /dev/hda9 Suppose your partition number is hda9.
    EX200 dumps exhibit vgextend test0 /dev/hda9 vgextend command add the physical disk on volume group.
    EX200 dumps exhibit lvextend -L+5120M /dev/test0/lvtestvolume
    EX200 dumps exhibit verify using lvdisplay /dev/test0/lvtestvolume.

    NEW QUESTION 2
    Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.

      Answer:

      Explanation: # fdisk /dev/vda
      n
      +512M
      w
      # partprobe /dev/vda
      # mkfs -t ext4 /dev/vda5
      # mkdir -p /data
      # vim /etc/fstab
      /dev/vda5 /data ext4 defaults 0 0
      # mount -a

      NEW QUESTION 3
      Download the document from ftp://instructor.example.com/pub/testfile, find all lines containing [abcde] and redirect to /MNT/answer document, then rearrange the order according the original content.

        Answer:

        Explanation: Download the file to /tmp first
        grep [abcde] /tmp/testfile > /mnt/answer

        NEW QUESTION 4
        Configure your system so that it is an NTP client of server.domain11.example.com

          Answer:

          Explanation: #system-config-date
          Note: dialog box will open in that
          Check mark Synchronize date and time over network. Remove all the NTP SERVER and click ADD and type server.domain11.example.com
          ****************And then press ENTER and the press OK***************

          NEW QUESTION 5
          Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP Forwarding.
          1. echo "1" >/proc/sys/net/ipv4/ip_forward
          2. vi /etc/sysctl.conf net.ipv4.ip_forward=1

            Answer:

            Explanation: /proc is the virtual filesystem, containing the information about the running kernel.
            To change the parameter of running kernel you should modify on /proc. From Next reboot the system, kernel will take the value from /etc/sysctl.conf.

            NEW QUESTION 6
            Configure your Host Name, IP Address, Gateway and DNS.
            Host name: station.domain40.example.com
            /etc/sysconfig/network
            hostname=abc.com
            hostname abc.com
            IP Address:172.24.40.40/24
            Gateway172.24.40.1
            DNS:172.24.40.1

              Answer:

              Explanation: # cd /etc/syscofig/network-scripts/
              # ls
              # vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40 GATEWAY=172.24.40.1
              DNS1=172.24.40.1
              # vim /etc/sysconfig/network
              (Configure Host Name)
              HOSTNAME= station.domain40.example.com
              OR
              Graphical Interfaces:
              System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
              /etc/sysconfig/network
              (Configure Host Name)

              NEW QUESTION 7
              Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

                Answer:

                Explanation: # fdisk /dev/sda
                p
                (check Partition table)
                n
                (create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)
                Enter
                +2G t
                8 I
                82
                W
                partx -a /dev/sda
                partprobe
                mkswap /dev/sda8
                Copy UUID
                swapon -a
                vim /etc/fstab
                UUID=XXXXX swap swap defaults 0 0
                (swapon -s)

                NEW QUESTION 8
                Adjust the size of the Logical Volume.
                Adjust the size of the vo Logical Volume, its file system size should be 290M. Make sure that the content of this system is complete.
                Note: the partition size is rarely accurate to the same size as required, so in the range 270M to 320M is acceptable.

                  Answer:

                  Explanation:
                  Addition
                  df -hT
                  lvextend -L +100M /dev/vg0/vo
                  Lvscan
                  xfs_growfs /home/ //home is the mounted directory of the LVM, this step just need to do in the practice environment, and test EXT4 does not need this step.
                  resize2fs /dev/vg0/vo// use this command to update in examination. df -hT
                  OR
                  Subtraction
                  e2fsck -f/dev/vg0/vo
                  umount /home
                  resize2fs /dev/vg0/vo // the final required partition capacity is 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo/home
                  df -hT

                  NEW QUESTION 9
                  A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server. Configure your system to use this location as a default repository.

                    Answer:

                    Explanation:
                    vim/etc/yum.repos/base.repo
                    [base]
                    name=base
                    baseurl= http://server.domain11.example.com/pub/x86_64/Server
                    gpgcheck=0
                    enable=1
                    Save and Exit
                    Use yum list for validation, the configuration is correct if list the package information. If the Yum configuration is not correct then maybe cannot answer the following questions.

                    NEW QUESTION 10
                    Create a new logical volume according to the following requirements:
                    The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents. Logical volumes in the datastore volume group should have an extent size of 16 MB.
                    Format the new logical volume with a ext3 filesystem.
                    The logical volume should be automatically mounted under /mnt/database at system boot time.

                      Answer:

                      Explanation: fdisk -cu /dev/vda
                      partx -a /dev/vda
                      pvcreate /dev/vdax
                      vgcreate datastore /dev/vdax -s 16M
                      lvcreate-l 50 -n database datastore
                      mkfs.ext3 /dev/datastore/database
                      mkdir /mnt/database
                      mount /dev/datastore/database /mnt/database/ df -Th
                      vi /etc/fstab
                      /dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount -a

                      NEW QUESTION 11
                      One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical Volume, size should be increase on online.

                        Answer:

                        Explanation: EX200 dumps exhibit lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1)
                        EX200 dumps exhibit ext2online -d /dev/test0/testvolume1
                        lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize. And to bring increased size on online we use the ext2online command.

                        NEW QUESTION 12
                        Configure the permissions of /var/tmp/fstab
                        Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:
                        the file /var/tmp/fstab is owned by the root user.
                        the file /var/tmp/fstab belongs to the group root.
                        the file /var/tmp/fstab should not be executable by anyone.
                        the user natasha is able to read and write /var/tmp/fstab.
                        the user harry can neither write nor read /var/tmp/fstab.
                        all other users (current or future) have the ability to read /var/tmp/fstab.

                          Answer:

                          Explanation: EX200 dumps exhibit cp -a /etc/fstab /var/tmp
                          EX200 dumps exhibit cd /var/tmp
                          EX200 dumps exhibit ls -l
                          EX200 dumps exhibit getfacl /var/tmp/fstab
                          EX200 dumps exhibit chmod ugo-x /var/tmp/fstab
                          [ No need to do this, there won't be execute permission for the file by default]
                          # setfacl -m u:natasha:rw /var/tmp/fstab # setfacl -m u:harry:0 /var/tmp/fstab(zero)
                          [Read permission will be there for all the users, by default. Check it using ls -l /var/tmp/fstab] Verify by [ ls -la /var/tmp/fstab]

                          NEW QUESTION 13
                          Notes:
                          NFS NFS instructor.example.com:/var/ftp/pub/rhel6/dvd

                            Answer:

                            Explanation: YUM
                            http://instructor.example.com/pub/rhel6/dvd
                            ldap http//instructor.example.com/pub/EXAMPLE-CA-CERT Install dialog package.
                            yum install dialog

                            NEW QUESTION 14
                            Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.

                              Answer:

                              Explanation: nameserver is specified in question,
                              1. Vi /etc/resolv.conf
                              nameserver 192.168.0.254
                              2. host server1.example.com

                              NEW QUESTION 15
                              Make on data that only the user owner and group owner member can fully access.

                                Answer:

                                Explanation: EX200 dumps exhibit chmod 770 /data
                                EX200 dumps exhibit Verify using : ls -ld /data Preview should be like: drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
                                To change the permission on directory we use the chmod command.
                                According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data

                                NEW QUESTION 16
                                Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start.

                                  Answer:

                                  Explanation: # cd /root; wget ftp://192.168.0.254/pub/boot.iso
                                  # mkdir -p /media/cdrom
                                  # vim /etc/fstab
                                  /root/boot.iso /media/cdrom iso9660 defaults,loop 0 0
                                  # mount -a
                                  mount [-t vfstype] [-o options] device dir

                                  NEW QUESTION 17
                                  Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.

                                    Answer:

                                    Explanation: # cat /etc/testfile | while read line;
                                    do
                                    echo $line | grep abcde | tee -a /tmp/testfile
                                    done
                                    OR
                                    grep `abcde' /etc/testfile > /tmp/testfile

                                    Recommend!! Get the Full EX200 dumps in VCE and PDF From 2passeasy, Welcome to Download: https://www.2passeasy.com/dumps/EX200/ (New 111 Q&As Version)