100%合格、売れ筋最上位EX200日本語試験材料は2022年最新のRedHat練習試験合格させます [Q25-Q44]

Share

100%合格、売れ筋最上位EX200日本語試験材料は2022年最新のRedHat練習試験合格させます

RHCSA問題集でEX200日本語試験完全版問題、試験学習ガイド

質問 25
ftp://instructor.example.com/pub/updatesからカーネルを更新します。
次の要件に従って:
*システムの再起動後、更新されたカーネルがデフォルトのカーネルとして存在する必要があります。
*元のカーネルはまだ存在し、システムで利用可能です。

正解:

解説:
rpm -ivh kernel-firm...
rpm -ivh kernel...

 

質問 26
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

 

質問 27
100MBのスワップパーティションを作成します。システムのブート時に自動的に使用可能にします。

正解:

解説:
see explanation below.
* 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.

 

質問 28
次のユーザー、グループ、およびグループメンバーシップを作成します。
adminuserという名前のグループ。
セカンダリグループとしてadminuserに属するユーザーnatashaセカンダリグループとしてadminuserにも属するユーザーharry
システム上の対話型シェルにアクセスできず、adminuser、natasha、harry、およびsarahのメンバーではないユーザーsarahには、すべてredhatのパスワードが必要です。

正解:

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

 

質問 29
ユーザーアカウントを構成します。
ユーザーiaruidは3400を作成します。パスワードはredhatです

正解:

解説:
useradd -u 3400 iar
passwd iar

 

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

正解:

解説:
Download the file to /tmp first
grep [abcde] /tmp/testfile > /mnt/answer

 

質問 31
パート1(Node1サーバー上)
タスク6 [Linuxファイルシステムへのアクセス]
ファイル/usr/share/mime/packages/freedesktop.org.xmlで、文字列ichを含むすべての行を検索します。
これらの行のコピーをファイル/ root / linesに元の順序で配置します。
/ root / linesには空の行が含まれていてはならず、すべての行は元の行の正確なコピーである必要があります。
/usr/share/mime/packages/freedesktop.org.xml

正解:

解説:
* [root@node1 ~]# cat /usr/share/mime/packages/freedesktop.org.xml | grep ich > /root/lines
[root@node1 ~]# cat /root/lines
<comment xml:lang="ast">Ficheru codificau en BinHex de Machintosh</comment>
<comment xml:lang="fr">fichier code Macintosh BinHex</comment>
<comment xml:lang="gl">ficheiro de Macintosh codificado con BinHex</comment>
<comment xml:lang="oc">fichier encodat Macintosh BinHex</comment>
<comment xml:lang="pt">ficheiro codificado em BinHex de Macintosh</comment>
<comment xml:lang="fr">fichier boite aux lettres</comment>

 

質問 32
ログイン後、autofsがホームディレクトリautofsを持っていることを確認するためにautofsを設定します。
IPの/ rhome / ldapuser40:172.24.40.10。また、他のldapユーザーがホームディレクトリを通常どおり使用できることも必要です。

正解:

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

 

質問 33
文字列を検索する
/ usr / share / dict / words内に文字列seismicを含むすべての列を見つけ、元の順序でこれらすべての列を/root/lines.txにコピーします。空白行はありません。すべての列は、元の列。

正解:

解説:
grep seismic /usr/share/dict/words> /root/lines.txt

 

質問 34
論理ボリュームvoとそのファイルシステムのサイズを290 MBに変更します。ファイルシステムの内容が損なわれていないことを確認してください。
注:パーティションが要求されるサイズとまったく同じになることはめったにないため、260 MBから320 MiBの範囲内のサイズが許容されます。

正解:

解説:
df -hT
lvextend -L +100M /dev/vg0/vo
lvscan
xfs_growfs /home/ // home is LVM mounted directory
Note: This step is only need to do in our practice environment, you do not need to do in the real exam resize2fs /dev/vg0/vo // Use this comand to update in the real exam df -hT OR e2fsck -f/dev/vg0/vo umount /home resize2fs /dev/vg0/vo required partition capacity such as 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo /home df -Ht

 

