[Q16-Q32] 究極のガイド準備問題EX200日本語には正確なPDF解答[2022年09月13日]

Share

究極のガイド準備問題EX200日本語には正確なPDF解答[2022年09月13日]

合格できるRedHatの試験問題集

質問 16
データグループの所有者にファイル/ディレクトリを作成する人は、自動的にデータと同じグループの所有者になる必要があります。

正解:

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

 

質問 17
パート1(Node1サーバー上)
タスク16 [コンテナの実行]
再起動時にすべてのジャーナルを保存するようにホストジャーナルを構成します
すべてのジャーナルファイルを/ var / log / journal /からコピーし、それらを/ home / shangrila / container-logserverに配置します。/home/shangrila/container-logserverを永続ストレージとして作成し、/ var / log /としてコンテナーにマウントします。コンテナ開始

正解:

解説:
* [shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d5ffe018a53c registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 5 seconds ago Up 4 seconds ago logserver
[shangrila@node1 ~]$ podman stats logserver
Error: stats is not supported in rootless mode without cgroups v2
[shangrila@node1 ~]$ podman stop logserver
d5ffe018a53ca7eb075bf560d1f30822ab6fe51eba58fd1a8f370eda79806496
[shangrila@node1 ~]$ podman rm logserver
Error: no container with name or ID logserver found: no such container
[shangrila@node1 ~]$ mkdir -p container-journal/
* [shangrila@node1 ~]$ sudo systemctl restart systemd-journald
[sudo] password for shangrila:
[shangrila@node1 ~]$ sudo cp -av /var/log/journal/* container-journal/
[shangrila@node1 ~]$ sudo cp -av /var/log/journal/* container-journal/
[shangrila@node1 ~]$ sudo chown -R shangrila container-journal/
[shangrila@node1 ~]$ podman run -d --name logserver -v /home/shangrila/container-journal/:/var/log/journal:Z registry.domain15.example.com:5000/rhel8/rsyslog
[shangrila@node1 ~]$ podman ps
[shangrila@node1 ~]$ loginctl enable-linger
[shangrila@node1 ~]$ loginctl show-user shangrila|grep -i linger
Linger=yes
* [shangrila@node1 ~]$ podman stop logserver
[shangrila@node1 ~]$ podman rm logserver
[shangrila@node1 ~]$ systemctl --user daemon-reload
[shangrila@node1 ~]$ systemctl --user enable --now container-logserver
[shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3903e1d09170 registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 4 seconds ago Up 4 seconds ago logserver
[shangrila@node1 ~]$ systemctl --user stop container-logserver.service
* [shangrila@node1 ~]$ sudo reboot
[shangrila@node1 ~]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7e6cd59c506a registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 10 seconds ago Up 9 seconds ago logserver

 

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

正解:

解説:
useradd -u 3400 iar
passwd iar

 

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

正解:

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

 

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

正解:

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

 

質問 21
起動時に自動的に有効になる2Gスワップパーティションを作成します。元のスワップパーティションには影響しません。

正解:

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

 

質問 22
システムでNTPサービスを構成します。

正解:

解説:
see explanation below.
Explanation
system-config-date &

 

質問 23
zshという名前のパッケージの1つは、/ pub / updatesディレクトリの下のftp://server1.example.comのダンプであり、FTPサーバーは192.168.0.254です。パッケージzshをインストールします。

正解:

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

 

質問 25
ファイル検索。
jackが所有するファイルを見つけ、それらをディレクトリ/ root / findresultsにコピーします

正解:

解説:
see explanation below.
Explanation
mkdir/root/findfiles
find / -user jack -exec cp -a {} /root/findfiles/ \; ls /root/findresults

 

質問 26
一部のユーザーのホームディレクトリは、システムから共有されます。 showmount -e localhostコマンドを使用すると、共有ディレクトリは表示されません。共有ユーザーのホームディレクトリにアクセスします。

正解:

解説:
Verify the File whether Shared or not ? : cat /etc/exports
Start the nfs service: service nfs start
Start the portmap service: service portmap start
Make automatically start the nfs service on next reboot: chkconfig nfs on Make automatically start the portmap service on next reboot: chkconfig portmap on Verify either sharing or not: showmount -e localhost Check that default firewall is running on system?
If running flush the iptables using iptables -F and stop the iptables service.

 

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

正解:

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

 

質問 28
システムには、commonという名前でVGSRVボリュームグループに属するローカル論理ボリュームがあり、/ commonディレクトリにマウントされます。サイズの定義は128 MBです。
要件:
データを失うことなく、論理ボリュームを190 MBに拡張します。サイズは、拡張後に160〜160 MBの間で許可されます。

正解:

解説:
lvextend -L 190M /dev/mapper/vgsrv-common resize2fs /dev/mapper/vgsrv-common

 

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

正解:

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

 

質問 30
ユーザー所有者とグループ所有者のメンバーのみが完全にアクセスできる/ archiveディレクトリに作成します。

正解:

解説:
see explanation below.
Explanation
* chmod 770 /archive
* Verify using : ls -ld /archive Preview should be like:
drwxrwx--- 2 root sysuser 4096 Mar 16 18:08 /archive
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysuser) can fully access the directory so: chmod 770 /archive

 

質問 31
ホスト名、IPアドレス、ゲートウェイ、およびDNSを構成します。
ホスト名:dtop5.dn.ws.com
IPアドレス:172.28.10.5/4
ゲートウェイ:172.28.10.1
DNS:172.28.10.1

正解:

解説:
see explanation below.
Explanation
* Configure Host Name
* vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com
GATEWAY=172.28.10.1
2. Configure IP Address, Gateway and DNS
Configure the network by Network Manager:

Note: Please remember to choose two options:
* Connect automatically
* Available to all users
Click "Apply", save and exit, and restart your network services:
# Service network restart
3. Validate these profiles:
a) Check gateway: # vim / etc / sysconfig / network
NETWORKING=yes
HOSTNAME=dtop5.dn.ws.com
GATEWAY=172.28.10.1
b) Check Host Name: # vim /etc/hosts

c) Check DNS: # vim /etc/resolv.conf
# Generated by NetworkManager
Search dn.ws.com
Nameserver 172.28.10.1
d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0

 

質問 32
......

最新EX200日本語試験問題集で有効で最新の問題集:https://www.jpntest.com/shiken/EX200-JPN-mondaishu

弊社を連絡する

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

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