Latest EX200 Actual Free Exam Questions Updated 136 Questions [Q33-Q51]

Share

Latest EX200 Actual Free Exam Questions Updated 136 Questions

Free EX200 Exam Braindumps certification guide Q&A

NEW QUESTION 33
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:
see explanation below.
Explanation
Download the file to /tmp first
grep [abcde] /tmp/testfile > /mnt/answer

 

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

Answer:

Explanation:
See explanation below.
Explanation/Reference:
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 35
Consider the following Kubernetes Deployment:

With the ReplicaSet:

And the Pods:

What happens if one of the Pods is terminated with the command kubect1 pod delete?

  • A. The number of replicas in the ReplicaSet is changed to 4.
  • B. The remaining Pods are stopped and the Deployment switches to the state Failed.
  • C. The ReplicaSet immediately starts a new replacement Pod.
  • D. The remaining Pods are stopped and a new ReplicaSet is started.
  • E. The Deployment switches to the state Degraded.

Answer: A

 

NEW QUESTION 36
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com

Answer:

Explanation:
Configure the client:
Yum -y install chrony
Vim /etc/chrony.conf
Add: server classroom.example.com iburst
Start: systemctl enable chronyd
systemctl restart chronyd
Validate: timedatectl status

 

NEW QUESTION 37
Create a Shared Directory.
Create a shared directory /home/admins, make it has the following characteristics:
/home/admins belongs to group adminuser
This directory can be read and written by members of group adminuser Any files created in /home/ admin, group automatically set as adminuser.

Answer:

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

 

NEW QUESTION 38
SELinux must be running in the Enforcing mode.

Answer:

Explanation:
getenforce // Check the current mode of SELinux // SELinux runs in enforcing mode // Check getenforce 1 getenforce vim /etc/selinux/config selinux=enforcing // To temporarily enable SELinux wg sestatus

 

NEW QUESTION 39
Some users home directory is shared from your system. Using showmount -e localhost command, the shared directory is not shown. Make access the shared users home directory.

Answer:

Explanation:
see explanation below.
Explanation
* Verify the File whether Shared or not ? : cat /etc/exports
* Start the nfs service: service nfs start
* Start the portmap service: service portmap start
* Make automatically start the nfs service on next reboot: chkconfig nfs on
* Make automatically start the portmap service on next reboot: chkconfig portmap on
* Verify either sharing or not: showmount -e localhost
* Check that default firewall is running on system?
If running flush the iptables using iptables -F and stop the iptables service.

 

NEW QUESTION 40
Which of the following statements describes the principal concept behind test driven development?

  • A. All tests are generated automatically from the tested source code.
  • B. Instead of testing software automatically, manual tests are performed and logged daily.
  • C. Tests may not be written by the same development team that wrote the tested code.
  • D. Tests are written before the function / method is implemented.
  • E. The only acceptable reason to write a test is to prevent fixed bugs from occurring again.

Answer: D

Explanation:
Explanation/Reference:
Reference https://en.wikipedia.org/wiki/Test-driven_development

 

NEW QUESTION 41
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
* The owner of this document must be root.
* This document belongs to root group.
* User mary have read and write permissions for this document.
* User alice have read and execute permissions for this document.
* Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
* All users has read permission for this document in the system.

Answer:

Explanation:
see explanation below.
Explanation
cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl -m u:mary:rw /var/tmp/fstab
setfacl -m u:alice:rx /var/tmp/fstab
useradd -u 1000 bob

 

NEW QUESTION 42
Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and mounted automatically under data.

Answer:

Explanation:
fdisk /dev/vda
pvcreate /dev/vda3
vgcreate -s 16M vg0 /dev/vda3
lvcreate -n lv0 -l 20 vg0
mkfs.ext3 /dev/mapper/vg0-lv0
mkdir /data
/etc/fstab:
/dev/mapper/vg0-lv0 /data ext3 defaults 0 0
mount -a
mount | grep data

 