質問 35
バックアップを作成する
/ usr / localの内容を含む/root/backup.tar.bz2という名前のバックアップファイルを作成します。tarはbzip2を使用して圧縮する必要があります。

正解:

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

 

質問 36
論理ボリュームvoとそのファイルシステムのサイズを290 MBに変更します。ファイルシステムの内容が損なわれていないことを確認してください。
注:パーティションが要求されるサイズとまったく同じになることはめったにないため、260 MBから320 MiBの範囲内のサイズが許容されます。

正解:

解説:
see explanation below.
Explanation
df -hT
lvextend -L +100M /dev/vg0/vo
lvscan
xfs_growfs /home/ // home is LVM mounted directory
Note: This step is only need to do in our practice environment, you do not need to do in the real exam resize2fs /dev/vg0/vo // Use this comand to update in the real exam df -hT OR e2fsck -f/dev/vg0/vo umount /home resize2fs /dev/vg0/vo required partition capacity such as 100M lvreduce -l 100M /dev/vg0/vo mount
/dev/vg0/vo /home
df -Ht

 

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

正解:

解説:
see explanation below.
Explanation
# 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)

 

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

正解:

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

 

質問 39
NFSサービスを構成します。 NFS共有サービスでディレクトリを共有します。

正解:

解説:
/etc/init.d/rpcbind start
/etc/init.d/nfslock start
/etc/init.d/nfs start
chkconfig rpcbind on
chkconfig nfslock on
chkconfig nfs on
showmount -e localhost

 

質問 40
パート2(Node2サーバー上)
タスク8 [システムパフォーマンスの調整]
推奨される調整済みプロファイルを使用するようにサーバーを設定します

正解:

解説:
[root@node2 ~]# tuned-adm list
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest
[root@node2 ~]# tuned-adm recommend
virtual-guest
[root@node2 ~]# tuned-adm profile virtual-guest
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest
[root@node2 ~]# reboot
[root@node2 ~]# tuned-adm active
Current active profile: virtual-guest

 

質問 41
/ var / tmp / fstabのアクセス許可を構成します
ファイル/ etc / fstabを/ var / tmp / fstabにコピーします。 / var / tmp / fstabの許可を構成して、次のようにします。
ファイル/ var / tmp / fstabの所有者はrootユーザーです。
ファイル/ var / tmp / fstabはグループルートに属します。
ファイル/ var / tmp / fstabは、誰でも実行可能ではありません。
ユーザーnatashaは、/ var / tmp / fstabを読み書きできます。
ユーザーharryは、/ var / tmp / fstabの書き込みも読み取りもできません。
他のすべてのユーザー(現在または将来)は/ 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]

 

質問 42
論理ボリュームのサイズを調整します。
vo論理ボリュームのサイズを調整します。ファイルシステムのサイズは290Mです。このシステムのコンテンツが完全であることを確認してください。
注:パーティションのサイズが必要なサイズと同じサイズになることはめったにないため、270Mから320Mの範囲で問題ありません。

正解:

解説:
see explanation below.
Explanation
Addition
df -hT
lvextend -L +100M /dev/vg0/vo
Lvscan
xfs_growfs /home/ //home is the mounted directory of the LVM, this step just need to do in the practice environment, and test EXT4 does not need this step.
resize2fs /dev/vg0/vo// use this command to update in examination.
df -hT
OR
Subtraction
e2fsck -f/dev/vg0/vo
umount /home
resize2fs /dev/vg0/vo // the final required partition capacity is 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo/home df -hT

 

質問 43
ホストアカウントの確認モードとパスワードをLDAPとして構成します。また、ldapuser40を介して正常にログインできます。パスワードは「パスワード」として設定されます。
また、証明書はhttp://ip/dir/ldap.crtからダウンロードできます。ユーザーがログオンした後、次の質問でautofsを構成しない限り、ユーザーにはホストディレクトリがありません。

正解:

解説:
see explanation below.
Explanation
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

 

質問 44
......

正真正銘のベスト試験材料EX200日本語オンライン練習試験:https://www.goshiken.com/RedHat/EX200-JPN-mondaishu.html