EX200 Actual Questions Answers PDF 100% Cover Real Exam Questions
EX200 Exam questions and answers
NEW QUESTION # 72
CORRECT TEXT
Create a user named alex, and the user id should be 1234, and the password should be alex111.
Answer:
Explanation:
# useradd -u 1234 alex
# passwd alex
alex111
alex111
OR
echo alex111|passwd -stdin alex
NEW QUESTION # 73
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:
see explanation below.
Explanation
* 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
* su -ldapuser11 Display Bash prompt #exit
NEW QUESTION # 74
Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server.
Answer:
Explanation:
below
iptables -F
service iptables save
iptables -A INPUT -s 172.25.0.0/16 -j REJECT
service iptables save
service iptables restart
NEW QUESTION # 75
Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.
Answer:
Explanation:
see explanation below.
Explanation
* chmod g+s /archive
* Verify using: ls -ld /archive Permission should be like:
drwxrws--- 2 root sysuser 4096 Mar 16 18:08 /archive
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
NEW QUESTION # 76
What is the Puppet equivalent to an Ansible Playbook called?
- A. A Puppet Manifest
- B. A Puppet Catalog
- C. A Puppet Playbook
- D. A Puppet Declaration
- E. A Puppet Factsheet
Answer: B
Explanation:
Explanation/Reference:
NEW QUESTION # 77
Part 2 (on Node2 Server)
Task 2 [Installing and Updating Software Packages]
Configure your system to use this location as a default repository:
http://utility.domain15.example.com/BaseOS
http://utility.domain15.example.com/AppStream
Also configure your GPG key to use this location
http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
Answer:
Explanation:
[root@node1 ~]# vim /etc/yum.repos.d/redhat.repo
[BaseOS]
name=BaseOS
baseurl=http://utility.domain15.example.com/BaseOS
enabled=1
gpgcheck=1
gpgkey=http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
[AppStream]
name=AppStream
baseurl=http://utility.domain15.example.com/AppStream
enabled=1
gpgcheck=1
gpgkey=http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
[root@node1 ~]# yum clean all
[root@node1 ~]# yum repolist
repo id repo name
AppStream AppStream
BaseOS BaseOS
[root@node1 ~]# yum list all
NEW QUESTION # 78
Configure the NTP service in your system.
Answer:
Explanation:
see explanation below.
Explanation
system-config-date &
NEW QUESTION # 79
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any dat a. The size of logical volume 200MB to 210MB will be acceptable.
Answer:
Explanation:
First check the size of Logical Volume: lvdisplay /dev/vo/myvol
Make sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
It is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200M Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol Verify that the size comes in online or not: df -h
NEW QUESTION # 80
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Answer:
Explanation:
Answer see in the explanation.
Explanation/Reference:
# 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 # 81
An Ansible variable file contains the following content:
myapp:
option1: one
Which of the following strings can be used to reference the defined variable? (Choose two correct answers).
- A. myapp['option1']
- B. option1@myapp
- C. myapp.option1
- D. myapp{{option1}}
- E. myapp(option1);
Answer: D,E
NEW QUESTION # 82
Your System is going to use as a Router for two networks. One Network is 192.168.0.0/24 and Another Network is 192.168.1.0/24. Both network's IP address has assigned. How will you forward the packets from one network to another network?
Answer:
Explanation:
see explanation below.
Explanation
* echo "1" >/proc/sys/net/ipv4/ip_forward
* vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to
/proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on
/etc/sysctl.conf file.
NEW QUESTION # 83
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.
Answer:
Explanation:
grep seismic /usr/share/dict/words> /root/wordlist
NEW QUESTION # 84
Which security issues exist for most publicly available Vagrant boxes? (Choose three correct answers.)
- A. The vagrant user can use sudoto obtain root privileges without additional authentication.
- B. They accept SSH logins from the user vagrantwith a publicly available SSH key pair.
- C. They export their file system via NFS with full write permissions without any additional restrictions.
- D. Their whole file system, including configuration files, is writable by any user, including vagrant.
- E. They accept SSH logins from the user vagrantwith the password vagrant.
Answer: A,B,E
Explanation:
Explanation/Reference:
Reference https://www.vagrantup.com/docs/boxes/base.html
NEW QUESTION # 85
Locate all the files owned by ira and copy them to the / root/findresults directory.
Answer:
Explanation:
see explanation below.
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 # 86
SIMULATION
1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.
2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.
Answer:
Explanation:
See explanation below.
Explanation/Reference:
Explanation:
(1)find /etc -size 10k -exec cp {} /tmp/findfiles \;
(2)find / -user lucy -exec cp -a {} /tmp/findfiles \;
Note: If find users and permissions, you need to use cp - a options, to keep file permissions and user attributes etc.
NEW QUESTION # 87
Find the files owned by harry, and copy it to catalog: /opt/dir
Answer:
Explanation:
Answer see in the explanation.
Explanation/Reference:
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;
NEW QUESTION # 88
Configure autofs to make sure after login successfully, it has the home directory autofs, which is shared as
/rhome/ldapuser40 at the ip: 172.24.40.10. and it also requires that, other ldap users can use the home directory normally.
Answer:
Explanation:
see explanation below.
Explanation
# chkconfig autofs on
# cd /etc/
# vim /etc/auto.master
/rhome /etc/auto.ldap
# cp auto.misc auto.ldap
# vim auto.ladp
ldapuser40 -rw,soft,intr 172.24.40.10:/rhome/ldapuser40
* -rw,soft,intr 172.16.40.10:/rhome/&
# service autofs stop
# server autofs start
# showmount -e 172.24.40.10
# su - ladpuser40
NEW QUESTION # 89
Configure autofs to automount the home directories of LDAP users as follows:
host.domain11.example.com NFS-exports /home to your system.
This filesystem contains a pre-configured home directory for the user ldapuser11 ldapuser11's home directory is host.domain11.example.com /rhome/ldapuser11 ldapuser11's home directory should be automounted locally beneath /rhome as /rhome/ldapuser11 Home directories must be writable by their users ldapuser11's password is 'password'.
Answer:
Explanation:
vim /etc/auto.master /rhome /etc/auto.misc
wq!
# vim /etc/auto.misc
ldapuser11 --rw,sync host.domain11.example.com:/rhome/ldpauser11 :wq!
#service autofs restart
service autofs reload
chkconfig autofs on
su -ldapuser11
Login ldapuser with home directory
# exit
NEW QUESTION # 90
......
VCEEngine EX200 Exam Practice Test Questions: https://www.vceengine.com/EX200-vce-test-engine.html
Pass EX200 Exam Info and Free Practice Test: https://drive.google.com/open?id=1adjeM1Fcz8lSOrK8WjvGsGVG24X1VmhW
