[2022年04月]更新のRedHat EX200日本語問題集合格率を上げるならEX200日本語試験問題集
あなたのゴールを成し遂げるための問題集!あなたのRed Hat Certified System Administrator - RHCSA (EX200日本語版)の試験準備を合格するために実際のRedHat EX200日本語問題集をおすすめします
質問 38
ボリュームグループを作成し、サイズを500Mに設定します。単一PEのサイズは16Mです。このボリュームグループにlv0という名前の論理ボリュームを作成し、サイズを20 PEに設定し、ext3ファイルシステムとして作成し、データの下に自動的にマウントします。
正解:
解説:
see explanation below.
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
外部検証サーバーへのバインド。
システムserver.domain11.example.comはLDAP検証サービスを提供します。システムは必要に応じてこのサービスにバインドする必要があります。
検証サービスのベースDNはdc = example、dc = comです
LDAP
アカウント情報と検証情報を提供するために使用されます。
暗号化するhttp://server.domain11.example.com/pub/EXAMPLE-CA-CERT
正しい構成の後、ldapuser1はシステムにログインできます。autofsの質問を完了するまで、HOMEディレクトリはありません。ldapuser1のパスワードはpasswordです。
正解:
解説:
see explanation below.
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
質問 40
システムに754MBのスワップパーティションを追加します。
スワップパーティションは、システムの起動時に自動的にマウントされます。
システム上の既存のスワップパーティションを削除したり、変更したりしないでください。
正解:
解説:
fdisk -l
fdisk -cu /dev/vda
p n
e or p select e
default (first): enter
default (last): enter n
default(first): enter
default(first): +754M t (1-5)
l: 82 p
w #reboot
#mkswap /dev/vda5
vim /etc/fstab
/dev/vda5 swap swap defaults 0 0
wq
mount -a
swapon -a
swapon -s
質問 41
タスクを構成します。毎日14:23にecho helloコマンドを実行するように計画します。
正解:
解説:
# which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)
質問 42
論理ボリューム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
質問 43
データグループの所有者にファイル/ディレクトリを作成する人は、自動的にデータと同じグループの所有者になる必要があります。
正解:
解説:
1. chmod g+s /data
2. Verify using: ls -ld /data
Permission should be like this: drwxrws--- 2 root sysadmin 4096 Mar 16 18:08 /data 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
質問 44
次の要件に従って、autofsサービスを設定し、ldapドメインのユーザーのホームディレクトリに自動的にマウントします。
-Instructor.example.com(192.168.0.254)は、NFSエクスポート経由でシステムに/ home / guests / ldapuserXホームディレクトリを共有しています。Xはホスト名番号です。
-LdapuserXのホームディレクトリは、instructor.example.comに存在します:/ home / guests / ldapuserX
-LdapuserXのホームディレクトリは、システムの/ home / guests / ldapuserXに自動的にマウントできる必要があります。
-ホームディレクトリには、対応するユーザーの書き込み権限があります。
ただし、検証後にldapuser1-ldapuser99ユーザーにログオンできます。ただし、対応するldapuserユーザーのみを取得できます。システムのホスト名がserver1.example.comである場合、ldapuser1のホームディレクトリのみを取得できます。
正解:
解説:
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/&
質問 45
3400のユーザーIDでユーザーalexを作成します。このユーザーのパスワードはredhatである必要があります。
正解:
解説:
useradd -u 3400 alex
passwd alex
su -alex
質問 46
あなたはシステム管理者です。システムの監視が非常に簡単なログファイルの使用。現在、メール、Web、プロキシ、DNSサービスなどとして実行されている50のサーバーがあります。すべてのサーバーからのログをLOGサーバーに集中化する必要があります。リモートホストからのログを受け入れるようにLOGサーバーをどのように構成しますか?
正解:
解説:
By default, system accept the logs only generated from local host. To accept the Log from other host configure:
vi /etc/sysconfig/syslog SYSLOGD_OPTIONS="-m 0 -r"
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages received with -r
service syslog restart
質問 47
パート1(Node1サーバー上)
タスク10 [NTP /時刻同期の構成]
Utility.domain15.example.comのNTPクライアントになるようにシステムを構成します。システム時刻を自分の(または自分に最も近い)タイムゾーンに設定し、NTP同期が構成されていることを確認する必要があります。
正解:
解説:
* [root@node1 ~]# yum install chrony
[root@node1 ~]# vim /etc/chrony.conf
pool utility.domain15.example.com iburst
[root@node1 ~]# systemctl enable chronyd
[root@node1 ~]# systemctl restart chronyd
[root@node1 ~]# systemctl status chronyd
[root@node1 ~]# tzselect
Please identify a location so that time zone rules can be set correctly.
Please select a continent, ocean, "coord", or "TZ".
1) Africa
2) Americas
3) Antarctica
4) Asia
11) TZ - I want to specify the time zone using the Posix TZ format.
#? 4
* Please select a country whose clocks agree with yours.
1) Afghanistan 18) Israel 35) Palestine
2) Armenia 19) Japan 36) Philippines
3) Azerbaijan 20) Jordan 37) Qatar
4) Bahrain 21) Kazakhstan 38) Russia
5) Bangladesh 22) Korea (North) 39) Saudi Arabia
#? 5
The following information has been given:
Bangladesh
Therefore TZ='Asia/Dhaka' will be used.
Is the above information OK?
1) Yes
2) No
#? 1
Asia/Dhaka
[root@node1 ~]# chronyc sources -v
^? utility.domain15.example> 0 7 0 - +0ns[ +0ns] +/- 0ns
質問 48
ユーザー所有者とグループ所有者のメンバーのみが完全にアクセスできるデータを作成します。
正解:
解説:
see explanation below.
Explanation
* chmod 770 /data
* Verify using : ls -ld /data Preview should be like:
drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
To change the permission on directory we use the chmod command.
According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data
質問 49
パート1(Node1サーバー上)
タスク2 [ソフトウェアパッケージのインストールと更新]
この場所をデフォルトのリポジトリとして使用するようにシステムを構成します。
http://utility.domain15.example.com/BaseOS
http://utility.domain15.example.com/AppStream
また、この場所を使用するようにGPGキーを構成します
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
[root@node1 ~]# yum list all
質問 50
ユーザー認証は、192.168.0.254のLDAPドメインによって提供されています。 ldapuserを取得するには、次の要件に従ってください。
-LdapuserXはシステムにログインできる必要があります。Xはホスト名番号です。ただし、autofsサーバーによって自動的にマウントされるまで、ldapuserのホームディレクトリはマウントできません。
-すべてのldapユーザーのパスワードは「password」です。
正解:
解説:
see explanation below.
Explanation
system-config-authentication &
質問 51
/ etc / fstabドキュメントを/ var / TMPディレクトリにコピーします。このドキュメントの許可を設定するには、次の要件に従ってください。
*このドキュメントの所有者はルートである必要があります。
*このドキュメントはルートグループに属します。
*ユーザーmaryには、このドキュメントの読み取りおよび書き込み権限があります。
*ユーザーaliceには、このドキュメントの読み取りおよび実行権限があります。
* bobという名前のユーザーを作成し、uidを1000に設定します。ボブには、このドキュメントの読み取りおよび書き込み権限があります。
*すべてのユーザーは、システム内でこのドキュメントの読み取り権限を持っています。
正解:
解説:
see explanation below.
Explanation
cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl -m u:mary:rw /var/tmp/fstab
setfacl -m u:alice:rx /var/tmp/fstab
useradd -u 1000 bob
質問 52
スワップパーティションを追加します。
システムに500Mのスワップパーティションを追加すると、システムの起動時にこのスワップパーティションが自動的にマウントされます。システム上の既存のスワップパーティションを削除および変更しないでください。
正解:
解説:
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
質問 53
構成、設定
Webサービスは、http://instructor.example.com/pub/serverX.htmlからダウンロードします。また、システムの再起動後もサービスが実行されている必要があります。
正解:
解説:
cd /var/www/html
wget http://instructor.example.com/pub/serverX.html mv serverX.html index.html /etc/init.d/httpd restart chkconfig httpd on
質問 54
ファイル/ etc / testfileからabcdeを含む行を見つけて、ファイル/ tmp / testfileに書き込みます。シーケンスは/ etc / testfileと同じように要求されます。
正解:
解説:
see explanation below.
Explanation
# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile
質問 55
パート1(Node1サーバー上)
タスク4 [ファイルへのアクセスの制御]
次の特性を持つコラボレーションディレクトリ/ mnt / sharesを作成します。
/ mnt / sharesのグループ所有権はsharegrpである必要があります。
ディレクトリは、sharegrpのメンバーが読み取り、書き込み、アクセスできる必要がありますが、他のユーザーはアクセスできません。 (rootはシステム上のすべてのファイルとディレクトリにアクセスできると理解されています)/ mnt / sharesに作成されたファイルは、自動的にグループ所有権がsharegrpグループに設定されます。
正解:
解説:
* [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
質問 56
システムは192.168.0.0/24ネットワークで構成され、ネームサーバーは192.168.0.254です。 server1.example.comに正常に解決します。
正解:
解説:
see explanation below.
Explanation
nameserver is specified in question,
1. Vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com
質問 57
ホストアカウントの確認モードとパスワードをLDAPとして構成します。また、ldapuser40を介して正常にログインできます。パスワードは「パスワード」として設定されます。
また、証明書はhttp://ip/dir/ldap.crtからダウンロードできます。ユーザーがログオンした後、次の質問でautofsを構成しない限り、ユーザーにはホストディレクトリがありません。
正解:
解説:
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
質問 58
ボリュームグループを作成し、拡張として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)
質問 59
ファイル/ 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
質問 60
ユーザー認証は、192.168.0.254のLDAPドメインによって提供されています。 ldapuserを取得するには、次の要件に従ってください。
-LdapuserXはシステムにログインできる必要があります。Xはホスト名番号です。ただし、autofsサーバーによって自動的にマウントされるまで、ldapuserのホームディレクトリはマウントできません。
-すべてのldapユーザーのパスワードは「password」です。
正解:
解説:
system-config-authentication &
質問 61
パート1(Node1サーバー上)
タスク11 [将来のタスクのスケジュール]
ユーザーnatashaは、現地時間の14:23に毎日実行されるcronジョブを構成する必要があります。また、同じcronジョブが2分ごとに実行され、次のように実行されます。
/ bin / echo hello
正解:
解説:
* [root@node1 ~]# crontab -l -u natasha
no crontab for natasha
[root@node1 ~]# crontab -e -u natasha
23 14 * * * /bin/echo hello
*/2 * * * * /bin/echo 2min
crontab: installing new crontab
[root@node1 ~]# crontab -l -u natasha
23 14 * * * /bin/echo hello
*/2 * * * * /bin/echo 2min
[root@node1 ~]# systemctl status crond.service
* ### For Checking ###
[root@node1 ~]# tail -f /var/log/cron
Mar 23 13:23:48 node1 crontab[10636]: (root) REPLACE (natasha)
Mar 23 13:23:48 node1 crontab[10636]: (root) END EDIT (natasha)
Mar 23 13:23:50 node1 crontab[10638]: (root) LIST (natasha)
Mar 23 13:24:01 node1 crond[1349]: (root) FAILED (loading cron table)
Mar 23 13:24:02 node1 CROND[10673]: (natasha) CMD (/bin/echo 2min)
質問 62
次の要件に従って、autofsサービスを設定し、ldapドメインのユーザーのホームディレクトリに自動的にマウントします。
-Instructor.example.com(192.168.0.254)は、NFSエクスポート経由でシステムに/ home / guests / ldapuserXホームディレクトリを共有しています。Xはホスト名番号です。
-LdapuserXのホームディレクトリは、instructor.example.comに存在します:/ home / guests / ldapuserX
-LdapuserXのホームディレクトリは、システムの/ home / guests / ldapuserXに自動的にマウントできる必要があります。
-ホームディレクトリには、対応するユーザーの書き込み権限があります。
ただし、検証後にldapuser1-ldapuser99ユーザーにログオンできます。ただし、対応するldapuserユーザーのみを取得できます。システムのホスト名がserver1.example.comである場合、ldapuser1のホームディレクトリのみを取得できます。
正解:
解説:
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/&
質問 63
......
正確でかつ完璧 アンサーはまるでリアル試験問題:https://www.passtest.jp/RedHat/EX200-JPN-shiken.html