[2023年11月20日] 最速準備で試験合格!EX200問題の事前予備 [Q45-Q63]

Share

[2023年11月20日] 最速準備で試験合格!EX200問題の事前予備

EX200のPDF問題集リアル2023最近更新された問題


Red Hat認証プログラムは、その厳密なテスト基準と認証に対する実用的なアプローチについて、業界で広く認識されています。 RHCSA認定試験は例外ではなく、実際の環境でLinuxシステムを管理する候補者の能力をテストするように設計されています。 EX200試験に合格するには、Linux管理とタスクを迅速かつ効率的に実行する能力を確実に理解する必要があります。


Red Hat EX200認定試験は、候補者がRHELシステムで複雑な管理タスクを実行する能力を実証する必要がある挑戦的な試験です。この試験は、理論的概念を記憶する能力ではなく、候補者の実践的なスキルと知識をテストするように設計されています。成功した候補者は、雇用主によって高く評価されている生産環境でRHELシステムを管理および管理する能力を実証することができます。


Red Hat Certified System Administrator(RHCSA)試験は、ITプロフェッショナルがRed Hat Enterprise Linuxシステムを管理および構成する能力を測定するパフォーマンスベースの認定試験です。この認定は、Linuxシステムで作業し、キャリアの見通しを向上させたいITプロフェッショナルにとって重要な資格です。この試験は、幅広いトピックをカバーし、候補者の実際のタスクをシミュレートした環境での実行能力をテストするように設計されています。RHCSAの認定は、候補者がRed Hat Enterprise Linuxシステムを効果的に管理および構成するために必要な知識とスキルを持っていることを示します。

 

質問 # 45
What does the command packer validate template.jsondo?

  • A. The command verifies that images generated previously by template.jsonstill use the most recent
    source images.
  • B. The command verifies that the latest build of the template can be run without downloading additional
    images or artifacts.
  • C. The command verifies that all source images referenced in template.jsonare available and have valid
    cryptographic signatures.
  • D. The command verifies that all existing artifacts generated by template.jsonhave their original
    checksums.
  • E. The command verifies that the file template.jsonis a syntactically correct and complete Packer
    template.

正解:E

解説:
Explanation/Reference:
Reference https://www.packer.io/docs/commands/validate.html


質問 # 46
CORRECT TEXT
Create a volume group,and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.

正解:

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


質問 # 47
Which of the following mechanisms are used for service discovery in a container environment? (Choose two
correct answers.)

  • A. The container platform sets environment variables containing service information within the containers.
  • B. The container platforms maintains DNS records which point to containers offering a specific service.
  • C. The container platform offers a command like docker service discoverwhich should be run within a
    container.
  • D. The container platform lists localhost ports assigned to containers in each container's /etc/servicesfile.
  • E. The container platform mounts the sockets for all available services into the container's file systems.

正解:A、B


質問 # 48
SIMULATION
The firewall must be open.

正解:

解説:
See explanation below.
Explanation/Reference:
Explanation: /etc/init.d/iptables start
iptables -F
iptables -X
iptables -Z
/etc/init.d/iptables save
chkconfig iptables on


質問 # 49
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user:
tom's login shell should be non-interactive.

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd
(Show the login shell)
OR
# system-config-users


質問 # 50
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.

正解:

解説:
1. Use fdisk /dev/hda-> To create new partition.
2. Type n ->For New partitions
3. It will ask for Logical or Primary Partitions. Press l for logical.
4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Keys
5. Type the size: +100M you can specify either Last cylinder of size here.
6. Press P to verify the partitions lists and remember the partitions name.
7. Press w to write on partitions table.
8. Either Reboot or use partprobe command.
9. Use mkfs -t ext3 /dev/hda?
OR
1. mke2fs -j /dev/hda? ->To create ext3 filesystem.
2. vi /etc/fstab
3. Write:
/dev/hda? /data ext3 defaults 0 0
4. Verify by mounting on current sessions also:
mount /dev/hda? /data


質問 # 51
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.

正解:

解説:
grep seismic /usr/share/dict/words> /root/wordlist


質問 # 52
Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
# fdisk /dev/vda
n
+512M
w
# partprobe /dev/vda
# mkfs -t ext4 /dev/vda5
# mkdir -p /data
# vim /etc/fstab
/dev/vda5 /data ext4 defaults 0 0
# mount -a


質問 # 53
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
The owner of this document must be root.
This document belongs to root group.
User mary have read and write permissions for this document.
User alice have read and execute permissions for this document.
Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
All users has read permission for this document in the system.

正解:

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


質問 # 54
CORRECT TEXT
Configure the verification mode of your host account and the password as LDAP. And it can ldapuser40. The password is set as "password". And the certificate login successfully through
can be downloaded from http://ip/dir/ldap.crt. After the user logs on , the user has no host directory unless you configure the autofs in the following questions.

正解:

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


質問 # 55
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

正解:

解説:
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat


質問 # 56
Configure a task: plan to run echo hello command at 14:23 every day.

正解:

解説:
see explanation below.
Explanation
# which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)


質問 # 57
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40 GATEWAY=172.24.40.1
DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim /etc/ sysconfig/network
(Configure Host Name)


質問 # 58
Create a logical volume
Create a new logical volume as required:
Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE.
Expansion size of each volume in volume group datastore is 16MB.
Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database

正解:

解説:
see explanation below.
Explanation
fdisk -cu /dev/vda// Create a 1G partition, modified when needed
partx -a /dev/vda
pvcreate /dev/vdax
vgcreate datastore /dev/vdax -s 16M
lvcreate- l 50 -n database datastore
mkfs.ext3 /dev/datastore/database
mkdir /mnt/database
mount /dev/datastore/database /mnt/database/ df -Th
vi /etc/fstab
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount -a
Restart and check all the questions requirements.


質問 # 59
SELinux must be running in the Enforcing mode.

正解:

解説:
getenforce // Check the current mode of SELinux // SELinux runs in enforcing mode // Check getenforce 1 getenforce vim /etc/selinux/config selinux=enforcing // To temporarily enable SELinux wg sestatus


質問 # 60
Add user: user1, set uid=601
Password: redhat
The user's login shell should be non-interactive.

正解:

解説:
Answer see in the explanation.
Explanation/Reference:
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat


質問 # 61
Create a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under /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)


質問 # 62
Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).

正解:

解説:
if=/dev/zero of=/swapfile bs=1M count=600 mkswap /swapfile
/etc/fstab:
/swapfile swap swap defaults 0 0 mount -a


質問 # 63
......

EX200問題集と練習テスト(136試験問題):https://www.goshiken.com/RedHat/EX200-mondaishu.html

リリースRedHat EX200更新された問題PDF:https://drive.google.com/open?id=10gtv8b3eAIGSyuf9oJsneiveAlqrL0xf