RedHat EX200認定ガイドPDFは100%カバー率でリアル試験問題 [Q26-Q45]

Share

RedHat EX200認定ガイドPDFは100%カバー率でリアル試験問題

合格させるEX200試験にはリアル問題解答


Red Hat EX200認定は、システム管理のキャリアを追求したい個人にとって必要不可欠な認定です。この認定は、候補者のシステム管理分野での専門知識を証明し、他の候補者との差別化を図ります。この認定は、競争力を高め、世界中の雇用主から広く認められ、尊重されています。認定試験は、Red Hatテストセンターまたは認定トレーニングセンターのいずれかで受験することができ、Red Hatシステム管理IおよびIIコースを受講するか、自己学習によって試験の準備をすることができます。

 

質問 # 26
Create a catalog under /home named admins. Its respective group is requested to be the admin group. The group users could read and write, while other users are not allowed to access it. The files created by users from the same group should also be the admin group.

正解:

解説:
see explanation below.
Explanation
# cd /home/
# mkdir admins /
# chown .admin admins/
# chmod 770 admins/
# chmod g+s admins/


質問 # 27
SELinux must run in force mode.

正解:

解説:
/etc/sysconfig/selinux
SELINUX=enforcing


質問 # 28
Which section of the Prometheus configuration defines which nodes are monitored?

  • A. rules
  • B. scrape_config
  • C. targets
  • D. listener
  • E. nodes

正解:B

解説:
Explanation/Reference: https://prometheus.io/docs/prometheus/latest/getting_star


質問 # 29
Create one partitions having size 100MB and mount it on data.

正解:

解説:
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


質問 # 30
Part 1 (on Node1 Server)
Task 13 [Archiving and Transferring Files & SELinux]
Create a backup file named /root/backup.tar.bz2. The backup file should contain the content of /usr/local and should be zipped with bzip2 compression format.
Furthermore, ensure SELinux is in enforcing mode. If it is not, change SELinux to enforcing mode.

正解:

解説:
* [root@node1 ~]# tar cvf /root/backup.tar /usr/local/
tar: Removing leading `/' from member names
/usr/local/
/usr/local/bin/
/usr/local/etc/
[root@node1 ~]# ls
backup.tar
[root@node1 ~]# file backup.tar
backup.tar: POSIX tar archive (GNU)
[root@node1 ~]# bzip2 backup.tar
[root@node1 ~]# ls
backup.tar.bz2
[root@node1 ~]# file backup.tar.bz2
backup.tar.bz2: bzip2 compressed data, block size = 900k
*
[root@node1 ~]# sestatus
SELinux status: enabled
[root@node1 ~]# cat /etc/selinux/config
SELINUX=enforcing
SELINUXTYPE=targeted
[root@node1 ~]# reboot
### For Checking ###
[root@node1 ~]# sestatus
SELinux status: enabled


質問 # 31
Create a logical volume
Create a new logical volume as required:
Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE.
Expansion size of each volume in volume group datastore is 16MB.
Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database

正解:

解説:
fdisk -cu /dev/vda// Create a 1G partition, modified when needed
partx -a /dev/vda
pvcreate /dev/vdax
vgcreate datastore /dev/vdax -s 16M
lvcreate- l 50 -n database datastore
mkfs.ext3 /dev/datastore/database
mkdir /mnt/database
mount /dev/datastore/database /mnt/database/ df -Th
vi /etc/fstab
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount -a
Restart and check all the questions requirements.


質問 # 32
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


質問 # 33
SIMULATION
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required:
server.domain11.example.com use NFS to share the home to your system. This file system contains a pre configured home directory of user ldapuserX.
Home directory of ldapuserX is:
server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory's write permissions must be available for users ldapuser1's password is password

正解:

解説:
See explanation below.
Explanation/Reference:
Explanation: yum install -y autofs
mkdir /home/rehome
/etc/auto.master
/home/rehome/etc/auto.ldap
Keep then exit
cp /etc/auto.misc /etc/auto.ldap
/etc/auto.ldap
ldapuserX -fstype=nfs,rw server.domain11.example.com:/home/guests/
Keep then exit
systemctl start autofs
systemctl enable autofs
su - ldapuserX// test
If the above solutions cannot create files or the command prompt is -bash-4.2$, it maybe exist multi-level directory, this needs to change the server.domain11.example.com:/home/guests/ to server.domain11.example.com:/home/guests/ldapuserX. What is multi-level directory? It means there is a directory of ldapuserX under the /home/guests/ldapuserX in the questions. This directory is the real directory.


質問 # 34
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user: tom's login shell should be non-interactive.

正解:

解説:
# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd
(Show the login shell)
OR
# system-config-users


質問 # 35
CORRECT TEXT
Configure a task: plan to run echo hello command at 14:23 every day.

正解:

解説:
# which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)


質問 # 36
Part 1 (on Node1 Server)
Task 7 [Accessing Linux File Systems]
Find all the files owned by user natasha and redirect the output to /home/alex/files.
Find all files that are larger than 5MiB in the /etc directory and copy them to /find/largefiles.

正解:

解説:
[root@node1 ~]# find / -name natasha -type f > /home/natasha/files
[root@node1 ~]# cat /home/natasha/files
/var/spool/mail/natasha
/mnt/shares/natasha
[root@node1 ~]# mkdir /find
[root@node1 ~]# find /etc -size +5M > /find/largefiles
[root@node1 ~]# cat /find/largefiles
/etc/selinux/targeted/policy/policy.31
/etc/udev/hwdb.bin


質問 # 37
Configure a user account.
Create a user iaruid is 3400. Password is redhat

正解:

解説:
see explanation below.
Explanation
useradd -u 3400 iar
passwd iar


質問 # 38
SIMULATION
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.

正解:

解説:
See explanation below.
Explanation/Reference:
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


質問 # 39
Configure the verification mode of your host account and the password as LDAP. And it can ldapuser40.
The password is set as "password". And the certificate login successfully through can be downloaded from http://ip/dir/ldap.crt. After the user logs on , the user has no host directory unless you configure the autofs in the following questions.

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
system-config-authentication
LDAP Server: ldap//instructor.example.com (In domain form, not write IP) OR
# yum groupinstall directory-client (1.krb5-workstation 2.pam-krb5 3.sssd)
# system-config-authentication
1.User Account Database: LDAP
2.LDAP Search Base DN: dc=example,dc=com
3.LDAP Server: ldap://instructor.example.com (In domain form, not write IP) 4.Download CA Certificate
5.Authentication Method: LDAP password
6.Apply
getent passwd ldapuser40


質問 # 40
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.

正解:

解説:
mkdir -p /common/admin
chgrp admin /common/admin
chmod 2770 /common/admin


質問 # 41
SIMULATION
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

正解:

解説:
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)


質問 # 42
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".

正解:

解説:
crontab -u mary -e
23 14 * * * echo "Hello World."


質問 # 43
Please open the ip_forward, and take effect permanently.

正解:

解説:
see explanation below.
Explanation
* vim /etc/sysctl.conf net.ipv4.ip_forward = 1
* sysctl -w (takes effect immediately)
If no "sysctl.conf" option, use these commands:
* sysctl -a |grep net.ipv4
* sysctl -P net.ipv4.ip_forward = 1
* sysctl -w


質問 # 44
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
# 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


質問 # 45
......

100%無料EX200日常練習試験には157問があります:https://jp.fast2test.com/EX200-premium-file.html

合格させるEX200レビューガイド、信頼され続けるEX200テストエンジン:https://drive.google.com/open?id=1TIAvOrH6SnmRgvfoaq842PKbXSCHaH2G


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어