PDF無料ダウンロードにはEX200有効な練習テスト問題
EX200テストエンジンお試しセット、EX200問題集PDF
質問 # 62
Configure
a HTTP server, which can be accessed through http://station.domain40.example.com.
Please
download the released page from http://ip/dir/example.html.
正解:
解説:
see explanation below.
Explanation
# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
#
wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>
質問 # 63
Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.
正解:
解説:
cd /usr/local
tar -jcvf /root/backup.tar.bz2*
mkdir /test
tar -jxvf /root/backup.tar.bz2 -C /test/
質問 # 64
Configure the permissions of /var/tmp/fstab
Copy the file /etc/fstab to /var/tmp/fstab. Configure the permissions of /var/tmp/fstab so that:
the file /var/tmp/fstab is owned by the root user.
the file /var/tmp/fstab belongs to the group root.
the file /var/tmp/fstab should not be executable by anyone.
the user natasha is able to read and write /var/tmp/fstab.
the user harry can neither write nor read /var/tmp/fstab.
all other users (current or future) have the ability to read /var/tmp/fstab.
正解:
解説:
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]
質問 # 65
If a Dockerfilereferences the container's base image without a specific version tag, which tag of that image
is used to create the container?
- A. current
- B. default
- C. latest
- D. lts
- E. nightly
正解:C
解説:
Explanation
Explanation/Reference:
Reference https://docs.docker.com/engine/reference/commandline/build/
質問 # 66
The system ldap.example.com provides an LDAP authentication service.
Your system should bind to this service as follows:
The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11 Password: password
正解:
解説:
system-config-authentication LDAP user DN=dc=domain11,dc=example,dc=com Server= host.domain11.example.com Certificate= http://host.domain11.example.com/pub/domain11.crt (enter url carefully, there maybe // or ..) LDAP password OK starting sssd su -ldapuser11 Display Bash prompt #exit
質問 # 67
Adjust Logical Volume Size
Adjust the size of the logical volume "vo" and its filesystem to 300 MiB, ensuring that the filesystem content remains unchanged.
Note: Partition sizes rarely match the requested size exactly, so a range of 290 MiB to 310 MiB is acceptable.
For ext4 filesystems, use resize2fs to take effect immediately; for xfs filesystems, use xfs_growfs to take effect immediately.
正解:
解説:
# Scan logical volumes
[root@node2 ~]# lvscan
# Extend the logical volume. With -rL, the filesystem space is adjusted immediately after extending the volume.
[root@node2 ~]# lvextend -rL 300M /dev/myvol/vo
# Check the changes
[root@node2 ~]# lsblk
[root@node2 ~]# lvs
# Verification
[root@node2 ~]# df -h
質問 # 68
Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.
正解:
解説:
nameserver is specified in question,
1. Vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com
質問 # 69
SIMULATION
Configure the NTP service in your system.
正解:
解説:
See explanation below.
Explanation/Reference:
Explanation: system-config-date &
質問 # 70
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)
正解:
解説:
Answer see in the explanation.
Explanation/Reference:
# vgdisplay
(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend)
# lvdisplay (Check lv)
# lvextend -L +110M /dev/vg2/lv2
# resize2fs /dev/vg2/lv2
mount -a
(Verify)
------------------------------------------------------------------------------- (Decrease lvm)
# umount /media
# fsck -f /dev/vg2/lv2
# resize2fs -f /dev/vg2/lv2 100M
# lvreduce -L 100M /dev/vg2/lv2
# mount -a
# lvdisplay (Verify)
OR
# e2fsck -f /dev/vg1/lvm02
# resize2fs -f /dev/vg1/lvm02
# mount /dev/vg1/lvm01 /mnt
# lvreduce -L 1G -n /dev/vg1/lvm02
# lvdisplay (Verify)
質問 # 71
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.
正解:
解説:
Answer see in the explanation.
Explanation/Reference:
# 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
質問 # 72
Open kmcrl value of 5 , and can verify in /proc/ cmdline
正解:
解説:
# vim /boot/grub/grub.conf
kernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet kmcrl=5 Restart to take effect and verification:
# cat /proc/cmdline
ro root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5
質問 # 73
Configure your Host Name, IP Address, Gateway and DNS.
Host name: dtop5.dn.ws.com
IP Address: 172.28.10.5/4
Gateway: 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
質問 # 74
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.
正解:
解説:
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
質問 # 75
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.
正解:
解説:
see explanation below.
Explanation
* vi /etc/sysconfing/network NETWORKING=yes HOSTNAME=station?.example.com GATEWAY=192.168.0.254 service network restart
2.vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=X.X.X.X
NETMASK=X.X.X.X
GATEWAY=192.168.0.254
ifdown eth0
ifup eth0
質問 # 76
Create User Account.
Create the following user, group and group membership:
Adminuser group
User natasha, using adminuser as a sub group
User Harry, also using adminuser as a sub group
User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natasha,harry,sarah password is redhat.
正解:
解説:
groupadd adminuser
useradd natasha -G adminuser
useradd haryy -G adminuser
useradd sarah -s /sbin/nologin
Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.
質問 # 77
......
あなたを合格させるRHCSA EX200試験問題集で2025年02月24日には157問あります:https://jp.fast2test.com/EX200-premium-file.html
最新のRedHat EX200PDFと問題集で(2025)無料試験問題解答:https://drive.google.com/open?id=1TIAvOrH6SnmRgvfoaq842PKbXSCHaH2G