[Jan 14, 2022] EX200 Exam Dumps, EX200 Practice Test Questions [Q42-Q66]

Share

[Jan 14, 2022] EX200 Exam Dumps, EX200 Practice Test Questions

Free EX200 Study Guides Exam Questions & Answer


Red Hat is a multinational software company founded in 1993. They provide open-source software products to businesses and also issue IT certifications to help advance careers, one of which is the Red Hat Certified System Administrator certificate that can be earned by passing EX200 test.

 

NEW QUESTION 42
Configure the system synchronous as 172.24.40.10.

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
Graphical Interfaces:
System-->Administration-->Date & Time
OR
# system-config-date

 

NEW QUESTION 43
SIMULATION
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:
See explanation below.
Explanation/Reference:
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 44
SIMULATION
Binding to an external validation server.
System server.domain11.example.com provides a LDAP validation service, your system should bind to this service as required:
Base DN of validation service is dc=example,dc=com
LDAP is used for providing account information and validation information Connecting and using the certification of http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to encrypt After the correct configuration, ldapuser1 can log into your system, it does not have HOME directory until you finish autofs questions, ldapuser1 password is password.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: yum -y install sssd authconfig-gtk krb5-workstation authconfig-gtk // open the graphical interface Modify user account database to ldap, fill up DN and LDAP SERVER as questions required, use TLS to encrypt connections making tick, write http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to download ca, authentication method choose ldap password.
You can test if the ldapuser is added by the following command:
Id ldapuser1
Note: user password doesn't not need to set

 

NEW QUESTION 45
CORRECT TEXT
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 46
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:
see explanation below.
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 47
According the following requirements, configure autofs service and automatically mount to user's home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX's home directory must be able to automatically mount to /home/ guests/ldapuserX in your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only get ldapuser1's home directory.

Answer:

Explanation:
see explanation below.
Explanation
mkdir -p /home/guests
cat /etc/auto.master:
/home/guests /etc/auto.ldap
cat /etc/auto.ldap:
ldapuser1 -rw instructor.example.com:/home/guests/ldapuser1
* automatically mount all the user's home directory #* -rw instructor.example.com:/home/guests/&

 

NEW QUESTION 48
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 49
SIMULATION
Create the following users, groups, and group memberships:
A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of redhat.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd Natasha
# passwd harry
# passwd sarrah

 

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

Answer:

Explanation:
see explanation below.
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 51
Configure a task: plan to run echo "file" command at 14:23 every day.

Answer:

Explanation:
see explanation below.
Explanation
(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"

 

NEW QUESTION 52
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
* 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 53
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:
Answer see in the explanation.
Explanation/Reference:
# 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 54
Configure a default software repository for your system.
One
YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.

Answer:

Explanation:
see explanation below.
Explanation
Yum-config-manager
--add-repo=http://content.example.com/rhel7.0/x86-64/dvd" is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0 Yumcleanall Yumrepolist Almost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.

 

NEW QUESTION 55
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:
see explanation below.
Explanation
* lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1)
* 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 56
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

Answer:

Explanation:
see explanation below.
Explanation
# cp /etc/fstab /var/tmp/
# chgrp admin /var/tmp/fstab
# setfacl -m u:user1:rwx /var/tmp/fstab
# setfacl -m u:user2:--- /var/tmp/fstab
# ls -l
-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab

 

NEW QUESTION 57
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:
Answer see in the explanation.
Explanation/Reference:
# 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 58
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.
* Create a partition having size 5 GB and change the syste id '8e'.
* use partprobe command
* pvcreate /dev/hda9 Suppose your partition number is hda9.
* vgextend test0 /dev/hda9 vgextend command add the physical disk on volume group.
* lvextend -L+5120M /dev/test0/lvtestvolume
* verify using lvdisplay /dev/test0/lvtestvolume.

 

NEW QUESTION 59
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:
Answer see in the explanation.
Explanation/Reference:
# 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 60
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:
see explanation below.
Explanation
mkdir -p /mnt/iso
/etc/fstab:
/root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a
mount | grep examine

 

NEW QUESTION 61
SIMULATION
According the following requirements, configure autofs service and automatically mount to user's home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX's home directory must be able to automatically mount to /home/ guests/ldapuserX in your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only get ldapuser1's home directory.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: mkdir -p /home/guests
cat /etc/auto.master:
/home/guests /etc/auto.ldap
cat /etc/auto.ldap:
ldapuser1 -rw instructor.example.com:/home/guests/ldapuser1
automatically mount all the user's home directory #* -rw instructor.example.com:/home/guests/&

 

NEW QUESTION 62
Configure a task: plan to run echo "file" command at 14:23 every day.

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"

 

NEW QUESTION 63
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 64
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.

Answer:

Explanation:
see explanation below.
Explanation
# cat /etc/grub.conf
# cd /boot
# lftp it
# get dr/dom/kernel-xxxx.rpm
# rpm -ivh kernel-xxxx.rpm
# vim /etc/grub.conf
default=0

 

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

Answer:

Explanation:
see explanation below.
Explanation
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat

 

NEW QUESTION 66
......


The benefit in Obtaining the EX200 Exam Certification

  • Red Hat Certified System Administrator Certifications provide opportunities to get a job easily in which they are interested in instead of wasting years and ending without getting any experience.
  • Red Hat Certified System Administrator Certification provides practical experience to candidates from all the aspects to be a proficient worker in the organization.
  • Red Hat Certified System Administrator certification has more useful and relevant networks that help them in setting career goals for themselves. Red Hat Certified System Administrator networks provide them with the right career direction than non certified usually are unable to get.
  • Red Hat Certified System Administrator will be confident and stand different from others as their skills are more trained than non-certified professionals.
  • Red Hat Certified System Administrator Certification is distinguished among competitors. Red Hat Certified System Administrator certification can give them an edge at that time easily when candidates appear for a job interview, employers seek to notify something which differentiates the individual to another.
  • Red Hat Certified System Administrator have the knowledge to use the tools to complete the task efficiently and cost-effectively than the other non-certified professionals lack in doing so.

 

EX200 Exam Dumps, EX200 Practice Test Questions: https://www.testpassking.com/EX200-exam-testking-pass.html

Attested EX200 Dumps PDF Resource [2022]: https://drive.google.com/open?id=1Y9lY0hoG-kCx4owXPD3oYlfCmKCaeoiY