
更新された2022年02月03日検証済み!合格できるEX200試験一発合格保証付き
無料で使えるEX200サンプルには問題100%カバー率でリアル試験問題(更新された136問あります)
質問 12
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.
正解:
解説:
see explanation below.
Explanation
mkdir -p /mnt/iso
/etc/fstab:
/root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a
mount | grep examine
質問 13
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.
正解:
解説:
see explanation below.
Explanation
cd /usr/local
tar -jcvf /root/backup.tar.bz2
mkdir /test
tar -jxvf /root/backup.tar.bz2 -C /test// Decompression to check the content is the same as the /usr/loca after If the questions require to use gzip to compress. change -j to -z.
質問 14
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.
正解:
解説:
see explanation below.
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
質問 15
Configure the system synchronous as 172.24.40.10.
正解:
解説:
see explanation below.
Explanation
Graphical Interfaces:
System-->Administration-->Date & Time
OR
# system-config-date
質問 16
CORRECT TEXT
Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start.
正解:
解説:
# cd /root; wget ftp://192.168.0.254/pub/boot.iso
# mkdir -p /media/cdrom
# vim /etc/fstab
/root/boot.iso /media/cdrom iso9660 defaults,loop 0 0
# mount -a
mount [-t vfstype] [-o options] device dir
質問 17
According the following requirements to create a local directory /common/admin.
* This directory has admin group.
* This directory has read, write and execute permissions for all admin group members.
* Other groups and users don't have any permissions.
* All the documents or directories created in the/common/admin are automatically inherit the admin group.
正解:
解説:
see explanation below.
Explanation
mkdir -p /common/admin
chgrp admin /common/admin
chmod 2770 /common/admin
質問 18
Set cronjob for user natasha to do /bin/echo hiya at 14:23.
正解:
解説:
see explanation below.
Explanation
# crontab -e -u natasha
23 14 * * * /bin/echo hiya
wq!
質問 19
Part 1 (on Node1 Server)
Task 12 [Accessing Network-Attached Storage]
Configure autofs to automount the home directories of user remoteuserX. Note the following:
utility.domain15.example.com(172.25.15.9), NFS-exports /netdir to your system, where user is remoteuserX where X is your domain number remoteuserX home directory is utility.domain15.example.com:/netdir/remoteuserX remoteuserX home directory should be auto mounted locally at /netdir as /netdir/remoteuserX Home directories must be writable by their users while you are able to login as any of the remoteuserX only home directory that is accessible from your system
正解:
解説:
* *
[root@host ~]#systemctl enable sssd.service
[root@host ~]#systemctl start sssg.service
[root@host ~]#getent passwd remoteuser15
[root@host ~]#yum install autofs
[root@host ~]#vim /etc/auto.master.d/home9.autofs
/netdir/remoteuser15 /etc/auto.home9
[root@host ~]#vim /etc/auto.home9
remoteuser15 -rw,sync utility.network15.example.com:/netdir/remoteuser15/&
[root@host ~]#systemctl enable autofs
[root@host ~]#systemctl restart autofs
[root@host ~]#su - remoteuser15
質問 20
Configure the permissions of /var/tmp/fstab
Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:
the file /var/tmp/fstab is owned by the root user.
the file /var/tmp/fstab belongs to the group root.
the file /var/tmp/fstab should not be executable by anyone.
the user natasha is able to read and write /var/tmp/fstab.
the user harry can neither write nor read /var/tmp/fstab.
all other users (current or future) have the ability to read /var/tmp/fstab.
正解:
解説:
see explanation below.
Explanation
* cp -a /etc/fstab /var/tmp
* cd /var/tmp
* ls -l
* getfacl /var/tmp/fstab
* chmod ugo-x /var/tmp/fstab
[ No need to do this, there won't be execute permission for the file by default]
# setfacl -m u:natasha:rw /var/tmp/fstab # setfacl -m u:harry:0 /var/tmp/fstab(zero)
[Read permission will be there for all the users, by default. Check it using ls -l /var/tmp/fstab] Verify by
[ ls -la /var/tmp/fstab]
質問 21
Which of the log messages below matches the following Logstash grok filter?
grok {
match => ["message", "%{SYSLOGBASE} new node %{IPORHOST:node}" ]
}
- A. clustermanager[12353]: Jun 30 00:36:49 headnode new node 198.51.100.103
- B. %{SYSLOG-FROM:headnode clustermanager[12353]} new node 198.51.100.103
- C. Jun 30 00:36:49 headnode clustermanager[198.51.100.103]: new node
- D. Jun 30 00:36:49 headnode clustermanager[12353]: new node 198.51.100.103
- E. Jun 30 00:36:49 headnode:
new node 198.51.100.103 at clustermanager:12353
正解: C
質問 22
Add user: user1, set uid=601
Password: redhat
The user's login shell should be non-interactive.
正解:
解説:
Answer see in the explanation.
Explanation/Reference:
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat
質問 23
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.
正解:
解説:
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
質問 24
SIMULATION
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.
正解:
解説:
See explanation below.
Explanation/Reference:
Explanation: Download the file to /tmp first
grep [abcde] /tmp/testfile > /mnt/answer
質問 25
Part 1 (on Node1 Server)
Task 4 [Controlling Access to Files]
Create collaborative directory /mnt/shares with the following characteristics:
Group ownership of /mnt/shares should be sharegrp.
The directory should be readable, writable and accessible to member of sharegrp but not to any other user. (It is understood that root has access to all files and directories on the system) Files created in /mnt/shares automatically have group ownership set to the sharegrp group.
正解:
解説:
* [root@node1 ~]# mkdir -p /mnt/shares
[root@node1 ~]# ls -lrt /mnt/
[root@node1 ~]# chgrp sharegrp /mnt/shares/
[root@node1 ~]# chmod 2770 /mnt/shares/
[root@node1 ~]# ls -lrt /mnt/
### For Checking ###
[root@node1 ~]# su - harry
[harry@node1 ~]$ cd /mnt/shares/
[harry@node1 shares]$ touch harry
[harry@node1 shares]$ logout
[root@node1 ~]# su - natasha
[natasha@node1 ~]$ cd /mnt/shares/
[natasha@node1 shares]$ touch natasha
[natasha@node1 shares]$ ls -lrt
-rw-rw-r--. 1 harry sharegrp 0 Mar 21 06:03 harry
-rw-rw-r--. 1 natasha sharegrp 0 Mar 21 06:03 natasha
質問 26
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
正解:
解説:
[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
質問 27
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.
正解:
解説:
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.
質問 28
Part 1 (on Node1 Server)
Task 3 [Managing Local Users and Groups]
Create the following users, groups and group memberships:
A group named sharegrp
A user harry who belongs to sharegrp as a secondary group
A user natasha who also belongs to sharegrp as a secondary group
A user copper who does not have access to an interactive shell on the system and who is not a member of sharegrp.
harry, natasha and copper should have the password redhat
正解:
解説:
* [root@node1 ~]# groupadd sharegrp
[root@node1 ~]# useradd harry
[root@node1 ~]# useradd natasha
[root@node1 ~]# usermod -aG sharegrp harry
[root@node1 ~]# usermod -aG sharegrp natasha
[root@node1 ~]# useradd -s /sbin/nologin copper
[root@node1 ~]# echo "redhat" | passwd --stdin harry
[root@node1 ~]# echo "redhat" | passwd --stdin natasha
[root@node1 ~]# echo "redhat" | passwd --stdin copper
### For Checking ###
[root@node1 ~]# su - copper
This account is currently not available.
[root@node1 ~]# su - natasha
[root@node1 ~]# id
[root@node1 ~]# su - harry
[root@node1 ~]# id
質問 29
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.
正解:
解説:
# 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
質問 30
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com
正解:
解説:
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
質問 31
Part 1 (on Node1 Server)
Task 8 [Managing Local Users and Groups]
Create a user fred with a user ID 3945. Give the password as iamredhatman
正解:
解説:
* [root@node1 ~]# useradd -u 3945 fred
[root@node1 ~]# echo "iamredhatman" | passwd --stdin fred
Changing password for user fred.
passwd: all authentication tokens updated successfully
質問 32
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.
正解:
解説:
see explanation below.
Explanation
mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins
質問 33
......
RedHat EX200 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
今すぐダウンロード!リアルRedHat EX200試験問題集テストエンジン試験問題:https://www.goshiken.com/RedHat/EX200-mondaishu.html
検証済み!EX200問題集と解答でEX200テストエンジン正確解答付き:https://drive.google.com/open?id=1ApUXDuh40GJvoRgK6Pusf5EACZYyZ_B6