NEW QUESTION 43
SIMULATION
Install the Kernel Upgrade.
Install suitable kernel update from:
http://server.domain11.example.com/pub/updates.
Following requirements must be met:
Updated kernel used as the default kernel of system start-up.
The original kernel is still valid and can be guided when system starts up.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: Using the browser open the URL in the question, download kernel file to root or home directory.
uname -r// check the current kernel version
rpm -ivh kernel-*.rpm
vi /boot/grub.conf// check
Some questions are: Install and upgrade the kernel as required. To ensure that grub2 is the default item for startup.
Yum repo : http://content.example.com/rhel7.0/x86-64/errata
OR
uname -r // check kernel
Yum-config-manager --add-repo="http://content.example.com/rhel7.0/x86-64/ errata" Yum clean all Yum list kernel// install directly Yum -y install kernel// stuck with it, do not pipe! Please do not pipe!
Default enable new kernel grub2-editenv list// check
Modify grub2-set-default "kernel full name"
Grub2-mkconfig -o/boot/grub2/grub.cfg// Refresh

 

NEW QUESTION 44
Which of the following HTTP methods are used by REST? (Choose three correct answers.)

  • A. PUT
  • B. CREATE
  • C. REPLACE
  • D. GET
  • E. DELETE

Answer: A,D,E

Explanation:
Explanation/Reference:
Reference https://restfulapi.net/http-methods/

 

NEW QUESTION 45
SIMULATION
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
Use fdisk /dev/hda ->To create new partition.
Type n-> For New partition
It will ask for Logical or Primary Partitions. Press l for logical.
It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
Type the Size: +100M ->You can Specify either Last cylinder of Size here.
Press P to verify the partitions lists and remember the partitions name. Default System ID is 83 that means Linux Native.
Type t to change the System ID of partition.
Type Partition Number
Type 82 that means Linux Swap.
Press w to write on partitions table.
Either Reboot or use partprobe command.
mkswap /dev/hda? ->To create Swap File system on partition.
swapon /dev/hda? ->To enable the Swap space from partition.
free -m ->Verify Either Swap is enabled or not.
vi /etc/fstab/dev/hda? swap swap defaults 0 0
Reboot the System and verify that swap is automatically enabled or not.

 

NEW QUESTION 46
Create one partitions having size 100MB and mount it on data.

Answer:

Explanation:
see explanation below.
Explanation
1. Use fdisk /dev/hda to create new partition.
2. Type n For New partitions.
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
5. Type the Size: +100M you can specify either Last cylinder of size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
OR
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data

 

NEW QUESTION 47
Add a swap partition.
Adding an extra 500M swap partition to your system, this swap partition should mount automatically when the system starts up. Don't remove and modify the existing swap partitions on your system.

Answer:

Explanation:
fdisk -cu /dev/vda// in the way of expanding the partition, don't make main partition partx -a /dev/vda mkswap /dev/vdax swapon /dev/vdax swapon -s vi /etc/fstab
/dev/vdaxswapswapdefaults0 0
mount -a

 

NEW QUESTION 48
Search a String
Find out all the columns that contains the string seismic within /usr/share/dict/words, then copy all these columns to /root/lines.tx in original order, there is no blank line, all columns must be the accurate copy of the original columns.

Answer:

Explanation:
see explanation below.
Explanation
grep seismic /usr/share/dict/words> /root/lines.txt

 

NEW QUESTION 49
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 50
SIMULATION
Configure your Host Name, IP Address, Gateway and DNS.
Host name: dtop5.dn.ws.com
IP Address: 172.28.10.5/4
Gateway: 172.28.10.1
DNS: 172.28.10.1

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
1. Configure Host Name
vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1
2. Configure IP Address, Gateway and DNS
Configure the network by Network Manager:

Note: Please remember to choose two options:
Connect automatically
Available to all users
Click "Apply", save and exit, and restart your network services:
# Service network restart
3. Validate these profiles:
a) Check gateway: # vim / etc / sysconfig / network
NETWORKING=yes
HOSTNAME=dtop5.dn.ws.com
GATEWAY=172.28.10.1
b) Check Host Name: # vim /etc/hosts

c) Check DNS: # vim /etc/resolv.conf
# Generated by NetworkManager
Search dn.ws.com
Nameserver 172.28.10.1
d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0

 

NEW QUESTION 51
......

EX200 Certification Overview Latest EX200 PDF Dumps: https://www.prepawaypdf.com/RedHat/EX200-practice-exam-dumps.html

Top RedHat EX200 Exam Audio Study Guide! Practice Questions Edition: https://drive.google.com/open?id=1VBZj8txUEu3SDjKyOAftdf9TjcMR6KUc