本日更新の2022年03月試験エンジンとPDFEX200日本語テスト無料! [Q61-Q79]

Share

本日更新の2022年03月試験エンジンとPDFEX200日本語テスト無料!

究極のガイド準備EX200日本語正確なPDF解答

質問 61
最初は/ dataに取り組んでおり、サイズは2GBです。 / dev / test0 / lvtestvolumeは/ dataにマウントされます。これで/ dataにより多くのスペースが必要になりましたが、すでにすべてのディスクが物理ボリュームに属していることを追加しています。ハードディスクに約5 GBの未割り当て領域があることがわかりました。 lvtestvolumeのサイズを5GB増やします。

正解:

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

 

質問 62
ノート:
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. ダイアログパッケージをインストールします。

正解: A

 

質問 63
/ dev / test0 / testvolume1という名前の論理ボリュームが1つ作成されます。そのディスクの初期サイズは100MBでしたが、さらに200MBが必要になりました。論理ボリュームのサイズを増やします。サイズはオンラインで増やす必要があります。

正解:

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

 

質問 64
172.24.254.254および172.25.254.254を持つサーバーがあります。システムは172.24.0.0/16にあります。次のIPを割り当てることにより、172.25.254.254に正常にpingを実行します:172.24.0.x(xはステーション番号)。

正解:

解説:
see explanation below.
Explanation
* Use netconfig command
* Enter the IP Address as given station number by your examiner: example: 172.24.0.1
* Enter Subnet Mask
* Enter Default Gateway and primary name server
* press on ok
* ifdown eth0
* ifup eth0
* verify using ifconfig
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.

 

質問 65
カーネルを2.6.36.7.1としてアップグレードし、デフォルトカーネルを起動するようにシステムを構成し、古いカーネルを利用可能なままにします。

正解:

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

 

質問 66
NTPを構成します。
NTPサービスの構成、サーバー時間の同期、NTPサーバー:Classroom.example.com

正解:

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

 

質問 67
インストール
http://server.domain11.example.com/pub/updatesからの適切なカーネル更新。
次の基準も満たす必要があります。
更新されたカーネルは、システムが再起動されたときのデフォルトのカーネルです
元のカーネルはシステム上で利用可能でブート可能のままです

正解:

解説:
see explanation below.
Explanation
* ftp server.domain11.example.com Anonymous login
ftp> cd /pub/updates ftp> ls
ftp> mget kernel* ftp> bye
* rpm -ivh kernel*
* vim /etc/grub.conf
Check the updatted kernel is the first kernel and the orginal kernel remains available. set default=0 wq!

 

質問 68
システムは、172.24.0.0 / 16および172.25.0.0/16のルーターとして使用する予定です。 IP転送を有効にします。
1. echo "1"> / proc / sys / net / ipv4 / ip_forward
2. vi /etc/sysctl.conf net.ipv4.ip_forward = 1

正解:

解説:
/proc is the virtual filesystem, containing the information about the running kernel.
To change the parameter of running kernel you should modify on /proc. From Next reboot the system, kernel will take the value from /etc/sysctl.conf.

 

質問 69
ボリュームグループを作成し、拡張として16Mを設定します。そして、50を含むボリュームグループをボリュームグループlvに拡張し、ext4ファイルシステムとして作成し、/ mnt / dataの下に自動的にマウントします。

正解:

解説:
# pvcreate /dev/sda7 /dev/sda8
# vgcreate -s 16M vg1 /dev/sda7 /dev/sda8
# lvcreate -l 50 -n lvm02
# mkfs.ext4 /dev/vg1/lvm02
# blkid /dev/vg1/lv1
# vim /etc/fstab
# mkdir -p /mnt/data
UUID=xxxxxxxx /mnt/data ext4 defaults 0 0
# vim /etc/fstab
# mount -a
# mount
(Verify)

 

質問 70
パート1(Node1サーバー上)
タスク15 [コンテナの実行]
レジストリregistry.domain15.example.com:5000から見つかったイメージrhel8 / rsyslogを使用して、logserverという名前のコンテナーを作成します。コンテナーは、ルートレスユーザーshangrilとして実行する必要があります。パスワードとしてredhatを使用する[sudouser]再起動後も永続化できるように、サービス名「container-logserver」を使用して、systemdサービスを使用するコンテナーをshangrilaユーザーとして構成します。
ユーザー名としてadminを使用し、イメージレジストリのクレデンシャルとしてadmin123を使用します。

正解:

