
Get Aug-2024 updated Exam EX200 Dumps with New Questions
100% Pass Guarantee for EX200 Exam Dumps with Actual Exam Questions
NEW QUESTION # 18
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:
see explanation below.
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 # 19
Which Ansible modules can be used to change the contents of a file? (Choose three correct answers.)
- A. replace
- B. patch
- C. modify
- D. insert
- E. lineinfile
Answer: A,B,E
NEW QUESTION # 20
CORRECT TEXT
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server. )
Answer:
Explanation:
# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig --list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
NEW QUESTION # 21
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 # 22
Notes:
NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM: http://instructor.example.com/pub/rhel6/dvd
ldap: http://instructor.example.com/pub/EXAMPLE-CA-CERT
- A. Install dialog package.
Answer: A
NEW QUESTION # 23
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
- A. when user try to access, automatically should mount
- B. shared directory should mount on /mnt/data on your machine.
- C. when user doesn't use mounted directory should unmount automatically after 50 seconds.
Answer: A
Explanation:
1. vi /etc/auto.master
/mnt /etc /auto.misc --timeout=50
vi /etc/auto.misc
data -rw,soft,intr server1.example.com:/data
service autofs restart
chkconfig autofs on
When you mount the other filesystem, you should unmount the mounted filesystem, Automount feature of linux helps to mount at access time and after certain seconds, when user unaccess the mounted directory, automatically unmount the filesystem.
/etc/auto.master is the master configuration file for autofs service. When you start the service, it reads the mount point as defined in /etc/auto.master.
NEW QUESTION # 24
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.
Answer:
Explanation:
see explanation below.
Explanation
1. vi /etc/auto.master
/mnt /etc /auto.misc --timeout=50
* vi /etc/auto.misc
* data -rw,soft,intr server1.example.com:/data
* service autofs restart
* chkconfig autofs on
When you mount the other filesystem, you should unmount the mounted filesystem, Automount feature of linux helps to mount at access time and after certain seconds, when user unaccess the mounted directory, automatically unmount the filesystem.
/etc/auto.master is the master configuration file for autofs service. When you start the service, it reads the mount point as defined in /etc/auto.master.
NEW QUESTION # 25
SIMULATION
SELinux must run in force mode.
Answer:
Explanation:
See explanation below.
Explanation/Reference:
Explanation: /etc/sysconfig/selinux
SELINUX=enforcing
NEW QUESTION # 26
What must be the first line of a plain text user-data configuration containing YAML configuration for cloud-init?
- A. --- cloud-config
- B. #cloud-config
- C. #!/usr/bin/cloud-init
- D. [cloud-config]
- E. cloud-config:
Answer: B
Explanation:
Explanation/Reference:
Reference https://cloudinit.readthedocs.io/en/latest/topics/examples.html
NEW QUESTION # 27
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat
Answer:
Explanation:
Answer see in the explanation.
Explanation/Reference:
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat
NEW QUESTION # 28
Configure
a HTTP server, which can be accessed through http://station.domain40.example.com.
Please
download the released page from http://ip/dir/example.html.
Answer:
Explanation:
see explanation below.
Explanation
# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
#
wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>
NEW QUESTION # 29
Create a user alex with a userid of 3400. The password for this user should be redhat.
Answer:
Explanation:
useradd -u 3400 alex
passwd alex
su -alex
NEW QUESTION # 30
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.
Answer:
Explanation:
rpm -ivh ftp://server1/example.com/pub/updates/zsh-*
or
Login to ftp server : ftp ftp://server1.example.com using anonymous user.
Change the directory: cd pub and cd updates
Download the package: mget zsh-*
Quit from the ftp prompt : bye
Install the package
rpm -ivh zsh-*
Verify either package is installed or not : rpm -q zsh
NEW QUESTION # 31
SELinux must be running in the Enforcing mode.
Answer:
Explanation:
see explanation below.
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 # 32
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:
see explanation below.
Explanation
# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile
NEW QUESTION # 33
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)
Answer:
Explanation:
# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig --list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
NEW QUESTION # 34
......
EX200 exam dumps with real RedHat questions and answers: https://www.actual4dump.com/RedHat/EX200-actualtests-dumps.html
Today Updated EX200 Exam Dumps Actual Questions: https://drive.google.com/open?id=1pGjshIwITWSokRlQsvSIO2VyKhG84vVc