Red Hat EX200 Exam Questions 2021

redhat ex200 for Red Hat certification, Real Success Guaranteed with Updated ex200 exam questions. 100% PASS EX200 EX200 Red Hat Certified System Administrator (RHCSA) Exam exam Today!

Free demo questions for Red Hat EX200 Exam Dumps Below:

NEW QUESTION 1
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
    l
    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 2
    Please open the ip_forward, and take effect permanently.

      Answer:

      Explanation: EX200 dumps exhibit vim /etc/sysctl.conf net.ipv4.ip_forward = 1
      EX200 dumps exhibit sysctl –w (takes effect immediately)
      If no “sysctl.conf” option, use these commands:
      EX200 dumps exhibit sysctl –a |grep net.ipv4
      EX200 dumps exhibit sysctl –P net.ipv4.ip_forward = 1
      EX200 dumps exhibit sysctl -w

      NEW QUESTION 3
      Successfully resolve to server1.example.com where your DNS server is 172.24.254.254.

        Answer:

        Explanation: EX200 dumps exhibit vi /etc/resolv.conf
        nameserver 172.24.254.254
        EX200 dumps exhibit host server1.example.com
        On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server.

        NEW QUESTION 4
        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 5
          Create User Account.
          Create the following user, group and group membership:
          Adminuser group
          User natasha, using adminuser as a sub group
          User Harry, also using adminuser as a sub group
          User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natashaharrysarah password is redhat.

            Answer:

            Explanation:
            groupadd adminuser
            useradd natasha -G adminuser
            useradd haryy -G adminuser
            useradd sarah -s /sbin/nologin
            Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.

            NEW QUESTION 6
            Add users: user2, user3.
            The Additional group of the two users: user2, user3 is the admin group Password: redhat

              Answer:

              Explanation: # useradd -G admin user2
              # useradd -G admin user3
              # passwd user2
              redhat
              # passwd user3
              redhat

              NEW QUESTION 7
              There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL6 Installed System is going to use as a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server. How will make successfully ping to 192.168.1.0/24 Network's Host?

                Answer:

                Explanation: EX200 dumps exhibit vi /etc/sysconfig/network GATEWAY=192.168.0.254
                OR
                vi /etc/sysconf/network-scripts/ifcfg-eth0 DEVICE=eth0
                BOOTPROTO=static
                ONBOOT=yes
                IPADDR=192.168.0.?
                NETMASK=255.255.255.0
                GATEWAY=192.168.0.254
                EX200 dumps exhibit service network restart
                Gateway defines the way to exit the packets. According to question System working as a router for two networks have IP Address 192.168.0.254 and 192.168.1.254.

                NEW QUESTION 8
                Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password".
                And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure the autofs in the following questions.

                  Answer:

                  Explanation: system-config-authentication
                  LDAP Server: ldap//instructor.example.com (In domain form, not write IP)
                  OR
                  # yum groupinstall directory-client (1.krb5-workstation 2.pam-krb5 3.sssd)
                  # system-config-authentication
                  1.User Account Database: LDAP
                  2. LDAP Search Base DN: dc=example,dc=com
                  3. LDAP Server: ldap://instructor.example.com (In domain form, not write IP)
                  4. Download CA Certificate
                  5. Authentication Method: LDAP password
                  6. Apply
                  getent passwd ldapuser40

                  NEW QUESTION 9
                  In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

                    Answer:

                    Explanation: mkdir -p /mnt/iso
                    /etc/fstab:
                    /root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a
                    mount | grep examine

                    NEW QUESTION 10
                    Configure a cron Task.
                    User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.

                      Answer:

                      Explanation:
                      crontab –e –u natasha 23 14/bin/echo hiya
                      crontab -l -u natasha // view systemctlenable crond systemcdlrestart crond

                      NEW QUESTION 11
                      Locate all the files owned by ira and copy them to the / root/findresults directory.

                        Answer:

                        Explanation: # find / -user ira > /root/findresults (if /root/findfiles is a file)
                        # mkdir -p /root/findresults
                        # find / -user ira -exec cp -a {} /root/findresults; [ if /root/findfiles is a directory] ls /root/findresults

                        NEW QUESTION 12
                        Configure the FTP service in your system, allow remote access to anonymous login and download the program by this service. Service is still running after system rebooting.

                          Answer:

                          Explanation: yum install vsftpd
                          /etc/init.d/vsftpd start
                          chkconfig vsftpd on

                          NEW QUESTION 13
                          Create a collaborative directory/home/admins with the following characteristics: Group ownership of /home/admins is adminuser
                          The directory should be readable, writable, and accessible to members of adminuser, but not to any other user. (It is understood that root has access to all files and directories on the system.)
                          Files created in /home/admins automatically have group ownership set to the adminuser group

                            Answer:

                            Explanation: mkdir /home/admins
                            chgrp -R adminuser /home/admins
                            chmodg+w /home/admins
                            chmodg+s /home/admins

                            NEW QUESTION 14
                            Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.

                              Answer:

                              Explanation: cd /usr/local
                              tar -jcvf /root/backup.tar.bz2*
                              mkdir /test
                              tar -jxvf /root/backup.tar.bz2 -C /test/

                              NEW QUESTION 15
                              The system ldap.example.com provides an LDAP authentication service. Your system should bind to this service as follows:
                              The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt
                              When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11
                              Password: password

                                Answer:

                                Explanation: EX200 dumps exhibit system-config-authentication LDAP user DN=dc=domain11,dc=example,dc=com Server= host.domain11.example.com
                                Certificate=
                                http://host.domain11.example.com/pub/domain11.crt (enter url carefully, there maybe // or ..) LDAP password
                                OK
                                starting sssd
                                EX200 dumps exhibit su -ldapuser11 Display Bash prompt #exit

                                NEW QUESTION 16
                                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.

                                  P.S. 2passeasy now are offering 100% pass ensure EX200 dumps! All EX200 exam questions have been updated with correct answers: https://www.2passeasy.com/dumps/EX200/ (111 New Questions)