解説:
* [root@workstation ~]# ssh shangrila@node1
[shangrila@node1 ~]$ podman login registry.domain15.example.com:5000
Username: admin
Password:
Login Succeeded!
[shangrila@node1 ~]$ podman pull registry.domain15.example.com:5000/rhel8/rsyslog
[shangrila@node1 ~]$ podman run -d --name logserver registry.domain15.example.com:5000/rhel8/rsyslog
021b26669f39cc42b8e94eab886ba8293d6247bf68e4b0d76db2874aef284d6d
[shangrila@node1 ~]$ mkdir -p ~/.config/systemd/user
[shangrila@node1 ~]$ cd ~/.config/systemd/user
* [shangrila@node1 user]$ podman generate systemd --name logserver --files --new
/home/shangrila/.config/systemd/user/container-logserver.service
[shangrila@node1 ~]$ systemctl --user daemon-reload
[shangrila@node1 user]$ systemctl --user enable --now container-logserver.service
[shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7d9f7a8a4d63 registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 2 seconds ago logserver
[shangrila@node1 ~]$ sudo reboot
[shangrila@node1 ~]$ cd .config/systemd/user
[shangrila@node1 user]$ systemctl --user status

 

質問 71
ファイル/ etc / testfileからabcdeを含む行を見つけて、ファイル/ tmp / testfileに書き込みます。シーケンスは/ etc / testfileと同じように要求されます。

正解:

解説:
# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile

 

質問 72
アーカイブグループの所有者にファイル/ディレクトリを作成する人は、自動的にアーカイブの同じグループ所有者でなければなりません。

正解:

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

 

質問 73
ericという名前のユーザーを作成し、対話型ログインを拒否します。

正解:

解説:
see explanation below.
Explanation
* useradd eric
* passwd eric
* vi /etc/passwd
* eric:x:505:505::/home/eric:/sbin/nologin
Which shell or program should start at login time is specified in /etc/passwd file? By default, Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write
/sbin/nologin or /bin/ false instead of login shell.

 

質問 74
ftp://instructor.example.com/pub/testfileからドキュメントをダウンロードし、[abcde]を含むすべての行を見つけて/ MNT / answerドキュメントにリダイレクトし、元のコンテンツに従って順序を並べ替えます。

正解:

解説:
see explanation below.
Explanation
Download the file to /tmp first
grep [abcde] /tmp/testfile > /mnt/answer

 

質問 75
次の特性を持つ共同ディレクトリ/ home / adminsを作成します。
/ home / adminsのグループ所有権はadminuserです
ディレクトリは、adminuserのメンバーには読み取り可能、書き込み可能、​​アクセス可能である必要がありますが、他のユーザーにはアクセスできません。
(rootはシステム上のすべてのファイルとディレクトリにアクセスできることが理解されています。)/ home / adminsで作成されたファイルは、グループ所有権が自動的にadminuserグループに設定されます。

正解:

解説:
mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins

 

質問 76
パート2(Node2サーバー上)
タスク4 [論理ボリュームの管理]
論理ボリュームlvrzのサイズを変更し、ファイルシステムを4600MiBに減らします。ファイルシステムの内容がマウントポイント/ datarzで完全なままであることを確認してください(注:パーティションが要求されたサイズと正確に一致することはめったにないため、4200MiBから4900MiBの範囲内であれば何でもかまいません)

正解:

解説:
* [root@node2 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vdb 252:16 0 5G 0 disk
└─vdb1 252:17 0 4.2G 0 part
└─vgrz-lvrz 253:2 0 4.1G 0 lvm /datarz
vdc 252:32 0 5G 0 disk
└─vdc1 252:33 0 4.4G 0 part
└─datavg-datalv 253:3 0 3.9G 0 lvm /data
vdd 252:48 0 5G 0 disk
vde 252:64 0 10G 0 disk
[root@node2 ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
lvrz vgrz -wi-ao---- 4.10g
[root@node2 ~]# vgs
VG #PV #LV #SN Attr VSize VFree
vgrz 1 1 0 wz--n- <4.15g 48.00m
[root@node2 ~]# parted /dev/vdb print
Number Start End Size Type File system Flags
1 1049kB 4456MB 4455MB primary lvm
* [root@node2 ~]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vgrz-lvrz ext4 4.0G 17M 3.8G 1% /datarz
[root@node2 ~]# parted /dev/vdb mkpart primary 4456MiB 5100MiB
[root@node2 ~]# parted /dev/vdb set 2 lvm on
[root@node2 ~]# udevadm settle
[root@node2 ~]# pvcreate /dev/vdb2
Physical volume "/dev/vdb2" successfully created.
* [root@node2 ~]# vgextend vgrz /dev/vdb2
Volume group "vgrz" successfully extended
[root@node2 ~]# lvextend -r -L 4600M /dev/vgrz/lvrz
Size of logical volume vgrz/lvrz changed from 4.10 GiB (1050 extents) to 4.49 GiB (1150 extents).
Logical volume vgrz/lvrz successfully resized.
[root@node2 ~]# resize2fs /dev/vgrz/lvrz
[root@node2 ~]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vgrz-lvrz ext4 4.4G 17M 4.2G 1% /datarz

 

質問 77
adminsという名前の/ homeの下にカタログを作成します。それぞれのグループは、管理者グループになるように要求されます。グループのユーザーは読み書きできますが、他のユーザーはアクセスできません。同じグループのユーザーが作成したファイルは、管理グループでもある必要があります。

正解:

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

 

質問 78
ボリュームグループを作成し、拡張として8Mを設定します。 50を含むボリュームグループをボリュームグループlv(lvshare)に分割し、ext4ファイルシステムとして作成し、/ mnt / dataの下に自動的にマウントしました。また、浮動範囲のサイズは380M〜400Mに設定する必要があります。

正解:

解説:
see explanation below.
Explanation
# fdisk
# partprobe
# pvcreate /dev/vda6
# vgcreate -s 8M vg1 /dev/vda6 -s
# lvcreate -n lvshare -l 50 vg1 -l
# mkfs.ext4 /dev/vg1/lvshare
# mkdir -p /mnt/data
# vim /etc/fstab
/dev/vg1/lvshare /mnt/data ext4 defaults 0 0
# mount -a
# df -h

 

質問 79
......

合格させるRedHatはGoShiken試験問題集:https://www.goshiken.com/RedHat/EX200-JPN-mondaishu.html